From 392236eae69af4235a205e3c7faad3ed1d3f10ed Mon Sep 17 00:00:00 2001 From: Maciej Wielgosz <maciej.wielgosz@nibio.no> Date: Tue, 27 Jun 2023 14:25:43 +0200 Subject: [PATCH] update for prod oracle --- run_oracle_wrapper_local.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_oracle_wrapper_local.py b/run_oracle_wrapper_local.py index 68180e7..47083ac 100644 --- a/run_oracle_wrapper_local.py +++ b/run_oracle_wrapper_local.py @@ -9,7 +9,7 @@ import yaml from run import main -DEBUG_MODE = False +DEBUG_MODE = True def run_oracle_wrapper(path_to_config_file): @@ -22,6 +22,8 @@ def run_oracle_wrapper(path_to_config_file): if DEBUG_MODE: input_location = "local_folder_in/las_files/" output_location = "local_folder_out/las_files/" + # remove content of the output folder + shutil.rmtree(output_location, ignore_errors=True) else: # get the input and output locations from the environment variables input_location = os.environ['OBJ_INPUT_LOCATION'] -- GitLab