From 4f5ad438cb0a783087d9d41ba26c1c199fd62432 Mon Sep 17 00:00:00 2001 From: raquellewei Date: Fri, 3 Nov 2023 12:46:50 -0400 Subject: [PATCH] debug --- src/objects/func_leaf_distance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects/func_leaf_distance.py b/src/objects/func_leaf_distance.py index e7802d4..ccb2038 100644 --- a/src/objects/func_leaf_distance.py +++ b/src/objects/func_leaf_distance.py @@ -36,7 +36,7 @@ def get_pairwise_vector(self, basis=None, isdistance=True): print(indices) print(type(indices[func1]), type(indices[func2])) print(self.dists) - print(self.dists[0, 0]) + print(self.dists[(0, 0)]) y.append(self.dists[indices[func1], indices[func2]]) y = np.array(y) # by default, the values are: 0 = most dissimilar, 1 = most similar, so to convert to a distance, we subtract from 1