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 9f8bf03..dffd9d8 100644
--- a/scripts/rqtl2/install_genotypes.py
+++ b/scripts/rqtl2/install_genotypes.py
@@ -153,7 +153,7 @@ def cross_reference_genotypes(dbconn: mdb.Connection,
                 **row,
                 "datasetid": datasetid,
                 "pos": mdata.get(markersdict.get(
-                    row.get("markerid"), {}), {}).get("pos")
+                    row.get("markerid"), "nosuchkey"), {}).get("pos")
             } for row in dataids))
         return cursor.rowcount