diff options
-rw-r--r-- | wqflask/wqflask/partial_correlations_views.py | 2 | ||||
-rw-r--r-- | wqflask/wqflask/templates/partial_correlations/pcorrs_error.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/wqflask/partial_correlations_views.py b/wqflask/wqflask/partial_correlations_views.py index f567cee3..7456ae2e 100644 --- a/wqflask/wqflask/partial_correlations_views.py +++ b/wqflask/wqflask/partial_correlations_views.py @@ -340,7 +340,7 @@ def process_pcorrs_command_output(result): format_number=__format_number) if result["status"] == "error": return render_error( - "The partial correlations computation failed with an error") + f"({result['error_type']}: {result['message']})") @app.route("/partial_correlations/<command_id>", methods=["GET"]) def poll_partial_correlation_results(command_id): diff --git a/wqflask/wqflask/templates/partial_correlations/pcorrs_error.html b/wqflask/wqflask/templates/partial_correlations/pcorrs_error.html index 2bcb5e02..91f6baf2 100644 --- a/wqflask/wqflask/templates/partial_correlations/pcorrs_error.html +++ b/wqflask/wqflask/templates/partial_correlations/pcorrs_error.html @@ -32,7 +32,8 @@ </div> <p> - (GeneNetwork error: {{message[:128]}}) + GeneNetwork error:<br /> + {{message}} </p> <p> |