Skip to content

ds006695 #17

Closed
Closed

Description

@arnodelorme
iteration 5, gradient norm = 0.002802, loss = 0.8691
iteration 6, gradient norm = 6.531e-05, loss = 0.8691
iteration 7, gradient norm = 1.616e-07, loss = 0.8691
Field 'epoch' is expected to be a numpy array but is of type list.
Field 'dipfit' is expected to be of type <class 'dict'> but is of type list.
Field 'roi' is expected to be of type <class 'dict'> but is of type list.
ERROR (eegprep.bids_preproc) Error processing /expanse/projects/nemar/arno/eegprep/scripts/../../../openneuro/ds006695/sub-102/eeg/sub-102_task-sleep_eeg.set: cannot access local variable 'intdatavector' where it is not associated with a value
Traceback (most recent call last):
  File "/expanse/projects/nemar/arno/eegprep/src/eegprep/bids_preproc.py", line 697, in bids_preproc
    EEG = iclabel(EEG)
          ^^^^^^^^^^^^
  File "/expanse/projects/nemar/arno/eegprep/src/eegprep/iclabel.py", line 51, in iclabel
    features = ICL_feature_extractor(EEG, True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/expanse/projects/nemar/arno/eegprep/src/eegprep/ICL_feature_extractor.py", line 39, in ICL_feature_extractor
    _, temp_topo, _, _, _ = topoplot(EEG['icawinv'][:, it], EEG['chanlocs'][EEG['icachansind']], noplot='on')
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/expanse/projects/nemar/arno/eegprep/src/eegprep/topoplot.py", line 159, in topoplot
    values = intdatavector.ravel()
             ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'intdatavector' where it is not associated with a value
INFO (eegprep.bids_preproc) Writing report to ./bids_preproc_output/ds006695/sub-102/eeg/sub-102_task-sleep_desc-report_eeg.json
INFO (eegprep.bids_preproc) Processed 0 files, skipped 2 files; total time: 63.5s.

On expanse

Activity

  1. suraj-ranganath commented on May 26, 2026

    @suraj-ranganath
    Member

    @arnodelorme closing since this is likely out of date. Please feel free to reopen if this is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions