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