aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_search.py
diff options
context:
space:
mode:
authorArun Isaac2023-01-19 18:05:46 +0000
committerArun Isaac2023-01-19 18:09:34 +0000
commit53fd9b13d0ffb9f992b571ab5d6ddda58f7b9af3 (patch)
treeecca19da2001c4abae95038efbb2ba7e04cdd851 /tests/unit/test_search.py
parent13a7c5cf58a1b456a50d69ea761f7106d2fe4978 (diff)
downloadgenenetwork3-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