Tun off warning message that asks for co-images

Submitted by David on

Hi,

Is there a way to turn off the warning message, that gives notification when no co-images (the cropped and reoriented from the dcm2nii) were found? That would be very helpful, because I have to preprocess a lot of datasets and did not reorient my strucutural images and it is cumbersome when the preprocessing stops because of the warning message and I have to manually press yes to continue. When I run some preprocessing over night it is especially inconvenient when the preprocessing does not go on automatically :(. 

YAN Chao-Gan

Mon, 11/28/2016 - 23:12

in DPARSFA_run.m

FIND

                button = questdlg(['No co* T1 image (T1 image which is reoriented to the nearest orthogonal direction to ''canonical space'' and removed excess air surrounding the individual as well as parts of the neck below the cerebellum) is found. Do you want to use the T1 image without co? Such as: ',DirImg(1).name,'?'],'No co* T1 image is found','Yes','No','Yes');
                if strcmpi(button,'Yes')
                    UseNoCoT1Image=1;
                else
                    return;
                end
 
REPLACE WITH:
UseNoCoT1Image=1;