diff options
author | Munyoki Kilyungi | 2022-09-06 16:16:57 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | a0a845fc0d62c6d7fbc9998595147a87153330fb (patch) | |
tree | f3eefc7fad1f943c8de8647f7fd46ea505575e6d /wqflask/base/data_set.py | |
parent | 64d58e706777c420cdac6409fcd89511f0396f61 (diff) | |
download | genenetwork2-a0a845fc0d62c6d7fbc9998595147a87153330fb.tar.gz |
Add missing "," in cursor.execute()
* wqflask/base/data_set.py (DatasetGroup.get_mapping_methods): Fix
failing query by adding a missing ",".
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 2 |
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": |