Hi FSL experts,
I'm running fsl fix on 12 ica folders. I made hand_labels_noise.txt files in each of them, and am attempting to train the data. The problem is it won't create the features.csv files in each of the scan's respective ica folder... The file hierarchy is pretty basic, it's just 12 scans, each having a func.nii.gz file, a func_brain.ica and func_brain.nii.gz
The command I'm running is "fix -t scan1/func_brain.ica scan2/func_brain.ica ..." etc
It seems to try and extract features (the "fix" folder has lots of intermediary images), but when it comes time to train the data, the errorLog.txt says
says
"Error Time: 06/09/2014 14:48:31
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier."
for each file and just keeps going and trying to remake the features.csv file
I tried extracting each feature individually beforehand via fix -f scanX/func_brain.ica, but the same error appears when I try and train. I'm a bit confused because reading through fix_1a_extract_features.m there isn't any fgets command, only fgetl, yet it caught that exception. The logMatlab.txt file reads the same thing as the errorlog:
"
< M A T L A B (R) >
Copyright 1984-2014 The MathWorks, Inc.
R2014a (8.3.0.532) 64-bit (glnxa64)
February 11, 2014
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
scan1/func_brain_clean.ica/
8 1
Error Time: 06/09/2014 11:53:34
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier."
I THINK it's either a bug stemming from line 176 of the fix shell script, or I'm doing something obviously wrong. Oh I'm running this on a Linux server (CentOS release 6.5, 64bit)
|