WIP: Set time_viewer and show_traces to auto#7380
WIP: Set time_viewer and show_traces to auto#7380drammock merged 26 commits intomne-tools:masterfrom
Conversation
|
To achieve
|
|
can you explain why?
|
|
By default the 3d tests are done with |
Codecov Report
@@ Coverage Diff @@
## master #7380 +/- ##
==========================================
+ Coverage 90.09% 90.10% +0.01%
==========================================
Files 453 453
Lines 82610 82622 +12
Branches 13062 13065 +3
==========================================
+ Hits 74427 74447 +20
+ Misses 5356 5351 -5
+ Partials 2827 2824 -3 |
|
The latest commit is marked as test because the |
|
The mne-python/mne/viz/backends/_pysurfer_mayavi.py Lines 464 to 472 in 499f917 compared to mne-python/mne/viz/backends/_pyvista.py Lines 647 to 661 in 499f917 So I think it's totally safe to add it to the list: Lines 238 to 243 in 499f917 |
|
The tests using Among those, only: are supported by |
|
I forgot to update Circle config yesterday... The issue with pytest-sugar is back |
|
Can we just do |
|
I notice a few warnings of the type: Also, there is an issue with I'll push a fix. |
| opacity=0.5, high_resolution=False) | ||
| if renderer.get_3d_backend() == 'mayavi': | ||
| import mayavi # noqa: F401 analysis:ignore | ||
| assert isinstance(surf, mayavi.modules.surface.Surface) |
There was a problem hiding this comment.
Shouldn't we keep some variant of this? Can you instead change it to renderer_interactive.get_3d_backend()?
There was a problem hiding this comment.
Indeed that was a bit too agressive, I'll add a branch for mayavi
|
I'll try |
|
Merged @GuillaumeFavelier |
|
#7480 was not enough apparently since we got a timeout too, I'm trying with |
|
@larsoner , @agramfort the timeout seems related to https://18788-1301584-gh.circle-artifacts.com/0/dev/index.html Is it good enough to have only |
|
yes ok. It can be improved later after the release.
… |
|
This is ready for reviews then |
I'm not so sure because this would be a change in behavior with no deprecation cycle. A lesser evil would probably be to add a private |
I guess it's possible indeed, what do you think @agramfort ? Why private though @larsoner ? |
Hopefully eventually we can fix the memory/timeout problem and kill |
I'll continue to investigate locally |
|
Yes please do, but in the meantime the private env var workaround would make it so that we don't have to figure it out before release |
|
Pushed a commit with the CircleCI workaround and setting both |
|
Thank you @larsoner |
larsoner
left a comment
There was a problem hiding this comment.
LGTM +1 for merge from my end
@agramfort happy with this?
|
if @drammock and @hoechenberger are happy I am happy. Happy @drammock and @hoechenberger ? |
|
LGTM! |


This PR sets
time_viewer='auto'andshow_traces='auto'. It's still a work in progress.It's an item of #7162