aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-06-16 12:57:16 +0300
committerFrederick Muriuki Muriithi2023-06-20 13:36:50 +0300
commit286027a1c07c0bf6ca113715f87ee7f1380d09e0 (patch)
tree927664a009db3ff11a912b906bb745e16ca8fb97 /wqflask/base/trait.py
parent883a7cba581f34eba48978746e2ff8bbb93020d8 (diff)
downloadgenenetwork2-286027a1c07c0bf6ca113715f87ee7f1380d09e0.tar.gz
configs: Fix issues caught by mechanical-rob tests
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 70afa2cc..3a52e889 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -172,13 +172,13 @@ class GeneralTrait:
alias = 'Not available'
if self.symbol:
human_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.upper())
mouse_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.capitalize())
other_response = requests.get(
- get_setting("GN2_BASE_URL") + "gn3/gene/aliases/" +
+ get_setting(app, "GN2_BASE_URL") + "gn3/gene/aliases/" +
self.symbol.lower())
if human_response and mouse_response and other_response: