Skip to content
Snippets Groups Projects
Commit 392236ea authored by Maciej Wielgosz's avatar Maciej Wielgosz
Browse files

update for prod oracle

parent a769d5ab
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ import yaml ...@@ -9,7 +9,7 @@ import yaml
from run import main from run import main
DEBUG_MODE = False DEBUG_MODE = True
def run_oracle_wrapper(path_to_config_file): def run_oracle_wrapper(path_to_config_file):
...@@ -22,6 +22,8 @@ def run_oracle_wrapper(path_to_config_file): ...@@ -22,6 +22,8 @@ def run_oracle_wrapper(path_to_config_file):
if DEBUG_MODE: if DEBUG_MODE:
input_location = "local_folder_in/las_files/" input_location = "local_folder_in/las_files/"
output_location = "local_folder_out/las_files/" output_location = "local_folder_out/las_files/"
# remove content of the output folder
shutil.rmtree(output_location, ignore_errors=True)
else: else:
# get the input and output locations from the environment variables # get the input and output locations from the environment variables
input_location = os.environ['OBJ_INPUT_LOCATION'] input_location = os.environ['OBJ_INPUT_LOCATION']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment