diff options
author | Arun Isaac | 2022-09-21 15:11:00 +0530 |
---|---|---|
committer | Arun Isaac | 2022-09-26 13:39:45 +0530 |
commit | 1b90cf71577f414c71dc0190940f4234732cdd28 (patch) | |
tree | 103effeaf4455cb1b532b81abf598196313eba73 /.pylintrc | |
parent | 73327a58707d7321e2d4c616da442e598ed13c57 (diff) | |
download | genenetwork2-1b90cf71577f414c71dc0190940f4234732cdd28.tar.gz |
Implement global search using xapian.
* wqflask/wqflask/gsearch.py: Import Just and Maybe from
pymonad.maybe; curry from pymonad.tools; xapian; MonadicDict from
utility.monads; xapian_database from wqflask.database. Do not import
datetime; database_connection from wqflask.database; base.data_set;
base.trait; db; utility.type_checking; utility.
(is_permitted_for_listing): New function.
(GSearch.__init__): Reimplement using xapian.
* wqflask/wqflask/templates/gsearch_gene.html (block js): Accept
dictionaries with missing keys, replacing them with "N/A".
Diffstat (limited to '.pylintrc')
0 files changed, 0 insertions, 0 deletions