Closed adam2392 closed 4 years ago
mne requires all channels to have unique names and is case sensitive (at least should).
F10F1-6 suggest a -6 was appended due to many channels being called F10F1
can you share more than the file to investigate? like the bids dataset
mne requires all channels to have unique names and is case sensitive (at least should). F10F1-6 suggest a -6 was appended due to many channels being called F10F1
Sorry I wasn’t clear. F10F1-6 is 6 channels. I updated the description to be a bit more clear.
And it errors out when I check if ‘F10F1’ is “in” the Raw channel names. I’m not sure if it’s an issue with String decoding?
In [5]: 'F10F1' in raw.ch_names Out[5]: False
In [6]: 'F1OF1' in raw.ch_names Out[6]: True
lol... okay that's embarassing. Sorry @agramfort for the waste of time.
Describe the bug
I am converting a dataset into BIDs using the latest version of mne-bids. I read in a raw EDF file using:
read_raw_edf
. Then I try setting the channel types usingset_channel_type
on the Info object. However it errors out on channelsF10F1
(And channels 2-6). I also check if the string exists in theraw.info['ch_names']
and it returns False!The downstream error in mne-bids shows that all the channels match up, so I presume its an error on the EDF read operation:
Steps to reproduce
Additional information
E5_Sz.edf.zip