diff options
author | Arun Isaac | 2023-01-19 18:05:46 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-19 18:09:34 +0000 |
commit | 53fd9b13d0ffb9f992b571ab5d6ddda58f7b9af3 (patch) | |
tree | ecca19da2001c4abae95038efbb2ba7e04cdd851 /tests/unit/test_search.py | |
parent | 13a7c5cf58a1b456a50d69ea761f7106d2fe4978 (diff) | |
download | genenetwork3-53fd9b13d0ffb9f992b571ab5d6ddda58f7b9af3.tar.gz |
search: Use decimals, not floats, to manipulate range limits.
Decimals are exact and do not introduce tiny errors in the range limits like
floats are wont to do.
* gn3/api/search.py: Import Decimal from decimal.
(apply_si_suffix): Use decimals, not floats, to manipulate range limits.
Diffstat (limited to 'tests/unit/test_search.py')
0 files changed, 0 insertions, 0 deletions