diff --git a/run_oracle_wrapper_local.py b/run_oracle_wrapper_local.py index 68180e787ad66cf48455bc190697b3d23cbbbe2e..47083acedc7671ec39d0ea6508873e844c52ab77 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']