External Email - Use Caution
Am 27.06.2021 um 16:49 schrieb Douglas N. Greve <dgreve@mgh.harvard.edu>:
Can you send the mri_glmfit.log file from your mri_glmfit run?_______________________________________________
Can you run mri_glmfit-sim with --debug as the first option and capture and send the output?
On 6/23/2021 4:42 AM, juergen.haenggi@upd.unibe.ch wrote:
External Email - Use Caution
Dear FS experts
I have run stats using mri_glmfit (FS 7.1.1 on Mac) with the following command
mri_glmfit --y IPS_2groups_n135_lh_thickness.10.mgh --fsgd IPS_fsgd_2groups.txt --glmdir IPS_2groups_n135_Thickness_LH.glmdir --surf fsaverage lh --C IPS_2groups.mat --cortex
and everything worked fine. When trying to run simulations with mri_glmfit-sim with the following command
mri_glmfit-sim --glmdir IPS_2groups_n135_Thickness_LH.glmdir --sim mc-z 500 1.302 lh_mc-z.abs_500p1.3 --sim-sign abs --overwrite --cwpvalthresh 0.25
the following error occurred
Loading y from /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-forceerror: mri_read(): couldn't determine type of file /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-force... done reading.ERROR: loading y /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-force
The entire output is shown below.I do not understand why after the —y option in the command reported by FS in the terminal, i.e.
mri_glmfit --C IPS_2groups_n135_Thickness_LH.glmdir/tmp.mri_glmfit-sim-96372/IPS_2groups.mtx --sim mc-z 500 1.302 IPS_2groups_n135_Thickness_LH.glmdir/csd/lh_mc-z.abs_500p1.3.j001 --sim-sign abs --fwhm 14.598750 --fsgd IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd dods --mask IPS_2groups_n135_Thickness_LH.glmdir/mask.mgh --y --perm-force --surf fsaverage lh white
the input file (IPS_2groups_n135_lh_thickness.10.mgh) is missed and hence the following option —perm-force is interpreted as input file.
How can I fix this problem?
Thanks in advance for any adviseRegardsJürgen
---------------------------------------------------entire output:
[upddkp224:average_IPS_FS7_Linux/stats/glm_group_n135] jurgenhanggi% mri_glmfit-sim --glmdir IPS_2groups_n135_Thickness_LH.glmdir --sim mc-z 500 1.302 lh_mc-z.abs_500p1.3 --sim-sign abs --overwrite --cwpvalthresh 0.25cmdline mri_glmfit --y IPS_2groups_n135_lh_thickness.10.mgh --fsgd IPS_fsgd_2groups.txt --glmdir IPS_2groups_n135_Thickness_LH.glmdir --surf fsaverage lh --C IPS_2groups.mat --cortexSURFACE: fsaverage lhlog file is IPS_2groups_n135_Thickness_LH.glmdir/lh_mc-z.abs_500p1.3.mri_glmfit-sim.log
cd /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/Applications/freesurfer/bin/mri_glmfit-sim--glmdir IPS_2groups_n135_Thickness_LH.glmdir --sim mc-z 500 1.302 lh_mc-z.abs_500p1.3 --sim-sign abs --overwrite --cwpvalthresh 0.25
FreeSurferEnv.csh 7.1.1Wed Jun 23 10:19:19 CEST 2021Darwin upddkp224.unibe.ch 19.6.0 Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64 x86_64jurgenhanggisetenv SUBJECTS_DIR /Applications/freesurfer/subjectsFREESURFER_HOME /Applications/freesurfer
Original mri_glmfit command line:cmdline mri_glmfit --y IPS_2groups_n135_lh_thickness.10.mgh --fsgd IPS_fsgd_2groups.txt --glmdir IPS_2groups_n135_Thickness_LH.glmdir --surf fsaverage lh --C IPS_2groups.mat --cortex
DoSim = 1UseCache = 0DoPoll = 0DoPBSubmit = 0DoBackground = 0DiagCluster = 0gd2mtx = dodsfwhm = 14.598750nSimPerJob = 5001/1 Wed Jun 23 10:19:19 CEST 2021mri_glmfit --C IPS_2groups_n135_Thickness_LH.glmdir/tmp.mri_glmfit-sim-96372/IPS_2groups.mtx --sim mc-z 500 1.302 IPS_2groups_n135_Thickness_LH.glmdir/csd/lh_mc-z.abs_500p1.3.j001 --sim-sign abs --fwhm 14.598750 --fsgd IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd dods --mask IPS_2groups_n135_Thickness_LH.glmdir/mask.mgh --y --perm-force --surf fsaverage lh whiteINFO: ignoring tag CreatorINFO: ignoring tag SUBJECTS_DIRINFO: ignoring tag SynthSeedsimbase IPS_2groups_n135_Thickness_LH.glmdir/csd/lh_mc-z.abs_500p1.3.j001FWHM = 14.598750gdfRead(): reading IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd
WARNING: carriage returns have been detected in file IPS_2groups_n135_Thickness_LH.glmdir/y.fsgdWas it created on a Windows computer?This may cause an error in reading the FSGD file.If so, try running:cat IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd | sed 's/\r/\n/g' > new.IPS_2groups_n135_Thickness_LH.glmdir/y.fsgdThen use new.IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd
INFO: gd2mtx_method is dodsReading source surface /Applications/freesurfer/subjects/fsaverage/surf/lh.whiteNumber of vertices 163842Number of faces 327680Total area 65417.000000AvgVtxArea 0.399269AvgVtxDist 0.721953StdVtxDist 0.195472Surface smoothing by fwhm=14.598750, niters=157.000000
7.1.1cwd /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135cmdline mri_glmfit --C IPS_2groups_n135_Thickness_LH.glmdir/tmp.mri_glmfit-sim-96372/IPS_2groups.mtx --sim mc-z 500 1.302 IPS_2groups_n135_Thickness_LH.glmdir/csd/lh_mc-z.abs_500p1.3.j001 --sim-sign abs --fwhm 14.598750 --fsgd IPS_2groups_n135_Thickness_LH.glmdir/y.fsgd dods --mask IPS_2groups_n135_Thickness_LH.glmdir/mask.mgh --y --perm-force --surf fsaverage lh whitesysname Darwinhostname upddkp224.unibe.chmachine x86_64user jurgenhanggiFixVertexAreaFlag = 1UseMaskWithSmoothing 1fwhm 14.598750niters 157.000000OneSampleGroupMean 0y /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-forcelogyflag 0usedti 0FSGD IPS_2groups_n135_Thickness_LH.glmdir/y.fsgdmask IPS_2groups_n135_Thickness_LH.glmdir/mask.mghmaskinv 0glmdir (null)IllCondOK 0ReScaleX 1DoFFx 0Loading y from /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-forceerror: mri_read(): couldn't determine type of file /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-force... done reading.ERROR: loading y /Applications/freesurfer/subjects/average_IPS_FS7_Linux/stats/glm_group_n135/--perm-force[upddkp224:average_IPS_FS7_Linux/stats/glm_group_n135] jurgenhanggi%
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
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 Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.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.
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.