Hello,
I am trying to extract the volumes from the aseg file of multiple subjects using the command:
asegstats2table --subjects C9F03_1 C9F03_2 C9F07_1 --meas volume --tablefile aseg_stats_test.txt
I keep getting the following error:
SUBJECTS_DIR : home/bmiadmin/Tamara/FreeSurfer_GENFI/analysis/output Parsing the .stats files ERROR: The stats file home/bmiadmin/Tamara/FreeSurfer_GENFI/analysis/output/C9F03_1/stats/aseg.stats is not found or is too small to be a valid statsfile Use --skip flag to automatically skip bad stats files
I have set my subject directory to where all my output files are located and the subjects/stats folder does contain a aseg.stats file. I have attached a aseg.stats file.
Thank you in advance for your help! Tamara
Is your SUBJETS_DIR set correctly? Probably it should be
/home/bmiadmin/Tamara/FreeSurfer_GENFI/analysis/output
ie, there needs to be a "/" at the beginning
On 09/07/2016 09:48 AM, Tamara Tavares wrote:
Hello,
I am trying to extract the volumes from the aseg file of multiple subjects using the command:
asegstats2table --subjects C9F03_1 C9F03_2 C9F07_1 --meas volume --tablefile aseg_stats_test.txt
I keep getting the following error:
SUBJECTS_DIR : home/bmiadmin/Tamara/FreeSurfer_GENFI/analysis/output Parsing the .stats files ERROR: The stats file home/bmiadmin/Tamara/FreeSurfer_GENFI/analysis/output/C9F03_1/stats/aseg.stats is not found or is too small to be a valid statsfile Use --skip flag to automatically skip bad stats files
I have set my subject directory to where all my output files are located and the subjects/stats folder does contain a aseg.stats file. I have attached a aseg.stats file.
Thank you in advance for your help! Tamara
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu