Skip to content

Commit

Permalink
fix duplicates message
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Feb 21, 2019
1 parent 34243be commit f31ffc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphtools/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _check_duplicates(self, distances, indices):
"Detected zero distance between {} pairs of samples. "
"Consider removing duplicates to avoid errors in "
"downstream processing.".format(
np.sum(np.sum(distances[:, 1:]))),
np.sum(np.sum(distances[:, 1:] == 0))),
RuntimeWarning)

def build_kernel_to_data(self, Y, knn=None, bandwidth=None,
Expand Down

0 comments on commit f31ffc4

Please sign in to comment.