[Freesurfer] commands to extract thickness values

2013-01-18 Thread Catherine Bois
Hi, I am trying to extract stats files from my subjects using this command

aparcstats2table --hemi lh --subjects EHRS_* --skip --meas thickness  
--parc --aparc --tablefile lh.thick.table

however I keep getting this error message

Parsing the .stats files
Skipping  
/sdata/images/projects/EHRS/2/Freesurfer_EHRS/READYFORANALYSIS/EHRS_0970_3/stats/lh.--aparc.stats
Building the table..
Traceback (most recent call last):
   File /usr/local2/freesurfer/bin/aparcstats2table, line 338, in ?
 rows, columns, table = sanitize_table(options, pretable)
   File /usr/local2/freesurfer/bin/aparcstats2table, line 253, in  
sanitize_table
 _spec, _parc_measure_map = dt[0]
IndexError: list index out of range
[cbois@poplar ~]$

I have previously used this command on version 5, I now have version  
5.1, have the commands possibly changed?

Thanks,

Cathy

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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



Re: [Freesurfer] commands to extract thickness values

2013-01-18 Thread Douglas N Greve
Hi Cathy, try removing --parc --aparc or changing it to --parc 
aparc. Let me know if that works.
doug


On 01/18/2013 09:26 AM, Catherine Bois wrote:
 Hi, I am trying to extract stats files from my subjects using this command

 aparcstats2table --hemi lh --subjects EHRS_* --skip --meas thickness
 --parc --aparc --tablefile lh.thick.table

 however I keep getting this error message

 Parsing the .stats files
 Skipping
 /sdata/images/projects/EHRS/2/Freesurfer_EHRS/READYFORANALYSIS/EHRS_0970_3/stats/lh.--aparc.stats
 Building the table..
 Traceback (most recent call last):
 File /usr/local2/freesurfer/bin/aparcstats2table, line 338, in ?
   rows, columns, table = sanitize_table(options, pretable)
 File /usr/local2/freesurfer/bin/aparcstats2table, line 253, in
 sanitize_table
   _spec, _parc_measure_map = dt[0]
 IndexError: list index out of range
 [cbois@poplar ~]$

 I have previously used this command on version 5, I now have version
 5.1, have the commands possibly changed?

 Thanks,

 Cathy


-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

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