External Email - Use Caution
Hi Freesurfer experts,
I am trying to collate all morphological parameters like thickness, area,
volume, etc.
When I tried executing the command " asegstats2table --subjects Met001
met002 .... --hemi lh --meas area --tablefile Area_aseg_stats.txt ", it
failed and I got the below error which is highlighted.
File "/usr/local/freesurfer/bin/asegstats2table", line 195
print 'ERROR: subjects are not specified (use --subjects SUBJECTS)'
^
SyntaxError: invalid syntax
File "/usr/local/freesurfer/bin/asegstats2table", line 195
print 'ERROR: subjects are not specified (use --subjects SUBJECTS)'
^
SyntaxError: invalid syntax
File "/usr/local/freesurfer/bin/aparcstats2table", line 156
print 'ERROR: atleast 1 subject must be provided'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('ERROR: atleast 1 subject must be provided')?
File "/usr/local/freesurfer/bin/aparcstats2table", line 156
print 'ERROR: atleast 1 subject must be provided'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print('ERROR: atleast 1 subject must be provided')?
I am using the Freesurfer version6 and ubuntu 20.04.
A similar error was reported in the forum and I also tried the suggested
solution by setting python2.7 as the default version. However, nothing has
worked out for me.
Any help would be highly appreaciated.
Thanks,
Vittal
_______________________________________________
Freesurfer mailing list
[email protected]
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 Mass General Brigham
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to
continue communication over unencrypted e-mail, please notify the sender of
this message immediately. Continuing to send or respond to e-mail after
receiving this message means you understand and accept this risk and wish to
continue to communicate over unencrypted e-mail.