Skip to content

Commit 48825c0

Browse files
committed
Don't generate debugPlot if no datashift
1 parent 7a82f77 commit 48825c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preProcess/datashift2.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
if plotDir
1414
[~, ~] = mkdir(ops.plotDir);
1515
end
16-
debugPlot = true;
16+
debugPlot = do_correction; % No debugging plot if we don't shift data on file
1717

1818
% The min and max of the y and x ranges of the channels
1919
ymin = min(rez.yc);

0 commit comments

Comments
 (0)