-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When it reaches ICLabel, we get this error (takes 2 min). I think this is because bids_preproc does not look up channels by default based on the 10-20 locations.
See script https://github.com/sccn/eegprep/blob/develop/scripts/test_bids_preproc_expanse.py
ERROR (eegprep.bids_preproc) Error processing /expanse/projects/nemar/arno/eegprep/scripts/../../../openneuro/ds003061/sub-001/eeg/sub-001_task-P300_run-1_eeg.set: only integer scalar arrays can be converted to a scalar index
Traceback (most recent call last):
File "/expanse/projects/nemar/arno/eegprep/src/eegprep/bids_preproc.py", line 503, in bids_preproc
EEG = iclabel(EEG)
^^^^^^^^^^^^
File "/expanse/projects/nemar/arno/eegprep/src/eegprep/iclabel.py", line 47, in iclabel
features = ICL_feature_extractor(EEG, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/expanse/projects/nemar/arno/eegprep/src/eegprep/ICL_feature_extractor.py", line 37, in ICL_feature_extractor
_, temp_topo, _, _, _ = topoplot(EEG['icawinv'][:, it], EEG['chanlocs'][EEG['icachansind']], noplot='on')
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
TypeError: only integer scalar arrays can be converted to a scalar index
INFO (eegprep.bids_preproc) Writing report to ./bids_preproc_output/ds003061/sub-001/eeg/sub-001_task-P300_run-1_desc-report_eeg.json
INFO (eegprep.bids_preproc) Processed 0 files, skipped 2 files; total time: 4.1m.Metadata
Metadata
Assignees
Labels
No labels