Hi,

I'm trying to use mri_segstats and get the following error:

ERROR: could not open stats/aseg1.stats for writing

The full command I gave was:

mri_segstats --seg mri/aseg.mgz --sum stats/aseg1.stats --pv mri/ 
norm.mgz --empty --excludeid 0 --excl-ctxgmwm --supratent -- 
subcortgray --in mri/norm.mgz --in-intensity-name norm --in-intensity- 
units MR --etiv --surf-wm-vol --surf-ctx-vol --totalgray --ctab / 
Applications/freesurfer/ASegStatsLUT.txt --subject C001

The SUBJECTS_DIR was set to the directory containing the subject C001.
I have full privileges to read/write to all folders.

If I try to write to just aseg1.stats (so using option --sum  
aseg1.stats) I get the
error message that aseg.mgz could not be opened.

I'm on a Mac using FreeSurfer v5.0.0.

Ed

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

Reply via email to