Hi Krish
Thanks again for your quick help! I tried out the new version, it seams to work fine.
Nevertheless, I created a new parcellation with mris_anatomical_stats getting a .stat file I called aparc.a2005s_300. Only now I get the following error message (Which was not the case in the former version):
aparcstats2table: error: option --parc: invalid choice: 'aparc.a2005s_300' (choose from 'aparc', 'aparc.a2005s')
How can I force the -parc option to read my own parcellations?
Diana
Hi Diana,
Make sure you name stats file as ?h.aparc.a2005s_300.stats not just aparc.a2005s_300.stats.
then --parc aparc.a2005s_300
this should work otherwise if you post your commands, that will help.
thanks pratap
Hi Krish
Thanks again for your quick help! I tried out the new version, it seams to work fine.
Nevertheless, I created a new parcellation with mris_anatomical_stats getting a .stat file I called aparc.a2005s_300. Only now I get the following error message (Which was not the case in the former version):
aparcstats2table: error: option --parc: invalid choice: 'aparc.a2005s_300' (choose from 'aparc', 'aparc.a2005s')
How can I force the -parc option to read my own parcellations?
Diana _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Dear Pratap
The file is called ?h.aparc.a2005s_300.stats as you suggested. The commands I used are the following:
mris_divide_parcellation fsaverage_fineparc ?h aparc.a2005s.annot 300 ?h.aparc.a2005s_300.annot
mri_surf2surf --srcsubject fsaverage_fineparc --sval-annot aparc.a2005s_300.annot --trgsubject 001--tval aparc.a2005s_300.annot --hemi ?h
mris_anatomical_stats -a aparc.a2005s_300.annot -t ?h.thickness -b -f 001/stats/?h.aparc.a2005s_300.stats 001 ?h
aparcstats2table --subjects 001 002 003 --hemi ?h --parc aparc.a2005s_300 --meas thickness -t ?h_aparc.a2005s_300_stat.txt
Thanks for your help Diana
Hi Diana
Sorry. For a quick fix, could you open up aparcstats2table, go to line # 108 where it says choices=('aparc', 'aparc.a2005s'), and delete that line.
Make sure the indentation of the next line is not disturbed
and it should work.
Krish
On Feb 6, 2009, at 5:30 AM, Diana Wotruba wrote:
Hi Krish
Thanks again for your quick help! I tried out the new version, it seams to work fine.
Nevertheless, I created a new parcellation with mris_anatomical_stats getting a .stat file I called aparc.a2005s_300. Only now I get the following error message (Which was not the case in the former version):
aparcstats2table: error: option --parc: invalid choice: 'aparc.a2005s_300' (choose from 'aparc', 'aparc.a2005s')
How can I force the -parc option to read my own parcellations? Diana
freesurfer@nmr.mgh.harvard.edu