Skip to content

Commit ae57f44

Browse files
committed
update checkDependencies
1 parent ff027f2 commit ae57f44

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/infra/checkDependencies.m

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,6 @@ function checkDependencies(opt)
3535

3636
spm('defaults', 'fmri');
3737

38-
%% Check the Nifti tools are indeed there.
39-
nifti_tools_url = ...
40-
['https://www.mathworks.com/matlabcentral/fileexchange/' ...
41-
'8797-tools-for-nifti-and-analyze-image'];
42-
43-
a = which('load_untouch_nii');
44-
if isempty(a)
45-
msg = sprintf(['Failed to find the Nifti tools: ' ...
46-
'Are you sure they in the matlab path?\n', ...
47-
'You can download them here: %s'], nifti_tools_url);
48-
tolerant = false;
49-
errorHandling(mfilename(), 'missingDependency', msg, tolerant, opt.verbosity);
50-
else
51-
printToScreen(' Nifti tools detected\n', opt);
52-
end
53-
5438
printToScreen(' We got all we need. Let''s get to work.\n', opt);
5539

5640
end

0 commit comments

Comments
 (0)