diff options
author | Frederick Muriuki Muriithi | 2021-11-19 10:56:35 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-11-19 10:56:35 +0300 |
commit | 08c81b8892060353bb7fb15555875f03bbdcb46e (patch) | |
tree | ef545062885d08a3425e59e52164b6822cb93b9a /gn3/db_utils.py | |
parent | 6367350202a4a7eb9c6551d01cc1b4543d2529f0 (diff) | |
download | genenetwork3-08c81b8892060353bb7fb15555875f03bbdcb46e.tar.gz |
Avoid rounding: compare floats approximately
Notes:
https://github.com/genenetwork/genenetwork3/pull/56#issuecomment-973798918
* As mentioned in the notes, rather than rounding to an arbitrary number of
decimal places, it is a much better practice to use approximate comparisons
of floats for the tests.
Diffstat (limited to 'gn3/db_utils.py')
0 files changed, 0 insertions, 0 deletions