[Eeglablist] Variable name to use is still invalid

Arnaud Delorme adelorme at ucsd.edu
Fri Apr 7 20:27:17 PDT 2023


Dear Yacila,

The problem is not with “-“ but likely with another character that prevent the conversion of a string to a MATLAB variable name. It is most likely one of the event columns in your events.tsv BIDS files. Just share a couple with us and we will see which character it is.

Cheers,

Arno

> On Apr 7, 2023, at 12:34 AM, Deza-Lougovski, Yacila <yacila.deza-lougovski at unibw.de> wrote:
> 
> Dear EEGLAB mailing list,
> 
> I am a new user of EEGLAB and EEG in general.
> 
> We have an issue while importing a BIDS dataset with teaching purposes. After importing the file, There is a pop-up window from EEGLAB telling us "the variable name to use is still invalid, check chars to remove"
> The windows points at the cleanvarname function, line 41. When  I  check the function, I see that the variable name shouldn't contain characters such as "-" (which is everywhere in BIDS dataset).
> Is this the problem? How can I solve it?
> 
> Thanks for your attention,
> 
> Dr. Yacila I. Deza-Lougovski
> Wissenschaftliche Mitarbeiterin/post-doctoral researcher
> Biologische Psychologie/Biological Psychology
> Institut für Psychologie
> Universität der Bundeswehr München
> 
> tel     +49 89 6004 4255/4494
> mob  +49 1735190322
> mail   yacila.deza-lougovski at unibw.de<mailto:yacila.deza-lougovski at unibw.de>
> 
> Werner-Heisenberg-Weg 39, 36/0158
> 85577 Neubiberg
> 
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu




More information about the eeglablist mailing list