[FieldTrip] read_eeglab, header file?

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Thu Dec 15 10:15:56 CET 2011


Hi Gregor,

thanks for reporting this. It looks indeed like it should be like that, 
so I changed it to what you suggested (otherwise, if-clause does not 
make any sense at all).

Best,
Jörn

On 12/14/2011 10:32 AM, Gregor Volberg wrote:
>
> Dear Fieldtrip developers,
>
>
> I encountered an error warning when reading in an eeglab *.set - file 
> for preprocessing (version fieldtrip-20111206), where the call to 
> ft_preprocessing says
>
>
> ??? Undefined function or variable "hdr".
>
> Error in ==> read_eeglabdata at 52
>
> if isempty(hdr)
>
>
>
> Shouldn't code lines 52 to 54 read
>
>
> if isempty(header)
>
>   header = read_eeglabheader(filename);
>
> end
>
>
> instead  of
>
>
> if isempty(hdr)
>
>   hdr = read_eeglabheader(filename);
>
> end
>
>
>
> Not really a problem, just to bring it to your attention...
>
>
> Best regards,
>
> Gregor
>
>
>
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111215/002e2a98/attachment-0002.html>


More information about the fieldtrip mailing list