Back to the main page.

Bug 1286 - test data for datatype_sens is not present

Status CLOSED FIXED
Reported 2012-01-25 11:33:00 +0100
Modified 2014-03-12 12:21:35 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 trivial
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks:
See also:

Jörn M. Horschig - 2012-01-25 11:33:41 +0100

??? Error using ==> ft_read_sens at 65 file '/home/common/matlab/fieldtrip/data/test/original/meg/neuromag122/nmStim150.fif' does not exist Error in ==> test_ft_datatype_sens at 50 sens1 = ft_read_sens(dataset);


Robert Oostenveld - 2012-01-25 12:35:12 +0100

this probably relates to another neuromag122 dataset being put in the test directory (insteaf of nmStim150) to solve bug 576.


Jan-Mathijs Schoffelen - 2012-01-27 08:47:59 +0100

assigned bug to get all bugs lined up before the grand bug binge


Jörn M. Horschig - 2012-02-01 17:08:51 +0100

1) The nmStim150.fif file does exist nowhere. 2) There is a jg_single_01.raw.fif instead, but that cannot be opened, although the file exists: ??? Error using ==> fiff_open at 49 Cannot open file H:\common\matlab\fieldtrip\data\test\original\meg\neuromag122\jg_single_01raw.fif Error in ==> fiff_read_meas_info at 82 [ fid, tree ] = fiff_open(source); Error in ==> ft_read_header at 1145 orig = fiff_read_meas_info(filename); Error in ==> ft_read_sens at 154 hdr = ft_read_header(filename, 'headerformat', fileformat); Error in ==> test_ft_datatype_sens at 56 sens1 = ft_read_sens(dataset); 3) The testscript futher fails on H:\common\matlab\fieldtrip\data\test\original\meg\yokogawa440\S1_MEG_Epoch.raw Because the two sens structures are not similar (assertion fails)


Robert Oostenveld - 2012-02-04 10:55:23 +0100

(In reply to comment #3) Regarding the neuromag data: I recall that the nmStim150 dataset was from a 306 channel vectorrview system, and not a 122 channel system. The jg_single_01raw dataset is a much older one from Joachim Gross' neuromag system in Dusseldorf (i.e. their previous system). I can confirm the file reading problems, the permissions are incorrect. I fixed them: roboos@mentat002> ll total 46848 -rwx------ 1 roboos fieldtrip 47778658 Dec 14 12:24 jg_single_01raw.fif roboos@mentat002> chmod 644 jg_single_01raw.fif


Jörn M. Horschig - 2012-02-13 16:44:44 +0100

yep, but now assertion fails because sens1 and sens2 are empty for this dataset btw, the yokogawa assertion fails because: K>> sum(sens2.chanori) ans = 0 0 0 bbuuuut, should that be my concern? It's drifting off from the initial problem that's filed here


Jörn M. Horschig - 2012-11-28 17:58:42 +0100

runs smoothly since many commits already