Hello, This morning I tried to get the segmentation measurement in table formate, but I got the following error message asegstats2table --subjects AB197.T0b AB232.T0a AD721.T0 --skip --meas volume --tablefile asegstats1.txt
Error message :SUBJECTS_DIR : /opt/freesurfer/subjects Parsing the .stats files Skipping /opt/freesurfer/subjects/AB197.T0b/stats/aseg.stats Skipping /opt/freesurfer/subjects/AB232.T0a/stats/aseg.stats Skipping /opt/freesurfer/subjects/AD721.T0/stats/aseg.stats Building the table.. Traceback (most recent call last): File "/opt/freesurfer/bin/asegstats2table", line 513, in <module> rows, columns, table = sanitize_table(options, pretable) File "/opt/freesurfer/bin/asegstats2table", line 412, in sanitize_table _specs, _id_name_map, _measl = _t[0] IndexError: list index out of range
Then tried asegstat2table for individual subjects but for each subject the computer gave following error message
Example: asegstats2table --subjects AB232.T0a --meas volume --tablefile asegstats1.txt SUBJECTS_DIR : /opt/freesurfer/subjects Parsing the .stats files ERROR: The stats file /opt/freesurfer/subjects/AB232.T0a/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 looked into each subjects' segmetation file (attached). It looked fine to me and had all the information. Please advise why I got error message. Thanks, Rashmi
freesurfer@nmr.mgh.harvard.edu