Hi Martin,
I came across a problem when shrinking longitudinal qdec tables with 345 subject in two time points, into cross sectional form. The error states as follows:
------------------------------------------ [jiyang@abc qdec]$ long_qdec_table --qdec ./long.qdec.table.dat --cross --out ./cross.qdec.table.test.dat Parsing the qdec table: ./long.qdec.table.dat Traceback (most recent call last): File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/long_qdec_table", line 142, in <module> longqdec = LongQdecTable(options.qdec) File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/LongQdecTable.py", line 30, in __init__ self.parse(stpmap) File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/LongQdecTable.py", line 58, in parse if strlst[0].upper() == 'SUBJECTS_DIR': IndexError: list index out of range ----------------------------------------------
I found Derin posted the same question on 20 Apr 2012, but it seems no following answers after.
This error disappeared after deconstructing longitudinal qdec table.
Any suggestion or clue will be appreciated. Thanks!
Jiyang
Hi Jiyang,
Must have missed Derin's mail.
Can you send the table And command? I can then try to see if this bug is still in our dev version or if it got fixed in the meantime.
Best Martin
On May 30, 2012, at 22:06, Jiyang Jiang jiyang.jiang.email.lists@gmail.com wrote:
Hi Martin,
I came across a problem when shrinking longitudinal qdec tables with 345 subject in two time points, into cross sectional form. The error states as follows:
[jiyang@abc qdec]$ long_qdec_table --qdec ./long.qdec.table.dat --cross --out ./cross.qdec.table.test.dat Parsing the qdec table: ./long.qdec.table.dat Traceback (most recent call last): File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/long_qdec_table", line 142, in <module> longqdec = LongQdecTable(options.qdec) File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/LongQdecTable.py", line 30, in __init__ self.parse(stpmap) File "/usr/local/software/freesurfer/freesurfer-5.1.0/bin/LongQdecTable.py", line 58, in parse if strlst[0].upper() == 'SUBJECTS_DIR': IndexError: list index out of range
I found Derin posted the same question on 20 Apr 2012, but it seems no following answers after.
This error disappeared after deconstructing longitudinal qdec table.
Any suggestion or clue will be appreciated. Thanks!
Jiyang _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu