aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/db_tools.py
diff options
context:
space:
mode:
authorArun Isaac2022-10-28 14:55:56 +0530
committerArun Isaac2022-10-28 14:55:56 +0530
commitfcf257bff816703433d10b942f959dbb78f6c5e3 (patch)
tree1bbdf71c63078b42974b2d871e850e97b55c60e3 /wqflask/utility/db_tools.py
parent38e7b62c2e94fe4ae1dbaa91349b7b36792685ac (diff)
downloadgenenetwork2-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/utility/db_tools.py')
0 files changed, 0 insertions, 0 deletions