methlabUZH / automagic

Automagic
GNU General Public License v3.0
94 stars 32 forks source link

multiple errors in systemDependentParse and pre-processing pipeline #51

Closed kkauraiims closed 3 years ago

kkauraiims commented 3 years ago

Hello, I am trying to run the Automagic pipeline on an EGI 128 channel recording using the EGI presets of Langer lab and mostly default configurations. I am getting multiple errors on running the same (screenshot attached), any help in this regard would be useful. Thanks!

Screenshot 2021-08-31 at 1 52 35 PM
ksgfan commented 3 years ago

Hi, it seems that the EEG.nbchan is not 128. Could you check what value does this variable take in the EEG struct? Bildschirmfoto 2021-08-31 um 15 49 18

kkauraiims commented 3 years ago

Hello, for some reason, it is showing all fields, including nbchan as null! (screenshot attached).

Just to clarify, I did not first import the data file into EEGLAB as I usually do. I simply indicated the path of the 'Study' folder as instructed in the Automagic wiki https://github.com/methlabUZH/automagic/wiki/How-to-start#how-to-create-a-new-project

Screenshot 2021-08-31 at 2 53 16 PM
ksgfan commented 3 years ago

The data was not loaded properly. 'presets of Langer lab' assume that the data is stored as a .mat file. What extension does your data have?

kkauraiims commented 3 years ago

Oops! So that may be the issue. It is a .mff file Will avoid using the presets and run again. Thanks! :)

The same can be mentioned in the user manual (if not there already, maybe I missed it!)

ksgfan commented 3 years ago

Hmm, I've never tried to load .mff files in automagic. I am not sure if it is going to work. Consider to write a short script and convert the .mff to .mat before preprocessing.