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