From 6d068e3693a8fb0b2f209523f33310d1bb5ffb5c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 19 May 2025 14:54:26 -0500 Subject: Fix generic bugs --- scripts/load_phenotypes_to_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 # -- cgit v1.2.3