And do you have write permissions? Can you touch stats/aseg.stats doug
Fernanda Palhano wrote: > Yes. > > [Fernanda-Palhanos-Mac-Pro:group_analysis_tutorial/004/stats] > fernandapalhano% ls > aseg.stats lh.aparc.a2009s.stats lh.supramarg.stats > rh.aparc.a2009s.stats wmparc.stats > lh.aparc.a2005s.stats lh.aparc.stats > rh.aparc.a2005s.stats rh.aparc.stats > > Fernanda > > On Mon, May 16, 2011 at 4:07 PM, Douglas N Greve > <gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>> wrote: > > does the stats directory exist? > doug > > Fernanda Palhano wrote: > > Hello, > > I'm trying to use mri_segstats to obtain some subcortical > volume stats. When running the command line both in the > tutorial data or in my own data, I have the follow error: > ERROR: could not open stats/aseg.stats for writing > > > [Fernanda-Palhanos-Mac-Pro:buckner_data/tutorial_subjs/group_analysis_tutorial] > fernandapalhano% mri_segstats --seg mri/aseg.mgz --sum > stats/aseg.stats --pv mri/norm.mgz --ctab-default --excludeid > 0 --brain-vol-from-seg --brainmask mri/brainmask.mgz --in > mri/norm.mgz --in-intensity-name norm --in-intensity-units MR > --etiv --subject 004 > Using defalt ctab /Applications/freesurfer/FreeSurferColorLUT.txt > > $Id: mri_segstats.c,v 1.69.2.1 2010/07/26 16:19:29 greve Exp $ > cwd > cmdline mri_segstats --seg mri/aseg.mgz --sum stats/aseg.stats > --pv mri/norm.mgz --ctab-default --excludeid 0 > --brain-vol-from-seg --brainmask mri/brainmask.mgz --in > mri/norm.mgz --in-intensity-name norm --in-intensity-units MR > --etiv --subject 004 > sysname Darwin > hostname Fernanda-Palhanos-Mac-Pro.local > machine i386 > user fernandapalhano > atlas_icv (eTIV) = 1792580 mm^3 (det: 1.086761 ) > ERROR: could not open stats/aseg.stats for writing > > Any ideas? > > Thanks, > Fernanda > > ------------------------------------------------------------------------ > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > <mailto: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 <mailto:gr...@nmr.mgh.harvard.edu> > Phone Number: 617-724-2358 Fax: 617-726-7422 > > Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting > <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting> > FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html > <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html> > > > > 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. > > -- 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: www.nmr.mgh.harvard.edu/facility/filedrop/index.html _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer