You must have already run this subject once with an expert-options file?
Once you've already run recon-all once on a subject with an expert-options file, you don't include it again in future invocations of recon-all.  The expert options that you've previously used will automatically get used again.  You would only need to use the -xopts-overwrite option if for some reason you wanted to CHANGE the expert-options you had previously applied.

cheers,
-MH

-- 
Michael Harms, Ph.D.
-----------------------------------------------------------
Conte Center for the Neuroscience of Mental Disorders
Washington University School of Medicine
Department of Psychiatry, Box 8134
660 South Euclid Ave. Tel: 314-747-6173
St. Louis, MO  63110 Email: mharms@wustl.edu

From: Michael Green <m.green@neura.edu.au>
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Date: Wednesday, March 19, 2014 11:30 PM
To: "freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] expert options command

I've been calling up an expert options file which contains the text "mri_normalize -gentle" but I'm having trouble executing it with this command:

"recon-all -s 002 -expert 002/scripts/expert.opts"

It results in the following error:

ERROR: there is a pre-existing expert options file and
you have specified an expert options file on the command-line.
If you want to use the file specified on the command-line,
you must run with -xopts-overwrite, or you may edit the
existing file /mridata/workingdata/INS/subjects/002/scripts/expert.opts (and not use the -expert option).

The help message is a little confusing
(and not use the -expert option) but executing

"recon-all -s 002 -xopts-overwrite 002/scripts/expert.opts"

gives me the following error:

ERROR: Flag 002/scripts/expert.opts unrecognized.

Any ideas or help on this one?


--

Michael Green
Senior Research Officer
Lecturer, UNSW

Neuroscience Research Australia
Margarete Ainsworth Building
Barker Street Randwick Sydney NSW 2031 Australia
T +61 2 9399 1086

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.