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

Attachment: aseg.stats
Description: aseg.stats

_______________________________________________
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