From a2647138fe414e7152062b80c00d88d267565280 Mon Sep 17 00:00:00 2001 From: Bart Schilperoort Date: Wed, 3 Jan 2024 13:32:02 +0100 Subject: [PATCH] Fix mh_style issues --- src/STEMMUS_SCOPE_exe.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/STEMMUS_SCOPE_exe.m b/src/STEMMUS_SCOPE_exe.m index bcbc78b4..dae007ef 100644 --- a/src/STEMMUS_SCOPE_exe.m +++ b/src/STEMMUS_SCOPE_exe.m @@ -35,12 +35,11 @@ function STEMMUS_SCOPE_exe(config_file, runMode) while ~strcmp(bmiMode, "finalize") bmiMode = input("\nFinished command. Select BMI mode: ", "s"); - if startsWith(bmiMode, "initialize ") % Get config file: CFG = erase(bmiMode, "initialize "); CFG = strtrim(CFG); % remove leading and trailing whitespace - CFG = erase(CFG, '"') % remove quotes + CFG = erase(CFG, '"'); % remove quotes bmiMode = "initialize";