Repository navigation
[MRG] anonymize sex and hand when keep_his is false - #9103
Conversation
sappelhoff
left a comment
There was a problem hiding this comment.
lgtm and I think it's a good idea to drop all HIS info if "keep_his" is False.
I didn't look into the circle issue, assuming that it's fixed in main.
|
I've pushed a commit that merges the current before making more local changes |
|
@Falach you have a circleci issue:
The problem is that sphinx doesn't know about your name yet. Could you please add it to this file (roughly alphabetically)? mne-python/doc/changes/names.inc Line 139 in 5f0beb9 And if this is your first entry in the changelog, please also add a mapping of your name like here: mne-python/doc/changes/latest.inc Lines 17 to 40 in 5f0beb9 |
Co-authored-by: Stefan Appelhoff <[email protected]>
I swear I did it and it failed again! :( |
Co-authored-by: Alexandre Gramfort <[email protected]>
|
@Falach it fails because you have not yet implemented the changes I describe here: #9103 (comment) |
|
I think this will still fail, because our changelog is actually quite complicated (sorry). You will need to add yourself to |
|
@Falach you can look at the commits ebf1dc4 and 0429750 that I just made on your branch. this is what I tried to express with my comment #9103 (comment) - sorry if that didn't come across. Dan is right, our changelog is slightly complicated :-) EDIT: Also +1 to Dan's comment regarding help if your local branch and the remote branch (this PR) are out of sync --> let us know if you need help with re-syncing! |
sappelhoff
left a comment
There was a problem hiding this comment.
LGTM, I found a tiny issue in latest.inc that I am going to fix here with a suggestion.
I think we can merge afterwards.
|
thx @Falach |
mne-toolsGH-9103 improved anonymization when `keep_his=False`; however, it would break I/O roundtrips because handedness and sex would be set to values that aren't supported by the FIFF specs.
mne-toolsGH-9103 improved anonymization when `keep_his=False`; however, it would break I/O roundtrips because handedness and sex would be set to values that aren't supported by the FIFF specs.
mne-toolsGH-9103 improved anonymization when `keep_his=False`; however, it would break I/O roundtrips because handedness and sex would be set to values that aren't supported by the FIFF specs.
mne-toolsGH-9103 improved anonymization when `keep_his=False`; however, it would break I/O roundtrips because handedness and sex would be set to values that aren't supported by the FIFF specs.
GH-9103 improved anonymization when `keep_his=False`; however, it would break I/O roundtrips because handedness and sex would be set to values that aren't supported by the FIFF specs.
Reference issue
Fixes #8130
What does this implement/fix?
when keep_his = false it's also anonymize hand and sex
Additional information
I updated the relevant tests as well