EEGlab file import (prepocessed and epoched)

Hi,
I’ve enocuntered problem with importing pre-processed EEGlab files (clean, filtered, epoched).
I’ve tried several ways to do so, via right-click ‘Import MEG/EEG’ or in Process 1: ‘Import - Import recordings - Import EEG/MEG: Existing epochs’.
The errors looks like following:

** Error: Line 85: cell/unique (line 85)
** Input A must be a cell array of strings.
**
** Call stack:
** >unique.m at 85
** >in_fopen_eeglab.m at 123
** >in_fopen.m at 98
** >in_data.m at 101
** >import_data.m at 200
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_data,[],[],[],iStudy,iSubject) at 632
**

or

** Error: [process_import_data_epoch] Import > Import recordings > Import MEG/EEG: Existing epochs
** Line 85: cell/unique (line 85)
** Input A must be a cell array of strings.
**
** Call stack:
** >unique.m at 85
** >in_fopen_eeglab.m at 123
** >in_fopen.m at 98
** >in_data.m at 101
** >import_data.m at 200
** >process_import_data_epoch.m>Run at 228
** >process_import_data_epoch.m at 24
** >bst_process.m>Run at 196
** >bst_process.m at 36
** >panel_process1.m>RunProcess at 141
** >panel_process1.m at 27
** >gui_brainstorm.m>CreateWindow/ProcessRun_Callback at 746
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@ProcessRun_Callback) at 286

Do you have any ideas or advice how to import my files to BST?

Best,
Kasia

Hi Kasia,

There is apparently a combination of data types in the .set file that is not handled by the Brainstorm’s reader. I should be able to fix this quickly.
Could you please upload an example file (that crashes) somewhere and post the download link here?
(or send it to me as a private message if privacy is a concern)

Thanks
Francois

Dear Francois,

here is the link to the dropbox folder with example files:
https://www.dropbox.com/sh/e8ffroqniz9f04w/AADqPBIsoMf0NAFC9JxCfBMDa?dl=0

Thank you for your support!

Kasia

Hi Kasia,

I finally fixed the bug in the EEGLAB import, sorry it took so long for such a simple fix…
https://github.com/brainstorm-tools/brainstorm3/commit/e8963c379939f417eaea42748d49242d58b4244c

Please update Brainstorm and try again
Francois

Thank you so much! It works perfect now!

A post was split to a new topic: Error: non-parametric cluster permutation tests