Skip to content

MAINT: Ignore warning in example - #11781

Merged
larsoner merged 23 commits into
mne-tools:mainfrom
larsoner:warning
Jul 8, 2023
Merged

larsoner merged 23 commits into
mne-tools:mainfrom
larsoner:warning

Conversation

Comment thread tools/github_actions_dependencies.sh Resolved
@larsoner
larsoner enabled auto-merge (squash) July 6, 2023 17:19
Comment on lines +464 to +467
# TODO: Clicking the slider creates a *new* image rather than updating
# the data directly. This makes it so that the projection is not applied
# to the correct matplotlib Image object.
# _fake_click(fig1, fig1.axes[1], (0.5, 0.5)) # click slider

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drammock using the pre version appears to have shown a real bug. Not sure why it wasn't caught in non-pre runs...?

In any case I'll merge but we should try to fix this at some point.

@larsoner
larsoner disabled auto-merge July 7, 2023 13:27
@larsoner

larsoner commented Jul 7, 2023

Copy link
Copy Markdown
Member Author

Looks like the slowest tests on pip-pre Linux are:

133.64s call     mne/inverse_sparse/tests/test_mxne_inverse.py::test_mxne_inverse_standard[_pytest_param]
61.41s call     mne/forward/tests/test_make_forward.py::test_make_forward_solution_openmeeg[3]
60.11s call     mne/minimum_norm/tests/test_inverse.py::test_apply_inverse_tfr[True]
59.05s call     mne/tests/test_cov.py::test_cov_estimation_on_raw[shrunk]
57.99s call     mne/minimum_norm/tests/test_inverse.py::test_apply_inverse_tfr[False]
55.67s call     mne/forward/tests/test_make_forward.py::test_make_forward_solution_ctf[testing_data-openmeeg]
52.64s call     mne/tests/test_chpi.py::test_calculate_chpi_coil_locs_artemis
...
582.47s total  mne/minimum_norm/tests/
278.70s total  mne/beamformer/tests/
260.32s total  mne/inverse_sparse/tests/

One common denominator is that they are all linalg-heavy. I'm going to try removing the NUM_THREADS restriction to see if it helps but I'm not too optimistic about it. Might have to change that run to be not slowtest rand than not ultraslowtest...

@larsoner

larsoner commented Jul 7, 2023

Copy link
Copy Markdown
Member Author

... the first few slowest on conda are much faster:

53.39s call     mne/forward/tests/test_make_forward.py::test_make_forward_solution_ctf[testing_data-openmeeg]
51.29s call     mne/forward/tests/test_make_forward.py::test_make_forward_solution_openmeeg[3]
42.47s call     mne/viz/tests/test_3d.py::test_plot_alignment_basic[testing_data-testing_data-pyvistaqt]
40.90s call     mne/tests/test_bem.py::test_io_head_bem
26.86s call     mne/viz/tests/test_3d_mpl.py::test_plot_volume_source_estimates[stat_map-s-1-1-init_p3-want_p3-brain.mgz]
21.08s call     mne/viz/tests/test_3d_mpl.py::test_plot_volume_source_estimates[stat_map-vec-1-1-None-want_p1-None]
19.76s call     mne/tests/test_source_space.py::test_setup_source_space_spacing[2]
19.75s call     mne/report/tests/test_report.py::test_manual_report_2d
17.61s call     mne/viz/tests/test_3d_mpl.py::test_plot_volume_source_estimates[glass_brain-vec-None-1-init_p2-want_p2-None]
17.59s call     mne/viz/tests/test_3d_mpl.py::test_plot_volume_source_estimates[glass_brain-s-None-2-None-want_p0-None]
16.94s call     mne/inverse_sparse/tests/test_mxne_inverse.py::test_mxne_inverse_standard[_pytest_param]
...
154.72s total  mne/forward/tests/
124.27s total  mne/viz/_brain/tests/
119.78s total  mne/minimum_norm/tests/

I'm wondering if there was some OpenBLAS or debugging change when they went to scientific-python-wheels or whatever it's called...

@larsoner
larsoner enabled auto-merge (squash) July 7, 2023 19:06
@larsoner
larsoner disabled auto-merge July 8, 2023 13:56
@larsoner
larsoner merged commit 2a0b111 into mne-tools:main Jul 8, 2023
@larsoner
larsoner deleted the warning branch July 8, 2023 13:56
larsoner added a commit to larsoner/mne-python that referenced this pull request Dec 6, 2024
* upstream/main: (26 commits)
  MAINT: Better fix for deprecation (mne-tools#11789)
  udpate doc for 11786 (mne-tools#11787)
  MAINT: Ignore warning in example (mne-tools#11781)
  Keeping event names when combining channel on epochs objects (mne-tools#11786)
  DOC: Fix incorrect docs for annotate_movement [ci skip] (mne-tools#11779)
  Refresh eegbci code and docstrings (mne-tools#11783)
  DOC: EEG eye-tracking alignment tutorial (mne-tools#11770)
  [MRG] By-pass set_annotations when plotting ICA sources  (mne-tools#11766)
  add missing changelog from 11773 (mne-tools#11777)
  Fix eeglab.py, an error for read annotations in `RawEEGLab` (mne-tools#11773)
  [MRG] Use FIFF.FIFF_UNITM_NONE instead of 0 when adding a reference channel (mne-tools#11774)
  MAINT: Update for linkcheck [circle linkcheck] (mne-tools#11771)
  ENH: Interpolate blinks in eyetrack channels (mne-tools#11740)
  MAINT: Work around joblib bug (mne-tools#11765)
  Update manual install docs (mne-tools#11764)
  add logging message about which EOG channel used for blink detection (mne-tools#11757)
  DOC: Fix docs (mne-tools#11756)
  BUG: Fix bug with SNR calculation (mne-tools#11755)
  BUG: Fix bug with cHPI off (mne-tools#11754)
  Change color from annotation to red if name changes to "bad_" or "edge_" (mne-tools#11753)
  ...
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