Skip to content
Snippets Groups Projects
Commit c23d1eae authored by ac 20's avatar ac 20
Browse files

check pre-existing in ensembleSegValidateAll fixed

parent 14b96115
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ flist=dir(fullfile(ROOT,'**/*training*.LEVER'));
% targets={'Fluo-N2DH-GOWT','Fluo-N2DH-SIM+','Fluo-N2DL-HeLa','PhC-C2DL-PSC',...
% 'Fluo-N3DH-CHO_training','Fluo-N3DH-CE_training'};
targets={'PhC-C2DL-PSC'};
targets={'Fluo-N2DL-HeLa'};
if exist('resEnsemble.mat','file')
load 'resEnsemble.mat'
......@@ -28,7 +28,7 @@ for ff=1:length(flist)
% already processed?
targetName=strrep(flist(ff).name,'_training','');
targetName=strrep(targetName,'.LEVER','');
if find(cellfun(@(x) ~isempty(x),strfind(res.name,targetName)))
if ~isempty(res) && any(cellfun(@(x) ~isempty(x),strfind(res.name,targetName)))
continue
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment