Hi!
I’m running a first level analysis on fMRI data using feat, including the preprocessing steps.
I’m generating the .fsf file based on a template, then calling feat generated.fsf
.
When I do it this way the analysis fails during registration, apparantly because it’s looking for some example_func file or some such - but really the errors and stack are quite cryptic.
The thing is that when I open the GUI and load the exact same .fsf file and hit ‘Go’ - the analysis completes without problems.
I’d appreciate any help - thanks!
Version:
FSL 6.0.6
Environment (Docker, Singularity, custom installation):
Ubuntu 20
Relevant log outputs (up to 20 lines):
Registration
/bin/mkdir -p /media/user/Data/fmri-data/analysis-output/101/functional/sub101_auditoryLoc_1.feat/reg
Could not find a supported file with prefix "/media/user/Data/fmri-data/analysis-output/101/functional/sub101_auditoryLoc_1.feat/example_func"
/home/user/fsl/bin/fslmaths /media/user/Data/fmri-data/analysis-output/101/anatomy/101anatomy_brain highres
/home/user/fsl/bin/fslmaths /media/user/Data/fmri-data/analysis-output/101/anatomy/101anatomy highres_head
Checking for /media/user/Data/fmri-data/analysis-output/101/anatomy/101anatomy_brain2MNI152_T1_2mm_brain_warp and /media/user/Data/fmri-data/analysis-output/101/anatomy/101anatomy_brain2MNI152_T1_2mm_brain.mat
/home/user/fsl/bin/fslmaths /home/user/fsl/data/standard/MNI152_T1_2mm_brain standard
/home/user/fsl/bin/fslmaths /home/user/fsl/data/standard/MNI152_T1_2mm standard_head
/home/user/fsl/bin/fslmaths /home/user/fsl/data/standard/MNI152_T1_2mm_brain_mask_dil standard_mask
did not find file: example_func2highres.mat. Generating transform.
/home/user/fsl/bin/epi_reg --epi=example_func --t1=highres_head --t1brain=highres --out=example_func2highres
Image Exception : #63 :: No image files match: example_func
Image Exception : #22 :: Failed to read volume example_func
Error : No image files match: example_func
Failed to read volume example_func
Error : No image files match: example_func
Image Exception : #63 :: No image files match: example_func
Image Exception : #22 :: Failed to read volume example_func
Error : No image files match: example_func
Failed to read volume example_func
Error : No image files match: example_func
Could not open matrix file example_func2highres.mat
Image Exception : #63 :: No image files match: example_func
Image Exception : #22 :: Failed to read volume example_func
Error : No image files match: example_func
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to read volume example_func
Error : No image files match: example_func
/home/user/fsl/bin/epi_reg: line 390: 623496 Aborted (core dumped) $FSLDIR/bin/applywarp -i ${vepi} -r ${vrefhead} -o ${vout} --premat=${vout}.mat --interp=spline
Running FAST segmentation FLIRT pre-alignment Running BBR