diff options
author | zsloan | 2022-02-24 21:33:38 +0000 |
---|---|---|
committer | zsloan | 2022-02-24 16:02:06 -0600 |
commit | bbeba72a82e0a5698b4fb413430203e8aaee1830 (patch) | |
tree | dd6135a2ef0fe9d8079fab89c55a1b15696e01ae | |
parent | 494e91a2dd04cdb6b8cd20fc1709d847ac2c012a (diff) | |
download | genenetwork2-bbeba72a82e0a5698b4fb413430203e8aaee1830.tar.gz |
Fix alias query
-rw-r--r-- | wqflask/wqflask/search_results.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py index cf2905c9..6062f354 100644 --- a/wqflask/wqflask/search_results.py +++ b/wqflask/wqflask/search_results.py @@ -360,7 +360,8 @@ def get_aliases(symbol_list, species): filtered_aliases = [] response = requests.get( - GN2_BASE_URL + "/gn3/gene/aliases2/" + symbols_string) + GN2_BASE_URL + "gn3/gene/aliases/" + symbols_string) + if response: alias_lists = json.loads(response.content) seen = set() |