aboutsummaryrefslogtreecommitdiff
path: root/sheepdog/worker.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-14 13:19:31 +0300
committerFrederick Muriuki Muriithi2023-04-14 14:14:20 +0300
commit2b7ecb52fa5f568d7d48fc324bae8231343543bd (patch)
tree4ccefd378ac5ea2d276985cf531e27690041d1ef /sheepdog/worker.py
parent73863c8230df455dc433f8f10e2cee5edd8d8e58 (diff)
downloadgenenetwork3-2b7ecb52fa5f568d7d48fc324bae8231343543bd.tar.gz
auth: Add external script to search for phenotypes
We need a search through the available phenotype traits in the database when linking the traits to user groups. Unfortunately, the Xapian Search indexes do not (and should not) include the internal identifiers we use to disambiguate the traits. On the other hand, we do not want to present the user with traits that have already been linked to any user group within the search results. The script in this commit, together with the modified queries for fetching the phenotype data form a "hack" of sorts to wrap around the way the search works while ensuring we do not present the user with "non-actionable" (linked) traits in the search results.
Diffstat (limited to 'sheepdog/worker.py')
0 files changed, 0 insertions, 0 deletions