From aacbc0b8e7f3fcee947800db85ea696b4bdf9286 Mon Sep 17 00:00:00 2001 From: "Bernat, Anastasia" Date: Sat, 11 Jan 2025 17:00:28 -0800 Subject: [PATCH] Deployment test 15. --- dash_app/definitions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dash_app/definitions.py b/dash_app/definitions.py index 29bc82e..2013d52 100644 --- a/dash_app/definitions.py +++ b/dash_app/definitions.py @@ -17,8 +17,9 @@ if CONNECT_TO_LAMBDA: - print("DEPLOYMENT 14") + print("DEPLOYMENT 15") + SERVE_LOCALLY = False DATASET_ID = "1ffea-emt93" # MSD-LIVE added dataset id that goes to DEV DATA_DIR = "" LAMBDA_TASK_ROOT = os.getenv('LAMBDA_TASK_ROOT') @@ -26,11 +27,9 @@ if LAMBDA_TASK_ROOT is None: print(" ********** ", "LAMBDA_TASK_ROOT is None") METADATA_DIR = './metadata' - SERVE_LOCALLY = True else: print("********** LAMBDA_TASK_ROOT is ", os.getenv('LAMBDA_TASK_ROOT')) METADATA_DIR = os.path.join(LAMBDA_TASK_ROOT, "dash_app", "metadata") - SERVE_LOCALLY = False else: DATA_DIR = "../../data/msdlive-gridcerf" @@ -38,6 +37,7 @@ LAMBDA_TASK_ROOT = "" SERVE_LOCALLY = True +print("SERVE_LOCALLY is ", SERVE_LOCALLY) COMPILED_DIR = os.path.join(DATA_DIR, "gridcerf/compiled/compiled_technology_layers") OUTDIR = "tmp"