Great. Thanks for letting me know. I post this to the list, so that other know.
Best Martin
On May 31, 2012, at 21:11, Jiyagn jiyang.jiang.email.lists@gmail.com wrote:
Thanks for your reply Martin!
I think I just found out where the problem was - a blank line at the end of the longitudinal table. The program works fine after deleting it. Probably the error is due to the different line break formats in Windows and Linux.
Cheers, Jiyang
On 05/31/2012 10:39 PM, Martin Reuter wrote:
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 Jiangjiyang.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
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.
freesurfer@nmr.mgh.harvard.edu