diff options
author | Frederick Muriuki Muriithi | 2023-06-16 12:57:16 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-06-20 13:36:50 +0300 |
commit | 286027a1c07c0bf6ca113715f87ee7f1380d09e0 (patch) | |
tree | 927664a009db3ff11a912b906bb745e16ca8fb97 /wqflask/base/trait.py | |
parent | 883a7cba581f34eba48978746e2ff8bbb93020d8 (diff) | |
download | genenetwork2-286027a1c07c0bf6ca113715f87ee7f1380d09e0.tar.gz |
configs: Fix issues caught by mechanical-rob tests
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 6 |
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: |