Hello, sorry if this is a stupid question but I canât get around this problem. I am trying to load .set files coming from eeglab, with spyder . I keep getting this error
TypeError: bad operand type for unary -: âRawEEGLABâ
I am using a version of python installed by mamba as per the instructions on the site.
I have tried different ways to load them but failed.
Any suggestion? I paste the configuration I am using below.
(change the name to yours, or if you want I can make the file available.
Thatâs it. Changes in the parameters for the mne.io.read_raw_eeglab make no effect, for what I can see. I have to add that I can load these files correctly with the same command with MNE-r (but with my own python environment, which has not been installed via conda). ( I do find other problems, unrelated, and this is why I am trying to move away from MNE-r and see if I can solve them in MNE-python).
Thanks a lot, this was very silly. It does work as you suggested.
The - remained because I copied code from r and it was a part of the assignment <-. I guess I will have to buy new glasses. Sorry for bothering you all, and thanks again.