aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-19 14:54:26 -0500
committerFrederick Muriuki Muriithi2025-05-19 14:54:26 -0500
commit6d068e3693a8fb0b2f209523f33310d1bb5ffb5c (patch)
treeae8dcbd30b8502ccfe1412411131bf8189fe731a /scripts
parentc14198e96caf1479864ab26cf0819e1ecad49926 (diff)
downloadgn-uploader-6d068e3693a8fb0b2f209523f33310d1bb5ffb5c.tar.gz
Fix generic bugs
Diffstat (limited to 'scripts')
-rw-r--r--scripts/load_phenotypes_to_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py
index a49d80b..9721263 100644
--- a/scripts/load_phenotypes_to_db.py
+++ b/scripts/load_phenotypes_to_db.py
@@ -234,7 +234,7 @@ def update_auth(user, species, population, dataset, phenos):
def load_data(conn, job):
"""Load the data attached in the given job."""
- _job_metadata = json.loads(job["job-metadata"])
+ _job_metadata = job["metadata"]
# Steps
# 0. Read data from the files: can be multiple files per type
#