Ok, now everything works. I just opened the file in terminal using pico and saved it.
On Mon, May 23, 2011 at 9:43 AM, Tetiana Dadakova <tetian...@gmail.com> wrote: > Thank you Nick, > > Now I have another error: > > Loading data table > /Applications/freesurfer/subjects/group_analysis/qdec/qdec.table.dat... > Number of columns: 384 > fsid column: 1 > Number of factors: 383 > Number of subjects: 0 > ERROR: QdecDataTable::Load: number of subjects = 0 > Error loading the data table. > > Although there are just 3 columns and 126 subjects.Maybe I do > something wrong when creating the file, therefore here are my steps: > 1. Create table it in MS Excel, save it as tab-delimited qdec.table.txt > 2. Open qdec.table.txt and end one carriage return in the end to > prevent problem described above > 3. change .txt into .dat > > Am I doing something wrong? > > Thanks, > Tanja. > > > On Sat, May 21, 2011 at 6:09 PM, Nick Schmansky > <ni...@nmr.mgh.harvard.edu> wrote: >> I think you might need to add an extra carriage return at the end of the >> last line. in other words, your cursor should go an empty line at the >> bottom of the file. >> >> n. >> >> >> >> On Sat, 2011-05-21 at 14:34 +0200, Tetiana Dadakova wrote: >>> Dear list, >>> >>> I am trying to load qdec.table.dat file using qdec, and get the following >>> error: >>> >>> Loading data table >>> /Applications/freesurfer/subjects/group_analysis/qdec/qdec.table.dat... >>> QdecDataTable::Load: will attempt to open as Mac text file... >>> Number of columns: 3 >>> fsid column: 1 >>> Number of factors: 2 >>> Number of subjects: 126 >>> ERROR: QdecDataTable::Load: problem parsing file >>> /Applications/freesurfer/subjects/group_analysis/qdec/qdec.table.dat >>> This line did not appear to end with a newline: >>> PAT_ViOl 25 pat >>> Error loading the data table. >>> >>> This is the last line in the file and therefore there is no new line after >>> it. >>> What can cause this error? >>> >>> Thank you, >>> Tanja. >>> _______________________________________________ >>> 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. >> >> > _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer