Skip to content

Make _combine_annotations also merge extras#14084

Merged
larsoner merged 3 commits into
mne-tools:mainfrom
wmvanvliet:fix-combine-annotations
Jul 21, 2026
Merged

Make _combine_annotations also merge extras#14084
larsoner merged 3 commits into
mne-tools:mainfrom
wmvanvliet:fix-combine-annotations

Conversation

@wmvanvliet

@wmvanvliet wmvanvliet commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #14022. Closes #14028 (superseeds).

When merging annotations, for example when concatenating raws, the existing implementation misses the extras field, so that is silently dropped instead of merged. This PR fixes that.

@larsoner larsoner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @wmvanvliet !

@larsoner
larsoner merged commit a2b236f into mne-tools:main Jul 21, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concatenated raws lose combined annotations extras lists.

2 participants