Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix bug with anonymization #12967

Merged
merged 2 commits into from
Nov 14, 2024
Merged

BUG: Fix bug with anonymization #12967

merged 2 commits into from
Nov 14, 2024

Conversation

larsoner
Copy link
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
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
28 checks passed
@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