aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-02 15:02:00 -0500
committerFrederick Muriuki Muriithi2024-07-02 15:02:00 -0500
commit4bf42f10df89972182daee471927336c1bd1459b (patch)
tree26378953f911b03a7bc634ee8861ccf1ece11936
parentc67921a4b418eaf834d2e8ffe8c4dcd75e09c926 (diff)
downloadgn-uploader-4bf42f10df89972182daee471927336c1bd1459b.tar.gz
Call correct method.
-rw-r--r--scripts/rqtl2/install_genotypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rqtl2/install_genotypes.py b/scripts/rqtl2/install_genotypes.py
index 68ae365..9f8bf03 100644
--- a/scripts/rqtl2/install_genotypes.py
+++ b/scripts/rqtl2/install_genotypes.py
@@ -45,7 +45,7 @@ def insert_markers(dbconn: mdb.Connection,
"marker": marker,
"chr": mdata.get(marker, {}).get("chr"),
"pos": mdata.get(marker, {}).get("pos")
- } for marker in markers}.items()))
+ } for marker in markers}.values()))
return cursor.rowcount
def insert_individuals(dbconn: mdb.Connection,