Skip to content

Commit becc14f

Browse files
committed
fix default output
1 parent cfe72dc commit becc14f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/roi/resliceRoiImages.m

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@
1212
% :param imagesToCheck:
1313
% :type imagesToCheck: path or cellstr
1414
%
15-
% :param dryRun: Only returns
15+
% :param dryRun: Returns the matlabbatch without running it.
1616
% :type dryRun: logical
1717
%
1818
% (C) Copyright 2021 CPP ROI developers
1919

2020
% TODO
2121
% - allow option to binarize output?
2222

23+
if nargin < 3
24+
dryRun = false;
25+
end
26+
2327
matlabbatch = {};
24-
reslicedImages = '';
2528

2629
% check if files are in the same space
2730
% if not we reslice the ROI to have the same resolution as the data image

0 commit comments

Comments
 (0)