diff options
author | Arun Isaac | 2023-01-24 18:17:57 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-24 18:30:05 +0000 |
commit | e5bcdbc83031c10092f1405b847695ecefbada44 (patch) | |
tree | 6660629c849b38c3bc2344dfd7127b3acca8af26 /tests/unit/auth/test_token.py | |
parent | d33454f3e7fb7810fd4b7a987e6a68b3c48ec98e (diff) | |
download | genenetwork3-e5bcdbc83031c10092f1405b847695ecefbada44.tar.gz |
search: Abstract out parsing of position spec into separate function.
* gn3/api/search.py (parse_position): New function.
(parse_location_field): Use parse_position.
* tests/unit/test_search.py: Import parse_position from gn3.api.search.
(test_parse_position_close_to_zero_location): New test.
Diffstat (limited to 'tests/unit/auth/test_token.py')
0 files changed, 0 insertions, 0 deletions