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:

fsid
HC003_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.