On Sun, Mar 24, 2013 at 12:46 AM, mainakjas <notifications@github.com>wrote:

> In mne/preprocessing/eog.py:
>
> >                               eog=True, ecg=False, emg=False, exclude='bads')
> > -
> > +    else:
> > +        ch_EOG = fiff.pick_channels(raw.ch_names, include=[ch_name])
>
> All right, I have a very weird issue here: isinstance(ch_name, list)gives false even though I pass a list: ["MEG
> 2332", "MEG 2331"] in mne_compute_proj_eog.py. I tried
>
... what happens if you put put a `print type(ch_name)` just befor that
line?


> removing type="string" in parser.add_option() but that doesn't seem to
> make a difference. If I do print ch_name in eog.py, I get [MEG 2332,MEG
> 2331] as output which looks like the list I passed as argument. Any idea
> what could be the issue? Is there some kind of typecasting somewhere in the
> code that I am missing?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/529/files#r3502594>
> .
>