Hi All, I wanted to follow up on this thread because I have been getting a similar type of an error.
Here is the info from the terminal:
[arkadiysimac:Freesurfer/Freesurfer_Files_with_Freesurfer_Masks/Post_Manual_Edits] amaksimovskiy% aparcstats2table --subjects SILVA033 SILVA035 SILVA039 SILVA040 SILVA041 SILVA044 SILVA046 SILVA048 SILVA049 SILVA050 SILVA051 SILVA052 --hemi rh --meas volume --parc aparc --tablefile Desikan_rh_volume_table.Dec17.txt SUBJECTS_DIR : /Volumes/silverilab/Arkadiy/Freesurfer/Freesurfer_Files_with_Freesurfer_Masks/Post_Manual_Edits Parsing the .stats files Traceback (most recent call last): File "/Applications/freesurfer/bin/aparcstats2table", line 376, in <module> parc_measure_map = parsed.parse(options.meas) File "/Applications/freesurfer/bin/fsutils.py", line 215, in parse val = float(strlist[self.measure_column_map[measure]]) IndexError: list index out of range
Note: If I run the “aparcstats2table” command separately for each file, an error does not occur (i.e. when I do “aparcstats2table asegstats2table -s SILVA033 --meas volume --stats wmparc.stats --tablefile Subcortical_WM_Volume1.Dec17_SILVA033.txt).
I would love to hear if anyone has solutions for this.
Thanks, Arkadiy
-- Arkadiy L. Maksimovskiy, Ph.D. Postdoctoral Research Fellow McLean Imaging Center, McLean Hospital Department of Psychiatry, Harvard Medical School