diff options
author | BonfaceKilz | 2021-05-04 23:57:40 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-05-05 12:26:04 +0300 |
commit | 2c3977eb936562c0c985ae93e4c7d16b52ee189a (patch) | |
tree | b64ab716f24640d4e263b884d41cfa262616cbe4 | |
parent | 3f0d45848280b77a35a569682e93291204769cc8 (diff) | |
download | genenetwork2-2c3977eb936562c0c985ae93e4c7d16b52ee189a.tar.gz |
api: gen_menu: Remove "+" when concatenating strings inside brackets
-rw-r--r-- | wqflask/wqflask/api/gen_menu.py | 10 |
1 files 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): |