Skip to content

MRG, FIX: Brain add/remove labels#8820

Merged
larsoner merged 4 commits intomne-tools:mainfrom
GuillaumeFavelier:fix/remove_labels
Feb 1, 2021
Merged

MRG, FIX: Brain add/remove labels#8820
larsoner merged 4 commits intomne-tools:mainfrom
GuillaumeFavelier:fix/remove_labels

Conversation

@GuillaumeFavelier
Copy link
Copy Markdown
Contributor

This PR fixes the bug in remove_labels() preventing it to have any effect. I also updated the tests to avoid regression.

Closes #8815

@GuillaumeFavelier GuillaumeFavelier self-assigned this Feb 1, 2021
@GuillaumeFavelier
Copy link
Copy Markdown
Contributor Author

This is better I think @jasmainak

image

@GuillaumeFavelier
Copy link
Copy Markdown
Contributor Author

I added some commits to fix color and unnamed labels and improve tests.

@GuillaumeFavelier GuillaumeFavelier changed the title FIX: remove_labels MRG, FIX: Brain add/remove labels Feb 1, 2021
@GuillaumeFavelier GuillaumeFavelier mentioned this pull request Feb 1, 2021
86 tasks
Copy link
Copy Markdown
Member

@jasmainak jasmainak left a comment

Choose a reason for hiding this comment

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

Perfect, thanks for the fix!

@larsoner larsoner merged commit 9458a30 into mne-tools:main Feb 1, 2021
@larsoner
Copy link
Copy Markdown
Member

larsoner commented Feb 1, 2021

Thanks @GuillaumeFavelier !

@GuillaumeFavelier GuillaumeFavelier deleted the fix/remove_labels branch February 1, 2021 18:15
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.

color argument is not respected in brain.add_label

3 participants