aboutsummaryrefslogtreecommitdiff
path: root/wqflask/db
diff options
context:
space:
mode:
authorArun Isaac2022-09-21 15:11:00 +0530
committerArun Isaac2022-09-26 13:39:45 +0530
commit1b90cf71577f414c71dc0190940f4234732cdd28 (patch)
tree103effeaf4455cb1b532b81abf598196313eba73 /wqflask/db
parent73327a58707d7321e2d4c616da442e598ed13c57 (diff)
downloadgenenetwork2-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 'wqflask/db')
0 files changed, 0 insertions, 0 deletions