Hi,

I'm trying to run asegstats2table

asegstats2table  --subjects subjlist.csv --skip --delimiter comma
--common-segs --tablefile asegs_03042016.csv


All subjects in the subjlist are present in the directory but I get this
error message:

Parsing the .stats files
Building the table..
Traceback (most recent call last):
  File "/usr/local/freesurfer/bin/asegstats2table", line 560, in <module>
    rows, columns, table = sanitize_table(options, pretable)
  File "/usr/local/freesurfer/bin/asegstats2table", line 454, in
sanitize_table
    _specs, _id_name_map, _measl = _t[0]
IndexError: list index out of range


I get the error message even if I reduce the list to two subjects. It works
if I do this (all subjdirs begin with PD):


asegstats2table  --subjects PD* --skip --delimiter comma --common-segs
--tablefile asegs_03042016.csv


And it works if I enter the subjects' names individually. With over 100
subjects, however, that's not an option.


I'd be grateful for any suggestion on how to run asegstats2table with a
subjects list.

Thank you!


sincerely yours,

Lars M. Rimol, PhD
Senior researcher,
Norwegian Advisory Unit for functional MRI
Department of Radiology,
St. Olav's University hospital,
7006 Trondheim,
Norway
_______________________________________________
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