From dd36c75bd9d46f11da9192d77cbbe8499dc4d550 Mon Sep 17 00:00:00 2001 From: pgm Date: Thu, 19 Dec 2024 09:32:11 -0500 Subject: [PATCH] Changed PRISM Portal -> DepMap portal to redirect users to DE2 (#155) --- portal-backend/depmap/interactive/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portal-backend/depmap/interactive/views.py b/portal-backend/depmap/interactive/views.py index 83b73b95..e9233016 100644 --- a/portal-backend/depmap/interactive/views.py +++ b/portal-backend/depmap/interactive/views.py @@ -864,6 +864,7 @@ def download_csv_and_view_interactive(): display_name = request.args["display_name"] units = request.args["units"] file_url = request.args["url"] + use_de2 = request.args.get("de2", "T") == "T" url_upload_whitelist = flask.current_app.config["URL_UPLOAD_WHITELIST"] @@ -882,7 +883,7 @@ def download_csv_and_view_interactive(): abort(400) result = upload_transient_csv.apply( - args=[display_name, units, True, csv_path, False] + args=[display_name, units, True, csv_path, False, use_de2] ) if result.state == TaskState.SUCCESS.value: