[FieldTrip] Fwd: ft_definetrial crash

jan-mathijs schoffelen jan.schoffelen at donders.ru.nl
Sat Aug 13 18:23:49 CEST 2011


Hi Tobias,

I forward your question to the discussion list, so that many may benefit from the discussion. I am not sure what is going on and I don't know whether other people have encountered this. Are you calling the function from the correct directory? In other words, you should not be within the *.ds directory itself. 
You could also try to explicitly define cfg.datafile and cfg.headerfile (and omit the cfg.dataset).

Let me know when the problem persists.

Best wishes,

Jan-Mathijs



Begin forwarded message:

> From: Tobias Overath <t.overath at ucl.ac.uk>
> Date: August 3, 2011 12:37:15 PM GMT+02:00
> To: jan.schoffelen at donders.ru.nl
> Subject: ft_definetrial crash
> 
> Hi Jan-Mathijs,
> 
> I participated in the MEG FieldTrip course this past April and have finally managed to get my first MEG dataset from the CTF machine here at the FIL. However, I am already crashing at the first step, i.e. when running ft_definetrial.
> 
> This is my code:
> cfg = [];
> cfg.dataset = 'S01_01.ds';
> cfg.trialdef.eventtype = 'frontpanel trigger';
> cfg.trialdef.eventvalue = 1;
> cfg.trialdef.prestim = .25;
> cfg.trialdef.poststim = 2.75;
> cfg = ft_definetrial(cfg);
> 
> It recognises correctly that it's supposed to read the header from  S01_01.ds/S01_01.res, but it then tells me that it can't find the file S01_01.meg4 (which is true, because it should be S01_01.ds/S01_01.meg4). I presume this is a pretty common error, but it occurs with two FieldTrip versions that I have downloaded (very recent ones). I am probably missing something very obvious...
> 
> Incidentally, is there no other way to search the FieldTrip email archives than to download a zipped text file for each month of the previous 7 years?!?
> 
> Thanks,
> 
> Tobias
> 
> 
> 
> --
> Tobias Overath, PhD
> UCL Ear Institute
> University College London
> 332 Grays Inn Road
> London, WC1X 8EE
> UK
> http://www.homepages.ucl.ac.uk/~skgtjto
> 
> 
> 
> 
> 

Dr. J.M. (Jan-Mathijs) Schoffelen 
Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: +31-24-3614793

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110813/b132c025/attachment.html>


More information about the fieldtrip mailing list