-
Notifications
You must be signed in to change notification settings - Fork 1.4k
DOC: match_channel_orders works on Epochs and Evoked, too #12699
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
Conversation
@larsoner do you think we could get this merged? This is how it looks in rendered state: https://output.circle-artifacts.com/output/job/eb4af659-c944-4ed7-9743-737bc1e36f16/artifacts/0/html/generated/mne.match_channel_orders.html#mne.match_channel_orders |
Do we need a deprecation cycle for the argument name change? |
I think it's very unlikely that users have passed this as a keyword argument. But at the same time it's pretty easy to tack on a |
Thanks for the note and the suggestions. I personally would go ahead without a
With this solution:
I think if the answer to 2. is "remove it eventually", I would be more prone to adding this "safeguard" :-) |
Yes to both!
We would remove it after a single release like we do with all deprecations currently |
ok, I'll add it in this case!
thanks |
the doc build failure seems unrelated:
|
And I have no idea why this test is failing: https://github.com/mne-tools/mne-python/actions/runs/9906155680/job/27367213244?pr=12699#step:17:6028 the DeprecationWarning DOES seem to be raised, but isn't picked up somehow? |
Pushed a tiny commit to make the tests happy, marking for merge-when-green, thanks in advance @sappelhoff ! |
Thanks for the fixes @larsoner :-) |
Thanks @sappelhoff ! |
* upstream/main: (252 commits) Disable the "Back to top" button in the documentation (mne-tools#12688) DOC: match_channel_orders works on Epochs and Evoked, too (mne-tools#12699) Scale points and labels in montage plot (mne-tools#12703) Add license header to mne.stats.erp (mne-tools#12712) Update license year to 2024 (mne-tools#12713) Add standardized measurement error (SME) (mne-tools#12707) ENH: Parallel example execution in doc build (mne-tools#12708) MAINT: Update PR template (mne-tools#12692) MAINT: Fix doc build (mne-tools#12706) [pre-commit.ci] pre-commit autoupdate (mne-tools#12702) Improve documentation of ylim argument through Evoked plotting function (mne-tools#12697) [pre-commit.ci] pre-commit autoupdate (mne-tools#12696) BUG: Fix bug with CSP rank="full" (mne-tools#12694) MRG: Add epochs metadata summary to HTML representation (mne-tools#12686) Correct `Epochs.apply_function` docstring (mne-tools#12691) FIX: Gracefully handle missing datetime in Eyelink File (mne-tools#12687) MAINT: Restore SciPy pre (mne-tools#12689) Enh single channel annotation (mne-tools#12669) [pre-commit.ci] pre-commit autoupdate (mne-tools#12682) Bump autofix-ci/action from 1.2 to 1.3 in the actions group (mne-tools#12681) ...
minor doc contribution. All these classes: Raaw, Epochs, and Evoked work with the "match_channel_orders" function, as it just used the shared
reorder_channels
method under the hood.This PR clarifies that.