aboutsummaryrefslogtreecommitdiff
path: root/sheepdog/worker.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-17 14:42:05 +0300
committerFrederick Muriuki Muriithi2023-04-17 14:42:05 +0300
commit8af8105444522c2c71b5ddd36a550e964cddffbf (patch)
tree1ba8f2e7da47efd9cb878794f95cfbb35ab3f0ed /sheepdog/worker.py
parent85abf12d364c626af9177deb0398849845bcc6c3 (diff)
downloadgenenetwork3-8af8105444522c2c71b5ddd36a550e964cddffbf.tar.gz
Hook up code to use external search script for phenotypes
Diffstat (limited to 'sheepdog/worker.py')
-rw-r--r--sheepdog/worker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sheepdog/worker.py b/sheepdog/worker.py
index 6557ab3..c08edec 100644
--- a/sheepdog/worker.py
+++ b/sheepdog/worker.py
@@ -52,6 +52,7 @@ def run_jobs(conn, queue_name: str = "GN3::job-queue"):
update_status(conn, cmd_id, "success")
else:
update_status(conn, cmd_id, "error")
+ conn.hset(cmd_id, "stderr", result.get("output"))
return cmd_id
return None