aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-12 13:03:42 +0300
committerFrederick Muriuki Muriithi2023-01-12 13:03:42 +0300
commitd5c891aad1c6fa6b398ddbe872b775604f554d20 (patch)
treeb598ce2f77c8a2a7c5ef27c85898327fb4e4d9d8
parente4530da77dfcd2531a26baa66b296b19d25b99b9 (diff)
downloadgenenetwork2-d5c891aad1c6fa6b398ddbe872b775604f554d20.tar.gz
Revert "bug: use stderr in case of job errors"
This reverts commit 4666392bbc34e693f21895ccb62abb816ff95874.
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 466de7da..a7a43a22 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -874,7 +874,7 @@ def corr_compute_page():
return render_template("correlation_page.html", **output)
if jobs.completed_erroneously(job):
- output = json.loads(job.get("stderr", "{}"))
+ output = json.loads(job.get("stdout", "{}"))
return render_template("correlation_error_page.html", error=output)
return render_template("loading_corrs.html")