Hi Chikku-- What is your discrete variable? does it have more than one
level? is it entered in the fsgd file? It looks like your discrete
variable(s) is not defined properly. It must have at least two levels
(e.g. Male/Female, RightHanded/LeftHanded, etc.). Check your fsgd file to
so it is properly constructed:
check the following link for formatting a legal fsgd file.
http://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat

 shantanu

On Thu, March 7, 2013 7:40 am, Varghese Chikku wrote:
> shantanu,
> Many Thanks
> Still  error loading data,
> this is what i am getting.
> - freesurfer-Darwin-leopard-i686-stable-pub-v5.1.0 --------
> Setting up environment for FreeSurfer/FS-FAST (and FSL)
> FREESURFER_HOME   /Applications/freesurfer
> FSFAST_HOME       /Applications/freesurfer/fsfast
> FSF_OUTPUT_FORMAT nii.gz
> SUBJECTS_DIR      /Applications/freesurfer/subjects
> MNI_DIR           /Applications/freesurfer/mni
> chikkus-MacBook-Pro:~ chikkuvarghese$ cat
> /Users/chikkuvarghese/subject/qdec/anatomy.levels
> right hippocampus
> left hippocampuschikkus-MacBook-Pro:~ chikkuvarghese$ qdec
>
> Reading /Applications/freesurfer/tktools/tkUtils.tcl
>
> Using /Applications/freesurfer/lib/tcl/fsgdfPlot.tcl
>
> Loading data table /Users/chikkuvarghese/subject/qdec/qdec.table.dat...
> Number of columns:  4
> fsid column:        1
> Number of factors:  3
> Number of subjects: 2
> Reading discrete factor levels from config file
> /Users/chikkuvarghese/subject/qdec/age.levels
> age
> 70
> 71
> done.
> Reading discrete factor levels from config file
> /Users/chikkuvarghese/subject/qdec/anatomy.levels
> right hippocampus
> done.
> ERROR: /Users/chikkuvarghese/subject/qdec/anatomy.levels is invalid. Must
> have at least two levels.
> Error loading the data table.
>
>
> Kind Regards
> chikku
>
>
>
>
>
>
>
>
>
> On 6 March 2013 18:19, Shantanu Ghosh <shant...@nmr.mgh.harvard.edu>
> wrote:
>
>> ok try editing qdec.table.dat by just pressing <Enter> after the subject
>> with the error and the last line
>>  hth. shantanu
>>
>> On Wed, March 6, 2013 12:12 pm, Varghese Chikku wrote:
>> > no luck Shantanu
>> > This comes up
>> > Loading data table
>> /Users/chikkuvarghese/subject/qdec/qdec.table.dat...
>> > Number of columns:  4
>> > fsid column:        1
>> > Number of factors:  3
>> > Number of subjects: 1
>> > ERROR: QdecDataTable::Load: problem parsing file
>> > /Users/chikkuvarghese/subject/qdec/qdec.table.dat
>> > This line did not appear to end with a newline:
>> > truetest2.long.ie      70               m
>> lefthippocampus
>> > Error loading the data table.
>> >
>> > this is what i  did xedit qdec.table.dat/ and saved in to the qdec
>> > directory.After i saved it I noticed this,and extra file
>> >  saying qdec.table.dat.textClipping
>> > Am I doing something terribly wrong,
>> > Sorry
>> > chikku
>> >
>> > On 6 March 2013 17:34, Shantanu Ghosh <shant...@nmr.mgh.harvard.edu>
>> > wrote:
>> >
>> >> Hi Chikku-- can you try with a /newline at the end of your .dat file?
>> >> shantanu
>> >>
>> >> On Wed, March 6, 2013 10:40 am, Varghese Chikku wrote:
>> >> > All,
>> >> > Any idea how can I  sort this error,
>> >> > Loading data table
>> >> /Users/chikkuvarghese/subject/qdec/qdec.table.dat...
>> >> > Number of columns:  4
>> >> > fsid column:        1
>> >> > Number of factors:  3
>> >> > Number of subjects: 1
>> >> > ERROR: QdecDataTable::Load: problem parsing file
>> >> > /Users/chikkuvarghese/subject/qdec/qdec.table.dat
>> >> > This line did not appear to end with a newline:
>> >> > truetest2.long.e                Female        70
>> >> >  Righthippocampus 4006
>> >> > Error loading the data table.
>> >> >
>> >> > Many Thanks
>> >> > chikku
>> >> > _______________________________________________
>> >> > Freesurfer mailing list
>> >> > Freesurfer@nmr.mgh.harvard.edu
>> >> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>> >>
>> >>
>> >> --
>> >> Shantanu Ghosh, Ph.D.
>> >> Harvard Medical School & Massachusetts General Hospital
>> >> Martinos Center for Biomedical Imaging
>> >>
>> >>
>> >>
>> >> 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.
>> >>
>> >>
>> >>
>> >
>>
>>
>> --
>> Shantanu Ghosh, Ph.D.
>> Harvard Medical School & Massachusetts General Hospital
>> Martinos Center for Biomedical Imaging
>>
>>
>>
>


-- 
Shantanu Ghosh, Ph.D.
Harvard Medical School & Massachusetts General Hospital
Martinos Center for Biomedical Imaging

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to