diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/collect.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/partial_correlations_views.py | 6 | ||||
-rw-r--r-- | wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py index 87a96a26..b344bd99 100644 --- a/wqflask/wqflask/collect.py +++ b/wqflask/wqflask/collect.py @@ -277,7 +277,7 @@ def view_collection(): collection_info = dict( trait_obs=trait_obs, uc=uc, - heatmap_data_url=f"{GN_SERVER_URL}api/heatmaps/clustered") + heatmap_data_url=f"{GN_SERVER_URL}/heatmaps/clustered") if "json" in params: return json.dumps(json_version) diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py index 358a9d3b..91948722 100644 --- a/wqflask/wqflask/partial_correlations_views.py +++ b/wqflask/wqflask/partial_correlations_views.py @@ -287,7 +287,7 @@ def partial_correlations(): "with_target_db": args["with_target_db"] } return handle_response(requests.post( - url=f"{GN_SERVER_URL}api/correlation/partial", + url=f"{GN_SERVER_URL}/correlation/partial", json=post_data)) for error in args["errors"]: @@ -302,7 +302,7 @@ def partial_correlations(): "with_target_db": args["with_target_db"] } return handle_response(requests.post( - url=f"{GN_SERVER_URL}api/correlation/partial", + url=f"{GN_SERVER_URL}/correlation/partial", json=post_data)) for error in args["errors"]: @@ -347,7 +347,7 @@ def process_pcorrs_command_output(result): @app.route("/partial_correlations/<command_id>", methods=["GET"]) def poll_partial_correlation_results(command_id): response = requests.get( - url=f"{GN_SERVER_URL}api/async_commands/state/{command_id}") + url=f"{GN_SERVER_URL}/async_commands/state/{command_id}") if response.status_code == 200: data = response.json() diff --git a/wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js b/wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js index b58b7c70..29c9d3c1 100644 --- a/wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js +++ b/wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js @@ -38,7 +38,7 @@ if (typeof gn_server_url === 'undefined'){ gn_server_url = $("#search form").attr("data-gn_server_url") } -$.ajax(gn_server_url +'api/menu/generate/json', { +$.ajax(gn_server_url +'/menu/generate/json', { dataType: 'json', success: process_json, error: indicate_error, |