That does look pretty silly. How did you create your qdec.table.dat and level files? If you created them under windows, then that could be the problem. If not, post your qdec.table.dat file and the gender.level file and I'll take a look
On 06/23/2014 01:33 PM, Mohammed Goryawala wrote:
Hello FreeSurfer Experts,
I am trying to run QDEC for a group comparison study. I am following the tutorial found on http://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/QdecGroupAnalysis_freevi...
However, when I try to load my data table it returns the error.
Loading data table /home/pcopy_project/qdec/qdec.table.dat... Number of columns: 5 fsid column: 1 Number of factors: 4 Number of subjects: 57 Reading discrete factor levels from config file /home/pcopy_project/qdec/gender.levels Female Male done. Reading discrete factor levels from config file /home/pcopy_project/qdec/diagnosis.levels Control Disease done.
ERROR: Subject SIYA_001 has an invalid level 'Male' in the gender column INFO: If 'gender' is a discrete factor, then create a file named 'gender.levels' containing the valid factor names one per line. Error loading the data table.
As you see I have a 'gender.levels' file in the same directory as the data file and it reads it above. I still get the error.
I am new to QDEC and any help would be appreciated.
Thank you Mohammed Goryawala, PhD Research Associate Department of Radiology University of Miami Miller School of Medicine
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer