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
Traceback (most recent call last):
File "main.py", line 8, in <module>
raw = mne.io.read_raw_eeglab(file_path, preload=True)
File "...\site-packages\mne\io\eeglab\eeglab.py", line 328, in read_raw_eeglab
return RawEEGLAB(
File "<decorator-gen-267>", line 12, in __init__
File "...\site-packages\mne\io\eeglab\eeglab.py", line 459, in __init__
info, eeg_montage, _ = _get_info(eeg, eog=eog, montage_units=montage_units)
File "...\site-packages\mne\io\eeglab\eeglab.py", line 230, in _get_info
ch_names, ch_types, eeg_montage = _get_montage_information(
File "...\site-packages\mne\io\eeglab\eeglab.py", line 165, in _get_montage_information
if hasattr(eeg, "chaninfo") and isinstance(eeg.chaninfo["nodatchans"], dict):
KeyError: 'nodatchans'
Process finished with exit code 1
Description of the problem
When using mne version
1.9.0
to load an EEGLAB .set file withmne.io.read_raw_eeglab
, aKeyError: 'nodatchans'
error may occur.Steps to reproduce
Below is the code snippet that triggers the error:
Below is the full error trace
The output for
mne.sys_info()
Link to data
The file used to reproduce this issue can be downloaded from figshare.
Expected results
no error
Actual results
no error
Additional information
This issue has been highlighted at mne discourse
The text was updated successfully, but these errors were encountered: