diff options
author | Arun Isaac | 2022-10-28 14:55:56 +0530 |
---|---|---|
committer | Arun Isaac | 2022-10-28 14:55:56 +0530 |
commit | fcf257bff816703433d10b942f959dbb78f6c5e3 (patch) | |
tree | 1bbdf71c63078b42974b2d871e850e97b55c60e3 /etc | |
parent | 38e7b62c2e94fe4ae1dbaa91349b7b36792685ac (diff) | |
download | genenetwork2-fcf257bff816703433d10b942f959dbb78f6c5e3.tar.gz |
Query genenetwork3 API for search.
genenetwork2 should be a thin wrapper web UI around the genenetwork3
API. Hence, this move.
* etc/default_settings.py (XAPIAN_DB_PATH): Delete variable.
* wqflask/wqflask/database.py: Remove xapian import.
(xapian_database, xapian_writable_database): Delete functions.
* wqflask/wqflask/gsearch.py: Do not import json, xapian, Nothing from
pymonad.maybe, base, utility.authentication_tools and
wqflask.database. Import MonadicDict from gn3.monads instead of
utility.monads and GN3_LOCAL_URL from utility.tools.
(GSearch.__init__): Query genenetwork3 search API instead of directly
reading a Xapian index.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/default_settings.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py index ab5a06cf..6d7ac063 100644 --- a/etc/default_settings.py +++ b/etc/default_settings.py @@ -35,8 +35,6 @@ GN2_PROXY = "http://localhost:8080" # GN PROXY GN_PROXY_URL="https://genenetwork.org/gn3-proxy/" -# Xapian index -XAPIAN_DB_PATH = "xapian" # ---- MySQL |