Hey All,
I am trying to turn my long.qdec.table.dat into a cross.qdec.table.dat using the following command:
long_qdec_table --qdec ./qdec/long.qdec.table.dat --cross --out ./qdec/cross.qdec.table.dat
However, when I try and load it into QDEC afterwards I get the following error:
Loading data table /data/freesurfer/qdec/cross.qdec.table.dat... Number of columns: 103 fsid column: 1 Number of factors: 102 Number of subjects: 0 ERROR: QdecDataTable::Load: number of subjects = 0 Error loading the data table.
I attached both the long.qdec and the cross.qdec tables, if someone knows what I am doing wrong, I would love some help!
Chris
Hi Chris,
the cross qdec table is messed up ( a single line without line breaks). long_qdec_table has problems reading your long-table because it contains 'tabs', several spaces instead of a single one between other columns and also not the line breaks it expects (the windows format).
I will look into this, to see if I can make the program more flexible with respect to the input. In the meantime, you can - replace tabs with spaces - replace multiple spaces with single space - replace line breaks with linux style line breaks
open it in linux with nedit and you'll see.
Best, Martin
On 03/13/2013 08:20 AM, Christopher McCarthy wrote:
Hey All,
I am trying to turn my long.qdec.table.dat into a cross.qdec.table.dat using the following command:
long_qdec_table --qdec ./qdec/long.qdec.table.dat --cross --out ./qdec/cross.qdec.table.dat
However, when I try and load it into QDEC afterwards I get the following error:
Loading data table /data/freesurfer/qdec/cross.qdec.table.dat... Number of columns: 103 fsid column: 1 Number of factors: 102 Number of subjects: 0 ERROR: QdecDataTable::Load: number of subjects = 0 Error loading the data table.
I attached both the long.qdec and the cross.qdec tables, if someone knows what I am doing wrong, I would love some help!
Chris
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hi Chris,
try to rename the LongQdecTable.* files in your FS install and place a new LongQdecTable.py file there
from here: http://martinos.org/~mreuter/LongQdecTable.py
the new one uses universal newline support. Not sure if the Python on your system supports this. Let me know (also what system you are using and what OS version, also the version of Python)
Thanks, Martin
On 03/13/2013 08:20 AM, Christopher McCarthy wrote:
Hey All,
I am trying to turn my long.qdec.table.dat into a cross.qdec.table.dat using the following command:
long_qdec_table --qdec ./qdec/long.qdec.table.dat --cross --out ./qdec/cross.qdec.table.dat
However, when I try and load it into QDEC afterwards I get the following error:
Loading data table /data/freesurfer/qdec/cross.qdec.table.dat... Number of columns: 103 fsid column: 1 Number of factors: 102 Number of subjects: 0 ERROR: QdecDataTable::Load: number of subjects = 0 Error loading the data table.
I attached both the long.qdec and the cross.qdec tables, if someone knows what I am doing wrong, I would love some help!
Chris
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hey Martin,
Thanks for your quick response and all the great work you've done on the longitudinal pipeline. Replacing the LongQdecTable.py did the trick.
Thanks again,
Chris
On Thu, Mar 14, 2013 at 12:38 PM, Martin Reuter <mreuter@nmr.mgh.harvard.edu
wrote:
Hi Chris,
try to rename the LongQdecTable.* files in your FS install and place a new LongQdecTable.py file there
from here: http://martinos.org/~mreuter/LongQdecTable.py
the new one uses universal newline support. Not sure if the Python on your system supports this. Let me know (also what system you are using and what OS version, also the version of Python)
Thanks, Martin
On 03/13/2013 08:20 AM, Christopher McCarthy wrote:
Hey All,
I am trying to turn my long.qdec.table.dat into a cross.qdec.table.dat using the following command:
long_qdec_table --qdec ./qdec/long.qdec.table.dat --cross --out ./qdec/cross.qdec.table.dat
However, when I try and load it into QDEC afterwards I get the following error:
Loading data table /data/freesurfer/qdec/cross.qdec.table.dat... Number of columns: 103 fsid column: 1 Number of factors: 102 Number of subjects: 0 ERROR: QdecDataTable::Load: number of subjects = 0 Error loading the data table.
I attached both the long.qdec and the cross.qdec tables, if someone knows what I am doing wrong, I would love some help!
Chris
Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-- Dr. Martin Reuter Assistant in Neuroscience - Massachusetts General Hospital Instructor in Neurology - Harvard Medical School MGH / HMS / MIT
A.A.Martinos Center for Biomedical Imaging 149 Thirteenth Street, Suite 2301 Charlestown, MA 02129
Phone: +1-617-724-5652 Email: mreuter@nmr.mgh.harvard.edu reuter@mit.edu Web : http://reuter.mit.edu
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