diff options
author | Muriithi Frederick Muriuki | 2021-07-22 12:59:46 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-07-22 12:59:46 +0300 |
commit | 703fad03660c8f4a5658bd4aecd3a18fad6ce10c (patch) | |
tree | 28593c485a54649883324c30c7baa0a58f4329d4 /tests/unit/test_data | |
parent | a826daa77fa56afddb4920ae7ff9dec334f6e646 (diff) | |
download | genenetwork3-703fad03660c8f4a5658bd4aecd3a18fad6ce10c.tar.gz |
Check that distance from A to B is same as from B to A
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: check that the distance from child A to B is the
same as distance from child B to A. If not, throw an exception.
* tests/unit/computations/test_slink.py:
* Change the name of the test to more closely correspond to the business
logic being tested.
* Update the data in a separate test such that it does not error out due to
failing to fulfill the expectations of separate requirement.
- pass tests
- Rename test
- Fix errors: distances same both directions
Diffstat (limited to 'tests/unit/test_data')
0 files changed, 0 insertions, 0 deletions