I don't know the open command. Try some other editor. Attached is what I get when I run the cat command below, and it reads fine into FS.


On 08/25/2014 02:50 AM, Robby De Pauw wrote:
Dear Douglas,

The file is created on a mac using the open -e command. I’ve tried running your command:

cat whiplash.fsgd | sed 's/\r/\n/g' > new.whiplash.fsgd

However, this makes the file unreadable for FreeSurfer. Any ideas?

Thank you in advance,

Robby


Date: Thu, 21 Aug 2014 13:30:19 -0400
From: Douglas N Greve <gr...@nmr.mgh.harvard.edu <mailto:gr...@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] GLM: Error Matric-Scale
To: freesurfer@nmr.mgh.harvard.edu <mailto:freesurfer@nmr.mgh.harvard.edu>
Message-ID: <53f62cab.1060...@nmr.mgh.harvard.edu <mailto:53f62cab.1060...@nmr.mgh.harvard.edu>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


It looks like your fsgd file may have been created on a windows
computer. Is that possible? Try reformatting it in linux or mac.

doug

On 08/20/2014 12:58 PM, Robby De Pauw wrote:







Hi there FreeSurfer

When trying the GLM-analysis I keep getting the following error. Could
you help me with fixing it?

ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08
--------------------------------
Possible problem with experimental design:
Check for duplicate entries and/or lack of range of
continuous variables within a class.
If you seek help with this problem, make sure to send:
1. Your command line:
mri_glmfit --y lh.whiplash.thickness.10B.mgh --fsgd whiplash.fsgd dods
--C group_diff.mtx --surf fsaverage lh --cortex --glmdir
lh.whiplash.glmdir
2. The FSGD file (if using one)
3. And the design matrix above

Thank you in advance,


Robby


Robby De Pauw, dra.
*Ghent University*
Department of Physiotherapy and Rehabilitation Sciences
3B3
De Pintelaan 185
B-9000 Ghent

robby.dep...@ugent.be <mailto:robby.dep...@ugent.be> <mailto:robby.dep...@ugent.be>







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

Robby De Pauw, dra.
*Ghent University*
Department of Physiotherapy and Rehabilitation Sciences
3B3
De Pintelaan 185
B-9000 Ghent

robby.dep...@ugent.be <mailto:robby.dep...@ugent.be>





On 22 Aug 2014, at 18:00, freesurfer-requ...@nmr.mgh.harvard.edu <mailto:freesurfer-requ...@nmr.mgh.harvard.edu> wrote:

Re: [Freesurfer] GLM: Error Matric-Scale



_______________________________________________
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
gr...@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/

GroupDescriptorFile 1
Class GEZ
Class WAD
Input   GEZ_004_HACO            GEZ
Input   GEZ_006_ELDE            GEZ
Input   GEZ_014_GRBU            GEZ
Input   GEZ_033_LOVE            GEZ
Input   GEZ_038_LIDA            GEZ
Input   GEZ_042_MADE            GEZ
Input   GEZ_049_ELWE            GEZ
Input   GEZ_074_FIOR            GEZ
Input   GEZ_075_ISKL            GEZ
Input   GEZ_078_HEVA            GEZ
Input   WAD_017_CACO            WAD
Input   WAD_019_NADE            WAD
Input   WAD_047_JESE            WAD
Input   WAD_057_PACA            WAD
Input   WAD_090_MASU_V_1        WAD
Input   WAD_IWT021_ALAS         WAD
Input   WAD_IWT043_NAME         WAD
Input   WAD_IWT047_KIMO         WAD
_______________________________________________
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.

Reply via email to