From 2c3977eb936562c0c985ae93e4c7d16b52ee189a Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 4 May 2021 23:57:40 +0300 Subject: api: gen_menu: Remove "+" when concatenating strings inside brackets --- wqflask/wqflask/api/gen_menu.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wqflask/wqflask/api/gen_menu.py b/wqflask/wqflask/api/gen_menu.py index e65b36e4..7f4ec1bc 100644 --- a/wqflask/wqflask/api/gen_menu.py +++ b/wqflask/wqflask/api/gen_menu.py @@ -178,12 +178,12 @@ def build_datasets(species, group, type_name): elif type_name == "Genotypes": results = g.db.execute( - ("SELECT InfoFiles.GN_AccesionId " + + ("SELECT InfoFiles.GN_AccesionId " "FROM InfoFiles, GenoFreeze, InbredSet " - + "WHERE InbredSet.Name = '{}' AND " - + "GenoFreeze.InbredSetId = InbredSet.Id AND " - + "InfoFiles.InfoPageName = GenoFreeze.ShortName " - + "ORDER BY GenoFreeze.CreateTime DESC").format(group)).fetchone() + "WHERE InbredSet.Name = '{}' AND " + "GenoFreeze.InbredSetId = InbredSet.Id AND " + "InfoFiles.InfoPageName = GenoFreeze.ShortName " + "ORDER BY GenoFreeze.CreateTime DESC").format(group)).fetchone() dataset_id = "None" if bool(results): -- cgit v1.2.3