From 51b055471da3fdd6d4ae83f448ed6460d1402bed Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 19 May 2025 10:47:30 -0500 Subject: Cleanup function call. --- scripts/load_phenotypes_to_db.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py index e6623fe..378497f 100644 --- a/scripts/load_phenotypes_to_db.py +++ b/scripts/load_phenotypes_to_db.py @@ -124,12 +124,11 @@ def load_data(conn, job): } # 2. Save any new publications (in multi-file bundle): # -> return publication IDS - publications = publications + save_publications( - cursor, - _control_data.get( - "metadata", {}).get( - "publications"), - _job_metadata.get("publicationid")) + publications = save_publications(cursor, + _control_data.get( + "metadata", {}).get( + "publications"), + _job_metadata.get("publicationid")) _pubidmap = { # TODO: Map the pheno ids to the publication ids } -- cgit v1.2.3