Skip to content

Strengthen MNE conversion tests for EEG and ICA invariants - #187

Closed
claude[bot] wants to merge 1 commit into
developfrom
agent/20260610-fix-183
Closed

claude[bot] wants to merge 1 commit into
developfrom
agent/20260610-fix-183

Conversation

@claude

@claude claude Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Tests now assert EEGPrep channel-major data, EEGLAB-shaped ICA fields with forward/inverse reconstruction, no stdout, and no temp leaks, and stop swallowing AssertionError via skipTest. Failing strict assertions are marked xfail(strict=True) pending the converter fixes in #178 and #181 so XPASS will force marker removal once those land. Drops the spurious EEGPREP_SKIP_MATLAB gate; the tests are MNE-only.

Fixes #183

Tests now assert EEGPrep channel-major data, EEGLAB-shaped ICA fields
with forward/inverse reconstruction algebra, no stdout from the
converter, and no temp file leaks. The failing assertions are
xfail(strict=True) pending the #178 and #181 fixes; the broad
try/except -> skipTest pattern that hid them is removed.

The module-level EEGPREP_SKIP_MATLAB gate is dropped from
test_eeg_mne2eeg_epochs.py and test_eeg_eeg2mne.py and they are no
longer auto-marked matlab in tests/conftest.py.

Fixes #183
@suraj-ranganath

Copy link
Copy Markdown
Member

🤖 Closing as redundant. I folded the useful marker cleanup into PR #177; the stricter invariant tests are already covered there without xfail markers.

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.

Strengthen MNE conversion tests for EEG and ICA invariants

1 participant