Error with threshold coverage function

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))

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 :-/

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?

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

Chao-Gan


I see, thanks again :)