Dear Doug

Thanks a lot for your reply.
So, how can I solve this issue? 

Mona

Zahra (Mona) Nasiriavanaki

Postdoctoral Research Fellow

Martinos Center for Biomedical Imaging

Massachusetts General Hospital

149 13th Street, 149-2615

Charlestown, MA, USA, 02129




From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve <dgreve@mgh.harvard.edu>
Sent: Tuesday, February 18, 2020 6:52 PM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] mri_glmfit --no-prune
 
The ces stack has had the medial wall  masked out so all the values there are 0. When you specify --wls, it normalizes the weights across subject. However, in the medial wall, all the weights are 0 (can't divide by 0, so it throws an error.

On 2/18/2020 5:35 PM, Nasiriavanaki, Zahra wrote:
Hi Freesurferers

I am running mri_glmfit on a group data using --no-prune flag. i 'm getting the below error. 
I appreciate if you could let me know what the issue is.

Loading y from /autofs/space/oprah_001/users/zn025/looming_3T/group_levels/patients_20/loom.lh/aw/ces.nii.gz
   ... done reading.
Saving design matrix to main2.wls/Xg.dat
Computing normalized matrix
Normalized matrix condition is 1
Matrix condition is 1
Found 149955 points in label.
Found 149955 voxels in mask
Saving mask to main2.wls/mask.nii.gz
Reshaping mriglm->mask...
search space = 74612.583051
ERROR: MRInormWeights: value less than or eq to 0.
  c=336, r=0, s=0, v=0


Thanks
Mona

Zahra (Mona) Nasiriavanaki

Postdoctoral Research Fellow

Martinos Center for Biomedical Imaging

Massachusetts General Hospital

149 13th Street, 149-2615

Charlestown, MA, USA, 02129




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