Skip to content

BUG: Fix bug with anonymization#12967

Merged
larsoner merged 2 commits intomne-tools:mainfrom
larsoner:anon
Nov 14, 2024
Merged

BUG: Fix bug with anonymization#12967
larsoner merged 2 commits intomne-tools:mainfrom
larsoner:anon

Conversation

@larsoner
Copy link
Copy Markdown
Member

Closes #12963

Within-cycle fix so no need for changelog entry.

Our anonymization tests were a bit lacking so changes ended up being a bit bigger than I expected.

@larsoner larsoner added this to the 1.9 milestone Nov 14, 2024
Copy link
Copy Markdown
Member

@drammock drammock left a comment

Choose a reason for hiding this comment

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

looks reasonable! Seems like you missed a needs-testing-data decorator somewhere:

 =========================== short test summary info ============================
FAILED mne/io/fiff/tests/test_raw_fiff.py::test_fif_files[fname0] - FileNotFoundError: fname does not exist: "/home/runner/work/mne-python/mne-python/SSS/test_move_anon_raw.fif"
FAILED mne/io/fiff/tests/test_raw_fiff.py::test_fif_files[fname1] - FileNotFoundError: fname does not exist: "/home/runner/work/mne-python/mne-python/SSS/TRIUX/triux_bmlhus_erm_raw.fif"
= 2 failed, 2224 passed, 1385 skipped, 60 deselected, 8 xfailed in 750.10s (0:12:30) =

@larsoner larsoner enabled auto-merge (squash) November 14, 2024 21:13
@larsoner larsoner merged commit d810cc5 into mne-tools:main Nov 14, 2024
@larsoner larsoner deleted the anon branch November 14, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when anonymizing via meas_info.anonymize()

2 participants