aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-05 10:58:35 -0500
committerFrederick Muriuki Muriithi2024-07-05 10:59:44 -0500
commitd082f2e46f2699a486e7b6f75911b92ce176e87c (patch)
tree744f809414488d7346ce62bd4fd5164b55b8a1bd /scripts/rqtl2
parent4bf42f10df89972182daee471927336c1bd1459b (diff)
downloadgn-uploader-d082f2e46f2699a486e7b6f75911b92ce176e87c.tar.gz
bug: Return a hashable key, not a dict.
Diffstat (limited to 'scripts/rqtl2')
-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