Hi Adi,

Could you please do an 'ls dana_c001_tp1*.nii.gz' in your vbm directory and copy the content of your template_list file as well? I suspect there is a mismatch in the naming there.

Cheers,
Gwenaëlle
 
------------------------------------------------------------------------------------------------------------------------
Gwenaëlle Douaud, PhD
Associate Professor & MRC Career Development Fellow

FMRIB Centre, University of Oxford
John Radcliffe Hospital, Headington
OX3 9DU Oxford UK
Switchboard: +44 (0) 1865 222 493
Fax: +44 (0) 1865 222 717

www.fmrib.ox.ac.uk/team/principal-investigators/gwenaelle-douaud
www.fmrib.ox.ac.uk/research/translational-image-analysis-group
-----------------------------------------------------------------------------------------------------------------------



De : Adi Maron-Katz <[log in to unmask]>
À : [log in to unmask]
Envoyé le : Lundi 27 mars 2017 19h36
Objet : [FSL] Running fslvbm_2_template -n does not produce template_GM

Hello,

I have followed FSL VBM running instructions and have reached the stage of running fslvbm_2_template -n.
At this point, for each structural subName.nii.gz I am getting the following added files under struc/:

subName_struc_brain_mixeltype.nii.gz
subName_struc_brain_pve_0.nii.gz
subName_tp1_struc_brain_pve_2.nii.gz
subName_tp1_struc_brain_pveseg.nii.gz
subName_tp1_struc_brain_seg.nii.gz
subName_tp1_struc_GM.nii.gz
subName_tp1_struc_GM_to_T_init_warp.msf
subName_tp1_struc_GM_to_T.mat
subName_tp1_struc_GM_to_T.nii.gz

However, these are a few core files and no  template_GM file.

Error message is:

Cannot open volume dana_c001_tp1_brain_struc_GM_to_T_init for reading!
Cannot open volume template_4D_GM for reading!
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 107: [: =: unary operator expected
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 115: [: -gt: unary operator expected
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 117: [: -gt: unary operator expected
Cannot open volume template_GM for reading!
Cannot open volume template_GM for reading!

A will appreciate your advice on this.

Many thanks
Adi Maron-Katz, PhD
Department of Psychiatry and Behavioral Sciences
Stanford University School of Medicine