diff options
author | Frederick Muriuki Muriithi | 2024-07-05 10:58:35 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-07-05 10:59:44 -0500 |
commit | d082f2e46f2699a486e7b6f75911b92ce176e87c (patch) | |
tree | 744f809414488d7346ce62bd4fd5164b55b8a1bd /scripts/rqtl2 | |
parent | 4bf42f10df89972182daee471927336c1bd1459b (diff) | |
download | gn-uploader-d082f2e46f2699a486e7b6f75911b92ce176e87c.tar.gz |
bug: Return a hashable key, not a dict.
Diffstat (limited to 'scripts/rqtl2')
-rw-r--r-- | scripts/rqtl2/install_genotypes.py | 2 |
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 |