[Mne_analysis] Basic problem in eeglab.py

Eric Larson larson.eric.d at gmail.com
Wed Jul 20 15:43:17 EDT 2016
Search archives:

Are you running the latest development version of `master`? We have fixed a
few EEGLAB io bugs since our last release.

Eric


On Tue, Jul 19, 2016 at 9:05 PM, Constantino Dragicevic <
cdragicevic at gmail.com> wrote:

> Hi all,
>        I'm completely new to anaconda3 and MNE, but I have managed to
> bypass some conflicting codes in function
>
> *mne.io.read_raw_eeglab(fileroot, montage=None, eog=(), event_id=None,
> event_id_func=None, preload=False, verbose=0)*
>
>  until reaching a point where I don't know how to proceed. Final part of
> output in eeglab.py is
>
>     *not_purely_numeric = set(x for x in not_in_event_id if not
> x.isdigit())*
>
> *AttributeError: 'int' object has no attribute 'isdigit'*
>
>
> It seems that isdigit() is supposed to work on strings only. I had to
> exclude several lines to get the function to work with no errors, but
> eventually I will need that to get working.
> In adittion, the first problem I had to face was in channel names. I have
> som channels that are not EEG but want to analize as EEG. They have non-eeg
> names and no topographic position in a head model (though I can invent
> that). Those channels appear as "unknown" in channel labels, but when I
> open the .mat file with matlab, everything looks fine.
>
>
> Maybe I have not given enough info, but I can give it as needed. It is
> also probable that trying to get the function working without knowing well
> this new language for me may be slow and susceptible to non-fatal errors,
> but now that I have just get the function to end without red error messages
> is a big step. Im using Spyder, but can see any variable after the unction
> end so Im going to read some Spyder and Python basics. Any help will be
> appreciated.
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160720/adaedc96/attachment.html 


More information about the Mne_analysis mailing list