diff --git a/workflow/templates/easy/DMPexcel2mat.m b/workflow/templates/easy/DMPexcel2mat.m index 894817a4..7f512791 100755 --- a/workflow/templates/easy/DMPexcel2mat.m +++ b/workflow/templates/easy/DMPexcel2mat.m @@ -30,7 +30,7 @@ if ~exist(masterPlateFile, 'file') || isempty(masterPlateFile) % This can be silent, not really an error end - for i-1:5 % give users 5 chances to get it right + for i=1:5 % give users 5 chances to get it right try % For standalone mode % GUI input for selecting a MasterPlate Excel file @@ -55,7 +55,7 @@ if ~exist(masterPlateFile, 'file') || isempty(masterPlateFile) end end else - for i-1:5 % give users 5 chances to get it right + for i=1:5 % give users 5 chances to get it right try % For standalone mode % GUI input for selecting a MasterPlate Excel file @@ -201,7 +201,7 @@ if ~exist(drugMediaFile, 'file') || isempty(drugMediaFile) % This can be silent, not really an error end else - for i-1:5 % give users 5 chances to get it right + for i=1:5 % give users 5 chances to get it right try % GUI input for selecting a DrugMedia file % sort by newest matching DrugMedia file and return that if we find one