Skip to content

TST: Add regression coverage for OPM topomap grouping via plot_joint() and ICA#13842

Merged
larsoner merged 6 commits intomne-tools:mainfrom
PragnyaKhandelwal:enh-opm-grouping-followup
Apr 16, 2026
Merged

TST: Add regression coverage for OPM topomap grouping via plot_joint() and ICA#13842
larsoner merged 6 commits intomne-tools:mainfrom
PragnyaKhandelwal:enh-opm-grouping-followup

Conversation

@PragnyaKhandelwal
Copy link
Copy Markdown
Contributor

Reference issue (if any)

Related to #13781 (OPM topomap handling)
Follows merged PR #13825

What does this implement/fix?

Follow-up to merged PR #13825 (which broadened OPM coil detection).
This PR adds regression test coverage for the topomap overlap handling
when used via other plotting callers (plot_joint, plot_components).

Additional information

added helper + test methods in test_topo.py and test_ica.py

Part of incremental OPM topomap grouping effort

@PragnyaKhandelwal PragnyaKhandelwal changed the title TST: Add regression coverage for OPM topomap grouping via plot_joint() and ICA TST: Add regression coverage for OPM topomap grouping via plot_joint() and ICA Apr 14, 2026
…) and ICA

- Add synthetic triaxial OPM helper to test_topo.py
- Add test_plot_joint_opm_triaxial() regression test
- Add synthetic triaxial OPM helper to test_ica.py
- Add test_plot_components_opm_triaxial() regression test
- Verify topomap overlap detection works through multiple callers

Related to mne-tools#13781 (OPM topomap handling)
@PragnyaKhandelwal PragnyaKhandelwal force-pushed the enh-opm-grouping-followup branch from 009e30a to 81c7827 Compare April 14, 2026 18:07
@PragnyaKhandelwal PragnyaKhandelwal marked this pull request as ready for review April 15, 2026 00:02
@PragnyaKhandelwal
Copy link
Copy Markdown
Contributor Author

Ready to review!

Comment thread mne/viz/tests/test_ica.py Outdated
Comment thread mne/viz/tests/test_ica.py Outdated
Comment thread mne/viz/tests/test_ica.py Outdated
Comment thread mne/viz/tests/test_topo.py Outdated
@PragnyaKhandelwal PragnyaKhandelwal marked this pull request as draft April 15, 2026 18:07
@PragnyaKhandelwal
Copy link
Copy Markdown
Contributor Author

Applied your suggestions......Thanks for pointing out the fixture pattern!

@PragnyaKhandelwal PragnyaKhandelwal marked this pull request as ready for review April 16, 2026 01:52
@PragnyaKhandelwal
Copy link
Copy Markdown
Contributor Author

The failed CI check looks transient/download-related, not caused by this PR.

@larsoner larsoner enabled auto-merge (squash) April 16, 2026 13:31
@larsoner
Copy link
Copy Markdown
Member

Restarted failed CI and marking for merge-when-green, thanks in advance @PragnyaKhandelwal !

@larsoner larsoner merged commit bd1dc9c into mne-tools:main Apr 16, 2026
32 checks passed
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.

2 participants