Hello Freesurfer Experts, Thanks so much again for all of your help. I am trying to complete the Anatomical ROI Analysis Tutorial because I will need to use segmentation volumes for an experiment we`re running in the lab. In particular, I am trying to complete the group stats files part of the tutorial so that I know how to export this data in the future to excel for statistical analysis. However, I keep getting the following error: IOError: [Errno 13] Permission denied: 'aseg_stats.txt' I have tried to put in my password with sudo, make myself a superuser, and chmod, but nothing seems to work. When I do sudo it will tell me that my SUBJECTS_DIR isn`t defined although it is defined in the first two lines of every terminal window I open (because of my .profile). See here:
IOError: [Errno 13] Permission denied: 'aseg_stats.txt' [dbm079-066:/Applications/freesurfer/subjects] claire% sudo asegstats2table --subjects 004 008 --meas volume --tablefile aseg_stats.txt Password: ERROR: SUBJECTS_DIR environment variable not defined! Additionally, sometimes I will also see the following error ERROR: output table name should be specified (use --tablefile FILE) after putting in the following: claire% asegstats2table --subjects 004 008 \ --segno 11 17 18 \ --tablefile aseg.vol.txt ERROR: output table name should be specified (use --tablefile FILE) Please help! I have tried everything I can think of. Thank you for everything, Claire -- *We shall not cease from exploration. And the end of all our exploring will be to arrive where we started and know the place for the first time- T.S. Eliot*
_______________________________________________ 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.