External Email - Use Caution
From: "Abdollahi, Shervin (NIH/NINDS) [C]" <shervin.abdollahi@nih.gov>
Date: Thursday, March 18, 2021 at 12:42 PM
To: "freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
Subject: Autorecon1 failure
Hello Freesurfer Developers,
am trying to use run freesurfer that is configured inside smriprep.workflow.anatomical.py under init_anat_preproc_wf pipeline. this workflow, does the following:
When it gets to step 5, it takes skull-stripped t1, ants_segm, and bias_corrected image to use in freesurfer recon-all command. In the surface reconstruction section, it starts by running the following
command:
recon-all -autorecon1
-i /path-to /sub-03_ses-20140624_T1w.nii
-T2 /path-to/sub-03_ses-20140624_T2w.nii
-noskullstrip
-hires
-openmp 1
-subjid sub-03
-sd /Users/abdollahis2/Desktop/fcd_nipype/derivatives/freesurfer
-expert /Users/abdollahis2/Desktop/fcd_nipype/single_subject_03/anat_preproc_wf/surface_recon_wf/_subject_id_03/autorecon1/expert.opts
And surely soon, it gives me an error that it can not read mgh file (brainmask.mgz). looking into freesurfer/sub-03/mri directory I can see that brainmask.mgz is not created and I am not sure if
this is because the option -noskullstrip was used? I have attached the recon-all.log file. I would appreciate any suggestion on how to debug this problem.