Appears to be having problems reading the qdec table. It might be expecting the qdec table to actually variables in it. Can you try adding variables? Also, try it without the --qdec flag instead specifying the subjects with --subjects HC003_1 HC004_1 ...
On 11/8/16 8:09 PM, Martin Juneja wrote:
Hi everyone,
I am trying to use following command to save stats from a set of subjects in a table format:
aparcstats2table --qdec qdec.dat --hemi lh --meas thickness -t zzz.txt
But after I run this, I get following error:
Traceback (most recent call last):
File "/usr/local/freesurfer/bin/aparcstats2table", line 353, in <module>
subj_listoftuples = assemble_inputs(options)
File "/usr/local/freesurfer/bin/aparcstats2table", line 228, in assemble_inputs
fsid=row['fsid'].strip()
KeyError: 'fsid'
My qdec.dat file looks like below:
fsidHC003_1 HC004_1 HC006_1 HC015_1
This command works fine if I use subject IDs individually here e.g. aparcstats2table --subjects HC_Example HC003_1 HC004_1 HC006_1 HC015_1 --hemi lh --meas thickness -t zzz.txt
Another question I have here is: How can I average these thickness stats and display it on standard fsaverage?
Any help would be really appreciated.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer