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 /wqflask/maintenance/gen_select_dataset.py | |
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 'wqflask/maintenance/gen_select_dataset.py')
0 files changed, 0 insertions, 0 deletions