From 2313877b08eaaa5e6ff4d849b3dc35c895de3f6e Mon Sep 17 00:00:00 2001 From: raquellewei Date: Fri, 3 Nov 2023 12:43:01 -0400 Subject: [PATCH] debug --- src/objects/func_leaf_distance.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/objects/func_leaf_distance.py b/src/objects/func_leaf_distance.py index 644c060..4007f1d 100644 --- a/src/objects/func_leaf_distance.py +++ b/src/objects/func_leaf_distance.py @@ -33,6 +33,9 @@ def get_pairwise_vector(self, basis=None, isdistance=True): for func2 in labels: print(f"funcs: {func1}, {func2}") print(indices[func1], indices[func2]) + print(type(indices[func1]), type(indices[func2])) + print(self.dists) + print(self.dists[indices[func1], indices[func2]]) 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