diff options
author | Frederick Muriuki Muriithi | 2023-04-17 14:42:05 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-17 14:42:05 +0300 |
commit | 8af8105444522c2c71b5ddd36a550e964cddffbf (patch) | |
tree | 1ba8f2e7da47efd9cb878794f95cfbb35ab3f0ed /sheepdog/worker.py | |
parent | 85abf12d364c626af9177deb0398849845bcc6c3 (diff) | |
download | genenetwork3-8af8105444522c2c71b5ddd36a550e964cddffbf.tar.gz |
Hook up code to use external search script for phenotypes
Diffstat (limited to 'sheepdog/worker.py')
-rw-r--r-- | sheepdog/worker.py | 1 |
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 |