Skip to content

Splitting _brain.py into multiple modules (phase 6) - #14417

Merged
larsoner merged 4 commits into
mne-tools:mainfrom
payamsash:brain-clean-events
Oct 15, 2026
Merged

larsoner merged 4 commits into
mne-tools:mainfrom
payamsash:brain-clean-events

Conversation

@payamsash

Copy link
Copy Markdown
Member

Reference issue (if any)

Sixth phase of #14331 and following #14410.

What does this implement/fix?

After this, _brain.py calls no time-viewer methods. What's left is the widgets/time_viewer setup in __init__, and screenshot/save_movie(time_viewer=True).

@larsoner how would you suggest to handle screenshot/save_movie(time_viewer=True) for the next PR?

@larsoner

Copy link
Copy Markdown
Member

@larsoner how would you suggest to handle screenshot/save_movie(time_viewer=True) for the next PR?

Screenshot and save_movie combine the 3D scene with another GUI element (potentially). I think we can allow them as exceptions

@larsoner larsoner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pushed a tiny commit to fix a failing test due to this PR plus one due to a failure in main. Marking for squash+merge-when-green, thanks in advance @payamsash !

@larsoner larsoner mentioned this pull request Oct 15, 2026
@larsoner
larsoner enabled auto-merge (squash) October 15, 2026 17:42
@larsoner
larsoner merged commit 1084a08 into mne-tools:main Oct 15, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants