about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
     #