From 4f747a14a9adab8be881b0999d647c65eea6b9bb Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Sat, 27 Jul 2024 01:18:09 -0400 Subject: [PATCH] DMPexcel2mat.m refactor --- workflow/templates/easy/DMPexcel2mat.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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