Skip to content

Commit 4e82caf

Browse files
committed
add comments
1 parent 54349a7 commit 4e82caf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/workflows/bidsConcatBetaTmaps.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ function bidsConcatBetaTmaps(opt, funcFWHM, deleteIndBeta, deleteIndTmaps)
2424

2525
[~, opt] = setUpWorkflow(opt, 'merge beta images and t-maps');
2626

27+
% TODO temporary check: will be removed on the dev branch
28+
if ~isfield(opt, 'dryRun')
29+
opt.dryRun = false;
30+
end
31+
2732
if nargin < 3
2833
deleteIndBeta = true;
2934
deleteIndTmaps = true;
@@ -110,6 +115,7 @@ function bidsConcatBetaTmaps(opt, funcFWHM, deleteIndBeta, deleteIndTmaps)
110115

111116
matlabbatch = setBatch3Dto4D(matlabbatch, t_maps, RT, outputName);
112117

118+
% TODO temporary: remove on dev branch
113119
if ~opt.dryRun
114120
saveAndRunWorkflow(matlabbatch, 'concat_betaImg_tMaps', opt, subLabel);
115121
end

0 commit comments

Comments
 (0)