You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting a source space that is larger than the mri (i.e has clipping) the warning fails, with error KeyError: 'kind' from
File "***/mne-python/mne/source_space.py", line 517, in export_volume
warn(f'{n_diff} {src["kind"]} vertices lay outside of volume '
I think "kind" here should be "type"
n.b. this seems to have been introduced with #7888
Describe the bug
When exporting a source space that is larger than the mri (i.e has clipping) the warning fails, with error KeyError: 'kind' from
File "***/mne-python/mne/source_space.py", line 517, in export_volume
warn(f'{n_diff} {src["kind"]} vertices lay outside of volume '
I think "kind" here should be "type"
n.b. this seems to have been introduced with #7888
Steps to reproduce
Expected results
expected it to report the clipped voxels as a warning
Actual results
Key error
The text was updated successfully, but these errors were encountered: