From 23161b63e5720eaadd9fe32f9b0e10c21f28509c Mon Sep 17 00:00:00 2001 From: raquellewei Date: Thu, 2 Nov 2023 23:18:37 -0400 Subject: [PATCH] temp printing for debugging purpose --- src/objects/func_leaf_distance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/objects/func_leaf_distance.py b/src/objects/func_leaf_distance.py index ff32b5e..644c060 100644 --- a/src/objects/func_leaf_distance.py +++ b/src/objects/func_leaf_distance.py @@ -31,6 +31,8 @@ def get_pairwise_vector(self, basis=None, isdistance=True): y = [] for func1 in labels: for func2 in labels: + print(f"funcs: {func1}, {func2}") + print(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