Hi Saman,
It looks like with the --subjects flag you are pointing Freesurfer to the stats directory within a subject directory (where Freesurfer expects the subject directory). aparcstats2table and asegstats2table assume a standard Freesurfer directory configuration so try entering just the subject directory (one level up from stats) is enough and Freesurfer will know to access the proper stats files that you specify. Also try and double check your SUBJECTS_DIR.
Cheers, Bill
From: freesurfer-bounces@nmr.mgh.harvard.edu on behalf of saman fouladi smnfouladi@yahoo.com Reply-To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Date: Tuesday, November 3, 2020 at 12:24 PM To: "freesurfer@nmr.mgh.harvard.edu" freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] (no subject)
External Email - Use Caution hi
I run in linux command: """"""""""""""""""""""""""""""""""""""""""" aparcstats2table --hemi lh --subjects /home/team33/MRI4/subj10/stats --parc aparc.a2009s --meas meancurv --tablefile /home/team33/ aparcstats.txt """"""""""""""""""""""""""""""""""""""""""" but show below error an i can not solve it nix:
""""""""""""""""""""""""""""""""""""""""""" File "/usr/local/freesurfer/bin/aparcstats2table", line 156 print 'ERROR: atleast 1 subject must be provided' """""""""""""""""""""""""""""""""""""""""""
I changed the code several times, but in all cases there is this error. This error also happens to asegstats2table.
please help me