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> Subject: Re: [Freesurfer] GLM: Error Matric-Scale To: freesurfer@nmr.mgh.harvard.edu Message-ID: <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> > > > > > > > > _______________________________________________ > Freesurfer mailing list > 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 On 22 Aug 2014, at 18:00, 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 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.