diff options
author | Frederick Muriuki Muriithi | 2022-05-16 12:55:56 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-16 12:55:56 +0300 |
commit | 4f4baf953a29649b2a77a4120f7a866012fde586 (patch) | |
tree | 921ad4c835419a9071ad118e495b4ae466c01b82 /wqflask | |
parent | 3e6baf7ad38770950d13f3a0929337a318fb0414 (diff) | |
download | genenetwork2-4f4baf953a29649b2a77a4120f7a866012fde586.tar.gz |
Check for queued results explicitly
Rather than checking the status field, check for the queued field
instead and only display the 'in progress' indicator when the
computation has been queued for later.
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/partial_correlations_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py index 0d086567..cee91233 100644 --- a/wqflask/wqflask/partial_correlations_views.py +++ b/wqflask/wqflask/partial_correlations_views.py @@ -237,7 +237,7 @@ def __format_number(num): return f"{num:.5f}" def handle_200_response(response): - if response["status"] == "queued": + if response.get("queued", False): return redirect( url_for( "poll_partial_correlation_results", |