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@nmr.mgh.harvard.edu