Hi Mahmoud

were you able to create a symlink to fsaverage in your SUBJECTS_DIR? If not, that is the reason for this error
Bruce

On Thu, 18 Sep 2014, Mahmoud wrote:

Dear all,

After running "recon-all -i $SUBJECTS_DIR/Case018/case018_tp2/22-1.dcm
-subject case018_tp2 -all" I'm always getting the following error and really
don't know how to fix. 

Could anybody please help me. The recon-all.log file is attached.

Thank you,
Mahmoud

Reporting on  70 segmentations
mri_segstats done
/usr/local/freesurfer/subjects/case018_tp2/label
#--------------------------------------------
#@# BA Labels lh Thu Sep 18 20:23:27 EDT 2014
INFO: fsaverage subject does not exist in SUBJECTS_DIR
INFO: Creating symlink to fsaverage subject...

 cd /usr/local/freesurfer/subjects; ln -s
/usr/local/freesurfer/subjects/fsaverage; cd - 


 mri_label2label --srcsubject fsaverage --srclabel
/usr/local/freesurfer/subjects/fsaverage/label/lh.BA1.label --trgsubject
case018_tp2 --trglabel ./lh.BA1.label --hemi lh --regmethod surface 

Too many levels of symbolic links
mri_label2label: could not open label file
/usr/local/freesurfer/subjects/fsaverage/label/lh.BA1.label

srclabel = /usr/local/freesurfer/subjects/fsaverage/label/lh.BA1.label
srcsubject = fsaverage
trgsubject = case018_tp2
trglabel = ./lh.BA1.label
regmethod = surface

srchemi = lh
trghemi = lh
trgsurface = white
srcsurfreg = sphere.reg
trgsurfreg = sphere.reg
usehash = 1
Use ProjAbs  = 0, 0
Use ProjFrac = 0, 0
DoPaint 0

SUBJECTS_DIR    /usr/local/freesurfer/subjects
FREESURFER_HOME /usr/local/freesurfer
Loading source label.
Invalid argument
ERROR reading /usr/local/freesurfer/subjects/fsaverage/label/lh.BA1.label
Linux ubuntu 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

recon-all -s case018_tp2 exited with ERRORS at Thu Sep 18 20:23:27 EDT 2014

For more details, see the log file
/usr/local/freesurfer/subjects/case018_tp2/scripts/recon-all.log

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to