aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-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)