You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add collapse_comments option and extract includedActivities fields in ecospold2 extractor
- New `collapse_comments` kwarg (default True) on `extract()` and `extract_activity()`;
when False, `comment` is a dict keyed by source field instead of a flat string
- Always extract `included_activities_start` and `included_activities_end` as top-level
dataset fields from activityDescription/activity
- Fix pre-existing double-space in collapsed comment separator (": " not ": ")
- Update existing tests for new fields and corrected spacing; add test for dict mode
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities start: Includes start stuff\nIncluded activities end: Includes end stuff\nTechnology: typical technology for ze Germans!",
21
+
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities start: Includes start stuff\nIncluded activities end: Includes end stuff\nTechnology: typical technology for ze Germans!",
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities end: Includes some stuff\nTechnology: typical technology for ze Germans!",
162
+
"comment": "Things and stuff and whatnot\na Kikki comment\nIncluded activities end: Includes some stuff\nTechnology: typical technology for ze Germans!",
0 commit comments