-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refactor test_epochs.py::test_split_saving (2 out of 2) #11884
Refactor test_epochs.py::test_split_saving (2 out of 2) #11884
Conversation
[skip ci]
[skip ci]
[skip ci]
We don't need split size or n_files here [skip ci]
f325dd5
to
4764a17
Compare
[skip ci]
38da5c5
to
2559126
Compare
for more information, see https://pre-commit.ci [skip ci]
Recently added check for the number of saved files in test_split_naming, fails on Windows: the amount of splits on Windows differs from expected. Reduce the number of epochs to make this test pass. [skip ci]
Instead of saving epochs to create existing file, use `touch()`; this gives finer control over corner cases. Use parametrization to cover these cases. N.B.: apparently there's a bug. [ci skip]
180d91e
to
cde329b
Compare
Ready for review as soon as the tests pass. |
for more information, see https://pre-commit.ci
[skip ci]
314c742
to
d0bc779
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor gripe which I'll commit, which will also get all CIs to run.
FYI for CircleCI can you try going to the site and logging in with GitHub? It should make it happy to build the docs for you
Head branch was pushed to by a user without write access
Great, thanks!
Looks like it worked. |
Head branch was pushed to by a user without write access
@larsoner looks like |
Thanks @dmalt ! |
* upstream/main: Refactor test_epochs.py::test_split_saving (2 out of 2) (mne-tools#11884) Cross-figure event passing system (mne-tools#11685)
* upstream/main: [pre-commit.ci] pre-commit autoupdate (mne-tools#11911) [BUG, MRG] Remove check on `mne.viz.Brain.add_volume_labels` (mne-tools#11889) Small splits fix (mne-tools#11905) adds niseq package to "Related software" (mne-tools#11909) Minor fixes for ERDS maps example (mne-tools#11904) FIX: Fix pyvista rendering (mne-tools#11896) BUG: Fix epoch splits naming (mne-tools#11876) ENH: Use section-title for HTML anchors in Report (mne-tools#11890) CI: Deploy [circle deploy] MAINT: Clean up whats_new and doc versions (mne-tools#11888) Refactor test_epochs.py::test_split_saving (2 out of 2) (mne-tools#11884) Cross-figure event passing system (mne-tools#11685) MAINT: Post-release deprecations, updates [circle deploy] (mne-tools#11887) MAINT: Release 1.5.0 (mne-tools#11886) [pre-commit.ci] pre-commit autoupdate (mne-tools#11883) Refactor test_epochs.py::test_split_saving (1 out of 2) (mne-tools#11880) FIX: Missing Saccade information in Eyelink File (mne-tools#11877) Improve drawing of annotations with matplotlib (mne-tools#11855) MAINT: Work around NumPy deprecation (mne-tools#11878)
Continuation of #11880
Leg work to fix #11870.