Dear Doug,

It is a mac. I made the meditation.levels file using emacs. 

emacs meditation.levels --> type "Normal" (level1) --> hit enter --> type "TM" (level2) --> save file

Thank you very much!

Sincerely,
Ye
 


On Thu, Aug 8, 2013 at 4:22 PM, Douglas N Greve <greve@nmr.mgh.harvard.edu> wrote:
How did you create the levels file? Eg, did you use a windows computer?
Or did you use msword or some other word processor. If not, can you send
the levels file?
On 08/08/2013 03:49 PM, ye tian wrote:
> Dear freesurfers,
>
> I am experimenting qdec with one of my discrete variables. Besides
> qdec.table.dat file, I do have a .levels file with the two levels of
> the variable (say level1 and level2). However, I keep getting the
> following error message:
>
> Reading discrete factor levels from config file
> /$SUBJECTS_DIR/qdec/meditation.levels
>         level1
> done.
> ERROR: /$SUBJECTS_DIR/qdec/meditation.levels is invalid. Must have at
> least two levels.
> Error loading the data table.
>
> Is there something that I have missed in the declaration of the variable?
>
> Thank you very much!
>
> Sincerely,
> Ye
>
>
> _______________________________________________
> 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.