[Mne_analysis] mne epochs to fieldtrip

Robert Oostenveld robert.oostenveld at donders.ru.nl
Tue Oct 25 06:02:59 EDT 2016
Search archives:

Hi Elena

I suspect it to be an error in the MNE Matlab code, as FieldTrip itself does not use the FIFFB_EPOCHS field.

mac011> cd /Users/roboos/matlab/fieldtrip/fileio/
mac011> grep FIFFB_EPOCHS *.m
mac011> grep FIFFB_EPOCHS private/*.m
[both empty]

mac011> cd /Users/roboos/matlab/fieldtrip/external/mne
mac011> grep FIFFB_EPOCHS *.m
fiff_define_constants.m:FIFF.FIFFB_EPOCHS             = 122;
fiff_read_epochs.m:ep = fiff_dir_tree_find(meas, FIFF.FIFFB_EPOCHS);

Could you follow this up by posting the detailled error message on https://github.com/mne-tools/mne-matlab <https://github.com/mne-tools/mne-matlab>, i.e. create an issue there on github and post details of the error message? Please do mention @robertoostenveld and @agramfort in the issue, then we’ll both get notified.

Oh, and prior to that: could you check that you are using the latest version of the mne-matlab toolbox? One version is included in fieldtrip/external/mne, but that might not be the latest one, and it might also not be the one you are actually using. 

Robert
 



> On 25 Oct 2016, at 10:01, Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr> wrote:
> 
> hi Elena,
> 
> we don't maintain the fieldtrip reader for mne files just the
> mne-matlab toolbox.
> 
> you should post an issue on the fieldtrip github page.
> 
> maybe we can help but we'll need enough info to replicate the bug.
> 
> Alex
> 
> 
> On Mon, Oct 24, 2016 at 6:17 PM, Elena Orekhova
> <orekhova.elena.v at gmail.com> wrote:
>> Hello,
>> 
>> I try to import mne epochs file in fieldtrip.
>> fiff_file = 'ttt-epo.fif');
>> cfg = [];
>> cfg.dataset = fiff_file;
>> data1 = ft_preprocessing(cfg);
>> 
>> It worked before, but with the current versions of MNE/fieldtrip I get an
>> error:
>> Reference to non-existent field 'FIFFB_EPOCHS'.
>> 
>> Could somebody help to fix this problem?
>> 
>> Elena
>> 
>> _______________________________________________
>> 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/20161025/a678a8b5/attachment.html 


More information about the Mne_analysis mailing list