Error with threshold coverage function

Submitted by David on

Hey,

I generated a 90% group mask and wanted to use the threshold coverage function to exclude subjects which have coverage less than 2*SD under the group mean overlap, like mentioned in the videos. The wAutoMask.nii files are all there, but the script seems to want a nii.gz file, because after selecting the group mask I get the following error:

 

Error using y_Read (line 54)
File doesn't exist: Masks\AutoMasks\wAutoMask_sub00440.nii.gz

Error in y_ReadRPI (line 41)
[Data,Header] = y_Read(FileName,VolumeIndex);

Error in w_ThrdCoverage>w_ThrdCoverage_OpeningFcn (line 78)
    [Mask, Vox, Header]=y_ReadRPI(MaskList{i});

Error in gui_mainfcn (line 221)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in w_ThrdCoverage (line 40)
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in DPABI_QC_TOOL>ThrdCoverageButton_Callback (line 482)
Flag=w_ThrdCoverage(handles.figure1);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPABI_QC_TOOL (line 42)
    gui_mainfcn(gui_State, varargin{:});

Error in @(hObject,eventdata)DPABI_QC_TOOL('ThrdCoverageButton_Callback',hObject,eventdata,guidata(hObject))

 
Error while evaluating uicontrol Callback

 

I'm using windows 7.

Thanks in advance

YAN Chao-Gan

Mon, 04/13/2015 - 18:10

Hi,

Could you have a check if Masks\AutoMasks\wAutoMask_sub00440.nii exist?

Best,

Chao-Gan

The masks do all exists, that's why I'm wondering what the problem could be :-/

YAN Chao-Gan

Thu, 04/16/2015 - 13:12

In reply to by David

This is weird.

I just re-tested module, I can not replicate the problem you have encountered. Or you re-try the QC processing again?

Best,

Chao-Gan

That's odd, after generating the groupmask again it worked fine :).  Now, after excluding those subjects which are 2SD under the group mean, is it advised to generate a new groupmask which does not include those subjects?

YAN Chao-Gan

Sun, 04/19/2015 - 15:19

In reply to by David

I will use the first group mask, I think that will be enough.
Best,

Chao-Gan

On Sat, Apr 18, 2015 at 3:11 PM, The R-fMRI Network <rfmri.org@gmail.com> wrote:
[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

Commented by David (David)

That's odd, after generating the groupmask again it worked fine :).  Now, after excluding those subjects which are 2SD under the group mean, is it advised to generate a new groupmask which does not include those subjects?


Online version of this post: http://rfmri.org/comment/3672#comment-3672


Many a little makes a mickle -- your kind contributions shall make our efforts not perish from the earth. Please help The R-fMRI Network at http://rfmri.org/#overlay=HelpUs
To manage subscriptions, please visit: http://rnet.co/mailman/listinfo/rfmri.org_rnet.co
Mail comment ID: http://rfmri.org/mailcomment/redirect/%3C31.2002.3672.1429384292.76869823059b3327de9ba2f8db63be07%40www.rfmri.org%3E