Re: [Freesurfer] asegstats2table error depending on subject sorting

2013-04-26 Thread Andreas Berger
Hi Doug, yes. and i narrowed it down: asegstats2table can deal with non-subjects (fsaverage, qdec), unless it is the *first item* in the list. If they are somewhere in between, they are just skipped, with a meaningful message. Anyway, my bad for not sanitizing the list, it previously (v5.1) wo

Re: [Freesurfer] asegstats2table error depending on subject sorting

2013-04-24 Thread Douglas N Greve
Hi Andreas, fsaverage does not have stats files so should cause it to crash. Are you saying that if you sort it in a certain way, you can get it to run with fsaverage? doug On 04/24/2013 09:51 AM, Andreas Berger wrote: > Hi Surfers, > > as of version 5.2, i'm getting an error using asegstats2t

[Freesurfer] asegstats2table error depending on subject sorting

2013-04-24 Thread Andreas Berger
Hi Surfers, as of version 5.2, i'm getting an error using asegstats2table, depending on how i sort the subjects: andreas@psy058:~$ asegstats2table --subjects $(ls $SUBJECTS_DIR | sort -t _ -k 1 -nk 2) -t segstats.csv --skip -d comma SUBJECTS_DIR : /mnt/raid/freesurfer/subjects Parsing the .sta