[FieldTrip] FT doesn't close .fif files

Alexandre Gramfort gramfort at nmr.mgh.harvard.edu
Wed Feb 9 19:16:41 CET 2011


hi,

> I don't think this works because fopen will place the file cursor at the beginning of the file, whereas fiff_setup_read_raw places the cursor at the beginning of the data (after all the header tags in the .fif file).

ok. That was a quick and dirty hack to give an idea.

> So we need to store the cursor position too. See my earlier e-mail.

maybe you or scott can propose a fix in the same vein?

I can give you write access to the mne-matlab code if you want.

Alex



More information about the fieldtrip mailing list