diff options
author | Muriithi Frederick Muriuki | 2021-07-22 12:34:51 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-07-22 12:34:51 +0300 |
commit | a826daa77fa56afddb4920ae7ff9dec334f6e646 (patch) | |
tree | 1578f7c07787a3299ad012184450d82f71a9e8af /.gitignore | |
parent | 47eefa0ccedffcaf6f93d3f55add41b4bdcc60c9 (diff) | |
download | genenetwork3-a826daa77fa56afddb4920ae7ff9dec334f6e646.tar.gz |
Check that child distance from itself is zero
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: Check that a child's distance from itself is
zero. If not, throw an exception.
The children lists are a list of distances of "something" from other
"somethings". There is still some need to establish what those "somethings"
are, so that the test names can reflect the ideas that are actually being
tested for.
* tests/unit/computations/test_slink.py: Change the name of the test so that
it more closely corresponds to the business logic it is actually testing,
and not the mechanics of testing the idea.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions