diff options
author | Frederick Muriuki Muriithi | 2023-04-14 13:19:31 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-14 14:14:20 +0300 |
commit | 2b7ecb52fa5f568d7d48fc324bae8231343543bd (patch) | |
tree | 4ccefd378ac5ea2d276985cf531e27690041d1ef /migrations/auth/20221114_02_DKKjn-drop-generic-role-tables.py | |
parent | 73863c8230df455dc433f8f10e2cee5edd8d8e58 (diff) | |
download | genenetwork3-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 'migrations/auth/20221114_02_DKKjn-drop-generic-role-tables.py')
0 files changed, 0 insertions, 0 deletions