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

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