alexenge / hu-neuro-pipeline

Single trial EEG pipeline at the Abdel Rahman Lab for Neurocognitive Psychology, Humboldt-Universität zu Berlin
https://hu-neuro-pipeline.readthedocs.io
MIT License
15 stars 3 forks source link

Error when interpolating a single channel per subject in R #86

Closed alexenge closed 1 year ago

alexenge commented 1 year ago

If passing only one channel via an R list (e.g., bad_channels = list(VP0001 = c('Fp1'))), Python converts the vector of channels into a single string (not list of stings), which causes:

Error in py_call_impl(callable, dots$args, dots$keywords) :
  RuntimeError: bad channel(s) ['F', 'p', '1'] marked do not exist in info