Skip to content

Commit

Permalink
can skip alignment with start set to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
stellastyl committed Jul 1, 2016
1 parent 43cacd7 commit 4a311d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion batch/BatchSuperSeggerOpti.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ function BatchSuperSeggerOpti(dirname_,skip,clean_flag,res,startEnd,showWarnings
end
end

if startEnd(1) >1
CONST.align.ALIGN_FLAG = 0;
end

% align frames
if exist( dirname_, 'dir' )

if startEnd(1) >1 || exist( [dirname_,filesep,'raw_im'] ,'dir') && ...
if exist( [dirname_,filesep,'raw_im'] ,'dir') && ...
(numel(dir ([dirname_,filesep,'raw_im',filesep,'*.tif'])) || ...
exist([dirname_,filesep,'raw_im',filesep,'cropbox.mat'],'file'))
disp('BatchSuperSeggerOpti : images already aligned');
Expand Down

0 comments on commit 4a311d0

Please sign in to comment.