Hello Martin,

everything works fine with the newer versions of files.

Thanks for the help!

Have a wonderful day !

Alex.




Le 04/10/2012 8:04 PM, Martin Reuter a écrit :
You need a newer version of glmfit. This is not the 5.1 I think.

Best Martin

Alex Hanganu <al.hanganu@yahoo.ca> wrote:
Hello Martin,

thanks for the help, I changed all the scripts from that page, but the problem still persisted, so one of our colleagues found that the mri_glmfit from the ReleaseNotes (15.8MB) is for Linux, and we are using mac, so we changed back the mri_glmfit to the old version (6MB), and now we have another error:

-----------------------------
SUBJECT pls_pd_base00  Running Within-Subject GLM

Writing ./tmp-pls_pd_base00_lh_thickness_CMeqOW/X-long.mat ...

mri_glmfit --y ./pls_pd_base00/surf/lh.long.thickness-stack.mgh --X ./tmp-pls_pd_base00_lh_thickness_CMeqOW/X-long.mat --allow-zero-dof  --no-contrasts-ok --surf pls_pd_base00 lh --label ./pls_pd_base00/label/lh.long.cortex.label --glmdir ./tmp-pls_pd_base00_lh_thickness_CMeqOW/glm

ERROR: Option --allow-zero-dof unknown
ERROR 255 : mri_glmfit did not work?
-----------------------------

Any ideas ?

Thanks for the help,

Best regards,
Alex.



De : Martin Reuter <mreuter@nmr.mgh.harvard.edu>
À : Alexandru Hanganu <al.hanganu@yahoo.ca>; FS Mailing List <Freesurfer@nmr.mgh.harvard.edu>
Envoyé le : mercredi 3 octobre 2012 17h30
Objet : Re: [Freesurfer] long_mris_slopes error

Not sure.
Maybe try the updated scripts
From
http://martinos.org/~mreuter/long/

Best Martin

Alex Hanganu <al.hanganu@yahoo.ca> wrote:
Dear Freesurfer Experts,

While performing the long_mris_slopes cmd, we receive an error:


SUBJECT pls_pd_base00 Running Within-Subject GLM Writing ./tmp-pls_pd_base00_lh_thickness_Rx7HLs/X-long.mat ... mri_glmfit --y /Applications/freesurfer/subjects/pls_pd_base00/surf/lh.long.thickness-stack.mgh --X ./tmp-pls_pd_base00_lh_thickness_Rx7HLs/X-long.mat --allow-zero-dof --no-contrasts-ok --surf pls_pd_base00 lh --label /Applications/freesurfer/subjects/pls_pd_base00/label/lh.long.cortex.label --glmdir ./tmp-pls_pd_base00_lh_thickness_Rx7HLs/glm Traceback (most recent call last): File "/Applications/freesurfer/bin/long_mris_slopes", line 732, in <module> run_cmd(cmd,'mri_glmfit did not work?') File "/Applications/freesurfer/bin/long_mris_slopes", line 422, in run_cmd retcode = subprocess.call(args) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 443, in call return Popen(*popenargs, **kwargs).wait() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 593, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1079, in _execute_child raise child_exception OSError: [Errno 8] Exec format error
we changed the mris_calc and mri_glmfit files with the new ones (8.2MB / 15.8MB). Can you please help with this ? Thank you in advance, Sincerely, Alex.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


--
Sent from my phone, please excuse brevity.

_______________________________________________
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.