Dear FS team, I tried to run this command
asegstats2table --subjects bert ernie fred margaret --meas volume --tablefile aseg_stats.txt
But got this error,permission denied,
SUBJECTS_DIR : /usr/local/freesurfer/subjects Parsing the .stats files Building the table.. Writing the table to aseg_stats.txt Traceback (most recent call last): File "/usr/local/freesurfer/bin/asegstats2table", line 517, in <module> write_table(options, rows, columns, table) File "/usr/local/freesurfer/bin/asegstats2table", line 462, in write_table tw.write() File "/usr/local/freesurfer/bin/datastruct_utils.py", line 58, in write fp = open(self.filename, 'w') IOError: [Errno 13] Permission denied: 'aseg_stats.txt' freesurfer@freesurfer-VirtualBox:/usr/lib$
Many thanks
Chikku
Hi Chikku, I think this is a permissions issue. Check that you have write permissions to where you are trying to write the stats table. -Louis
On Wed, 19 Jun 2013, Varghese Chikku wrote:
Dear FS team, I tried to run this command
asegstats2table --subjects bert ernie fred margaret --meas volume --tablefile aseg_stats.txt
But got this error,permission denied,
SUBJECTS_DIR : /usr/local/freesurfer/subjects
Parsing the .stats files Building the table.. Writing the table to aseg_stats.txt Traceback (most recent call last): File "/usr/local/freesurfer/bin/asegstats2table", line 517, in <module>
write_table(options, rows, columns, table) File "/usr/local/freesurfer/bin/asegstats2table", line 462, in write_table tw.write() File "/usr/local/freesurfer/bin/datastruct_utils.py", line 58, in write
fp = open(self.filename, 'w') IOError: [Errno 13] Permission denied: 'aseg_stats.txt' freesurfer@freesurfer-VirtualBox:/usr/lib$
Many thanks
Chikku
freesurfer@nmr.mgh.harvard.edu