Hi Doug,

my command line is

aparcstats2table --subjects subject1 subject2 subject3 --hemi rh --meas thickness --tablefile aparc_stats.txt

I tried it on single subjects randomly chosen from the complete list and it works....anyway it's still not working on the complete list while it works fine for the left hemisphere (same list of subjects).

Sorry for bothering and thanks again for your help,

Pietro


2013/8/29 Douglas N Greve <greve@nmr.mgh.harvard.edu>

What is your command line? Try it on a single subject to see if it fails
doug




On 08/29/2013 02:00 PM, Pietro De Rossi wrote:
Hi Doug,

It doesn't seem it is failing on a particular subject...or I am not able to get it from the error. Futhermore, nothing changes if I use the --skip flag.
What does it mean when it says:

"List index out of range"?

Inviato da iPhone

Il giorno 29/ago/2013, alle ore 19:38, Douglas N Greve <greve@nmr.mgh.harvard.edu> ha scritto:

Is it failing on one particular subject?


On 08/29/2013 09:38 AM, pietro de rossi wrote:
Dear FreeSurfers,

I am extracting thickness values through the aparcstats2table command
line.

Everything works just fine for --hemi lh using the --skip flag.

However, when it comes to the right hemisphere I get

SUBJECTS_DIR : /usr/local/freesurfer/subjects
Parsing the .stats files
Traceback (most recent call last):
File "/usr/local/freesurfer/bin/aparcstats2table", line 321, in <module>
parc_measure_map = parsed.parse(options.meas)
File "/usr/local/freesurfer/bin/fsutils.py", line 194, in parse
parcid = strlist[0]
IndexError: list index out of range

I find it weird given that I am extracting thickness values for the
same subjects.

Can anybody help me find out what the problem is?

Thank you in advance,

Pietro

--
Pietro De Rossi, MD
-------------------------------------
Sapienza Università di Roma, Facoltà di Medicina e Psicologia,
Dipartimento NESMOS (Neuroscienze, Salute Mentale, Organi di Senso),
Ospedale Sant'Andrea, Via di Grottarossa 1035-1039, 00189 Roma

NESMOS Department (Neurosciences, Mental Health and Sensory
Functions), School of Medicine and Psychology, Sapienza University,
Sant’Andrea Hospital, Via di Grottarossa 1035-1039, 00189 Rome, Italy

Neurobehavioral Clinical Research Section, Social and Behavioral
Research Branch, National Human Genome Research Institute (NHGRI),
National Institutes of Health (NIH), Bethesda, Maryland 20892, USA


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
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.



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

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




--
Pietro De Rossi, MD
-------------------------------------
Sapienza Università di Roma, Facoltà di Medicina e Psicologia, Dipartimento NESMOS (Neuroscienze, Salute Mentale, Organi di Senso), Ospedale Sant'Andrea, Via di Grottarossa 1035-1039, 00189 Roma

NESMOS Department (Neurosciences, Mental Health and Sensory Functions), School of Medicine and Psychology, Sapienza University, Sant’Andrea Hospital, Via di Grottarossa 1035-1039, 00189 Rome, Italy

Neurobehavioral Clinical Research Section, Social and Behavioral Research Branch, National Human Genome Research Institute (NHGRI), National Institutes of Health (NIH), Bethesda, Maryland 20892, USA