aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/species.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-29 06:37:24 +0300
committerFrederick Muriuki Muriithi2021-10-29 06:37:24 +0300
commit5b9696169004fef605820d3439ba06b16b578cd0 (patch)
tree86aab6448ecc01ea888ac5d1223fc277c5abb810 /gn3/db/species.py
parent0bb51bd78479c05839d7b7f9f878db4b5616cfda (diff)
downloadgenenetwork3-5b9696169004fef605820d3439ba06b16b578cd0.tar.gz
Add missing comma
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
Diffstat (limited to 'gn3/db/species.py')
-rw-r--r--gn3/db/species.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/species.py b/gn3/db/species.py
index abcbf64..702a9a8 100644
--- a/gn3/db/species.py
+++ b/gn3/db/species.py
@@ -48,7 +48,7 @@ def translate_to_mouse_gene_id(species: str, geneid: int, conn: Any) -> int:
with conn.cursor as cursor:
query = {
- "rat": "SELECT mouse FROM GeneIDXRef WHERE rat = %s"
+ "rat": "SELECT mouse FROM GeneIDXRef WHERE rat = %s",
"human": "SELECT mouse FROM GeneIDXRef WHERE human = %s"
}
cursor.execute(query[species], geneid)