Back to the main page.
Bug 564 - something goes wrong with reading tutorial dataset, any recent changes in fileio?
Status | CLOSED FIXED |
Reported | 2011-04-06 12:36:00 +0200 |
Modified | 2011-04-06 17:15:39 +0200 |
Product: | FieldTrip |
Component: | fileio |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P1 critical |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Saskia Haegens - 2011-04-06 12:36:06 +0200
Warning: no trialfun was specified, using trialfun_general > In ft_definetrial at 97 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 evaluating trialfunction 'trialfun_general' readCTFds: You are reading CTF data for use with a software-application tool that is not manufactured by VSM MedTech Ltd. and has not received marketing clearance for clinical applications. If CTF MEG data are processed by this tool, they should not be later employed for clinical and/or diagnostic purposes. reading the events from '/home/common/matlab/fieldtrip/data/Subject01.ds/Subject01.res4' Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 219 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 860 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 865 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 870 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 896 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 928 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not open /home/common/matlab/fieldtrip/data/Subject01.meg4 > In fileio/private/filetype_check_header at 54 In ft_filetype at 948 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 Warning: could not determine filetype of /home/common/matlab/fieldtrip/data/Subject01.meg4 > In ft_filetype at 963 In ft_read_data at 213 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In trialfun_general at 65 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 465 In trialfun_general at 64 In ft_definetrial at 128 In trialfun_general at 71 In ft_definetrial at 128 In trialfun_general at 117 In ft_definetrial at 128 In ft_read_data at 984 In fileio/private/read_trigger at 68 In ft_read_event at 468 In trialfun_general at 117 In ft_definetrial at 128 ??? Attempt to reference field of non-structure array. Error in ==> trialfun_general at 117 for i=find(strcmp(cfg.trialdef.eventtype, {event.type})) Error in ==> ft_definetrial at 128 [trl, event] = feval(cfg.trialfun, cfg); 117 for i=find(strcmp(cfg.trialdef.eventtype, {event.type}))
Saskia Haegens - 2011-04-06 12:43:25 +0200
just confirmed that this is _not_ specific to the tutorial data set something goes wrong in getting the path, i.e., the XXX.ds part somewhere gets lost
Robert Oostenveld - 2011-04-06 15:49:38 +0200
it is because of passing ctf_meg4 as dataformat, whereas the filename points to the *.ds and not to the *.meg4
Robert Oostenveld - 2011-04-06 16:10:47 +0200
Sending fileio/ft_read_data.mad_header.m fileio/private/dataset2files.m Sending fileio/ft_read_header.m Adding fileio/private/dataset2files.m Sending utilities/ft_checkconfig.m Adding utilities/private/dataset2files.m Transmitting file data ..... Committed revision 3309.
Robert Oostenveld - 2011-04-06 16:14:14 +0200
PS de bug moet er volgens mij al zeker een week of twee in gezeten hebben... 't was niet die verandering van gisteravond, maar een eerdere waarbij 'dataformat' wordt doorgegeven tussen de ft_read_xxx functies (was nodig voor 4d data die niet goed gedetecteerd werd)