diff options
author | Muriithi Frederick Muriuki | 2021-07-22 13:16:16 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-07-22 13:16:16 +0300 |
commit | 0b71c74992ab1bff82d14902c51f52c3c6fbe4a1 (patch) | |
tree | 8ca936c5a37f872a0153d6fa194284c3e94d6486 /tests/unit/test_file_utils.py | |
parent | 703fad03660c8f4a5658bd4aecd3a18fad6ce10c (diff) | |
download | genenetwork3-0b71c74992ab1bff82d14902c51f52c3c6fbe4a1.tar.gz |
Check that all distances are positive or zero
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: check that all distances between the 'somethings'
are all either zero or positive.
* tests/unit/computations/test_slink.py:
* Remove data with all distances positive or zero, since it would fail the
test
* Change the expected message to more closely correspond to the business
logic
Diffstat (limited to 'tests/unit/test_file_utils.py')
0 files changed, 0 insertions, 0 deletions