Many thanks! It worked.


On Wed, May 28, 2014 at 4:19 PM, Douglas N Greve <greve@nmr.mgh.harvard.edu> wrote:
It has to be a text/ascii file
On 05/28/2014 03:45 PM, Yu(余)Qijing(奇静) wrote:
> Dear Freesurfers,
>
> I am experiencing the following problem when I load the qdec.table.dat
> file in qdec:
>
> Loading data table /Volumes/fMRI/Scanner_Data/qdec/qdec.table.dat...
> QdecDataTable::Load: will attempt to open as Mac text file...
> Number of columns: 4
> fsid column: 1
> Number of factors: 3
> Number of subjects: 89
> Reading discrete factor levels from config file
> /Volumes/fMRI/Scanner_Data/qdec/gender.levels
> ??
> done.
> ERROR: /Volumes/fMRI/Scanner_Data/qdec/gender.levels is invalid. Must
> have at least two levels.
>
>
>
> The discrete factor is gender. I tried adding a new line at the end of
> both qdec.table.dat and gender.levels files, but still have the
> problem. I attached the gender.levels. I created both .dat and .levels
> files in excel, and saved as delimited txt, then forced the extension
> to be .levels and .dat. Did I do anything wrong when creating them?
> Also I noticed "QdecDataTable::Load: will attempt to open as Mac text
> file...", could this mean the error may be from qdec.table.dat file?
>
> Thank you very much! All the best,
> QJ
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

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