aces / EEG2BIDS

EEG2BIDS Wizard: a tool for converting raw EEG and iEEG data into the BIDS standard data structure, prepared for LORIS (Longitudinal Online Research and Imaging System).
MIT License
7 stars 10 forks source link

Epoched data not handled correctly #94

Open jeffersoncasimir opened 1 year ago

jeffersoncasimir commented 1 year ago

When trying to convert epoched data, the following Task Error message appears at runtime:

Cannot read file - The number of trials is X. It must be 1 for raw files. Please use `mne.io.read_epochs_eeglab` if the .set file contains epochs.

laemtl commented 1 year ago

@oldgandalf Can I have a dataset to reproduce?

oldgandalf commented 1 year ago

Hi @laemtl right now I do not have the data at hand but I uploaded them to the drive specified by Christine the same day I made the test.

laemtl commented 1 year ago

Awesome, TY!

laemtl commented 1 year ago

I was able to make further progress with the import, but now it fails because of this known issue: https://github.com/mne-tools/mne-python/issues/6610 Epoched data with no events are not supported by MNE at the moment.