-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
FIX: brain save_movie #9426
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
FIX: brain save_movie #9426
Conversation
larsoner
left a comment
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.
One thing that did occur to me when reading the related issue is that in the brain test where we save a movie, we should load it using imageio-ffmpeg or something similar that can give the duration of the movie, and we can assert_allclose it to the expected duration given the time range and time dilation. This could be done for both the widget interface and the toolbar one. WDYT?
Sure, I'll add a test for it in this PR 👍 |
|
The test of https://github.com/mne-tools/mne-python/pull/9426/checks?check_run_id=2676293949#step:13:3143 |
|
The PR is ready to merge on my end @larsoner |
|
Thanks @GuillaumeFavelier |
* upstream/main: [MRG] change utils.logger.warning -> utils.warn (mne-tools#9434) FIX : rank computation from info now uses SSS proc history if only grad or mag are present (mne-tools#9435) MRG: Enable interpolation for all fNIRS types (mne-tools#9431) FIX: brain save_movie (mne-tools#9426) ENH: Add mne.export (mne-tools#9427) ENH: Test more on pre [skip circle] (mne-tools#9423) MRG, ENH: Speed up brain test (mne-tools#9422) MAINT: Update URL [ci skip] MNT: Reduce number of calls to _update (mne-tools#9407) MRG: Tutorial improvements (mne-tools#9416)
This PR fixes parameter forwarding in the
save_movie()method and also theSave movie...action in the tool bar.ToDo:
Closes #9425