From a0a845fc0d62c6d7fbc9998595147a87153330fb Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 6 Sep 2022 16:16:57 +0300 Subject: Add missing "," in cursor.execute() * wqflask/base/data_set.py (DatasetGroup.get_mapping_methods): Fix failing query by adding a missing ",". --- wqflask/base/data_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": -- cgit v1.2.3