aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-09-06 16:16:57 +0300
committerBonfaceKilz2022-09-08 14:26:19 +0300
commita0a845fc0d62c6d7fbc9998595147a87153330fb (patch)
treef3eefc7fad1f943c8de8647f7fd46ea505575e6d
parent64d58e706777c420cdac6409fcd89511f0396f61 (diff)
downloadgenenetwork2-a0a845fc0d62c6d7fbc9998595147a87153330fb.tar.gz
Add missing "," in cursor.execute()
* wqflask/base/data_set.py (DatasetGroup.get_mapping_methods): Fix failing query by adding a missing ",".
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index b877f176..aac8585e 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -351,7 +351,7 @@ class DatasetGroup:
with database_connection() as conn, conn.cursor() as cursor:
cursor.execute(
"SELECT MappingMethodId FROM "
- "InbredSet WHERE Name= %s"
+ "InbredSet WHERE Name= %s",
(self.name,))
mapping_id = cursor.fetchone()[0]
if mapping_id == "1":