aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-29 06:37:24 +0300
committerBonfaceKilz2021-11-04 12:45:57 +0300
commita85db849660a63b09e5c40f7753d861f47eaaaeb (patch)
tree00ff06afed6976e4244305517792c87d0aa6d614
parent847a5e0656ed686a0541e47958a845a0d3725daf (diff)
downloadgenenetwork3-a85db849660a63b09e5c40f7753d861f47eaaaeb.tar.gz
Add missing comma
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
-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)