[Freesurfer] Error with asegstats2table function

2014-10-30 Thread Claire Morley
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.


Re: [Freesurfer] Error with asegstats2table function

2014-10-30 Thread Douglas N Greve

You are in a folder that you do not have write permission to. Try cding 
to a different folder, or spec a path to a folder where  you have write 
permissions, eg,

asegstats2table --subjects 004 008 --meas volume --tablefile 
/tmp/aseg_stats.txt


doug

On 10/30/2014 08:28 AM, Claire Morley wrote:
 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

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

___
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.