aboutsummaryrefslogtreecommitdiff
path: root/gn3/migrations.py
diff options
context:
space:
mode:
authorArun Isaac2023-01-15 17:36:30 +0000
committerArun Isaac2023-01-18 01:15:47 +0000
commitd4af1981e80614b4e1b8c1570b5d80d9bfbe6b67 (patch)
tree72c2965434709b37beb076c13f1a94d51c7a03c3 /gn3/migrations.py
parente4f572c7e2b4a553ec5231a9d8440c0b39bee5e3 (diff)
downloadgenenetwork3-d4af1981e80614b4e1b8c1570b5d80d9bfbe6b67.tar.gz
Support location shorthands in search queries.
* gn3/api/search.py: Import partial and reduce from functools. Import Callable from typing. (ChromosomalPosition, ChromosomalInterval, FieldProcessor): New classes. (apply_si_suffix, combine_queries, parse_location_field, interval_start, interval_end): New functions. (parse_query): Add field processors for location shorthands.
Diffstat (limited to 'gn3/migrations.py')
0 files changed, 0 insertions, 0 deletions