aboutsummaryrefslogtreecommitdiff
path: root/uploader/phenotypes/views.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-03 13:08:59 -0600
committerFrederick Muriuki Muriithi2024-12-03 15:11:25 -0600
commit49d8ec6bb3caae91e5d8e4b5859ee4e4c0ed4dd6 (patch)
tree057d2ed293d05acda44a6c7a668b8ff022b71fd3 /uploader/phenotypes/views.py
parentc6437873142ad90c6ce29dcf0e700e0e6a1c658a (diff)
downloadgn-uploader-49d8ec6bb3caae91e5d8e4b5859ee4e4c0ed4dd6.tar.gz
Fetch a jobs errors from its errors lists.
Diffstat (limited to 'uploader/phenotypes/views.py')
-rw-r--r--uploader/phenotypes/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index dd6ba7e..74de3ea 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -3,6 +3,7 @@ import sys
import uuid
import json
from pathlib import Path
+from typing import Union
from functools import wraps
from logging import INFO, ERROR, DEBUG, FATAL, CRITICAL, WARNING
@@ -414,4 +415,5 @@ def job_status(
dataset=dataset,
job_id=job_id,
job=job,
+ errors=jobs.job_errors(rconn, jobs.jobsnamespace(), job['jobid']),
activelink="add-phenotypes")