Skip to content

Make _ForwardModeler fill out the complete forward object - #13416

Merged
larsoner merged 5 commits into
mne-tools:mainfrom
wmvanvliet:fix-fwd-modeler
Sep 11, 2025
Merged

larsoner merged 5 commits into
mne-tools:mainfrom
wmvanvliet:fix-fwd-modeler

Conversation

@wmvanvliet

Copy link
Copy Markdown
Contributor

@larsoner Small bug that came alight when using #13407 for dipole fitting: some fields were left blank that shouldn't be. This PR fixes those and updates the unit test to check them.

limit=self.mindist,
mri_head_t=self.mri_head_t,
src=src,
)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is a refactor that makes sense to me.

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.

Yeah I think that was just cruft from when I was working on it and there were two code paths 🤦

Comment thread mne/forward/_make_forward.py

@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.

Just going to push a commit to fix pip-pre, thanks in advance @wmvanvliet !

limit=self.mindist,
mri_head_t=self.mri_head_t,
src=src,
)

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.

Yeah I think that was just cruft from when I was working on it and there were two code paths 🤦

Comment thread mne/forward/_make_forward.py
Comment thread mne/forward/_make_forward.py
@larsoner
larsoner merged commit a8e2fe8 into mne-tools:main Sep 11, 2025
32 checks passed
sseth pushed a commit to xannnimal/mne-python that referenced this pull request Mar 25, 2026
@wmvanvliet
wmvanvliet deleted the fix-fwd-modeler branch July 26, 2026 07:32
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