Hi Carina,

to add to what MJ said this morning, could you also please copy/paste the result of an ls A_P10_T1* in your struc/ directory and the content of your template_list file?

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

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

www.fmrib.ox.ac.uk/team/principal-investigators/gwenaelle-douaud
-----------------------------------------------------------------------------------------------


De : Carina Mendes <[log in to unmask]>
À : [log in to unmask]
Envoyé le : Jeudi 1 août 2013 15h39
Objet : [FSL] Error running fslvbm_2_template

Hello,

I was following the user guide provided on FSL-VBM page, and encountered an error when I tried the command:

fslvbm_2_template -n

the output was:
"...
Running segmentation: ID=9108
Running initial registration: ID=10273
Cannot open volume A_P10_T1_struc_GM_to_T for reading!
Cannot open volume template_4D_GM for reading!
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 106: [: =: unary operator expected
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 114: [: -gt: unary operator expected
ERROR: Could not open file
/usr/local/fsl/bin/fslswapdim: line 116: [: -gt: unary operator expected
Cannot open volume template_GM for reading!
Cannot open volume template_GM for reading!
Creating first-pass template: ID=
/bin/sh: line 1: 30: command not found
Running registration to first-pass template: ID=
/bin/sh: line 1: 15: command not found
Creating second-pass template: ID=
Study-specific template will be created, when complete, check results with:
fslview struc/template_4D_GM
and turn on the movie loop to check all subjects, then run:
fslview  /usr/local/fsl/data/standard/tissuepriors/avg152T1_gray  struc/template_GM
to check general alignment of mean GM template vs. original standard space template."