diff options
author | Muriithi Frederick Muriuki | 2021-07-23 09:03:12 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-07-23 09:03:12 +0300 |
commit | 7e8a3347cc04433c55a5f6a3f528e9163fee6543 (patch) | |
tree | aa4c874e9e0ff102a82a502e95c52cccb7ace020 /gn3/exceptions.py | |
parent | 5493c890c27373530a0212361d4632df613d8afd (diff) | |
download | genenetwork3-7e8a3347cc04433c55a5f6a3f528e9163fee6543.tar.gz |
Iterate through all valid pairs
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/computations/slink.py: Fix the iteration construct.
Given two lists of member coordinates, such as [0, 1] and [3, 5], the
initial code would iterate over the pairs [0, 3] and [1, 5].
This commit fixes the iteration constructs such that the new code iterates
over the pairs [0, 3], [0, 5], [1, 3] and [1, 5].
Diffstat (limited to 'gn3/exceptions.py')
0 files changed, 0 insertions, 0 deletions