From 6552d09c3f290a25ee910e007084fe3809f8c8ed Mon Sep 17 00:00:00 2001 From: MathieuCarriere Date: Thu, 12 Mar 2020 16:19:34 -0400 Subject: fixed error message --- src/python/gudhi/representations/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/python/gudhi/representations/metrics.py b/src/python/gudhi/representations/metrics.py index f913f1fc..4070c321 100644 --- a/src/python/gudhi/representations/metrics.py +++ b/src/python/gudhi/representations/metrics.py @@ -147,7 +147,7 @@ def pairwise_persistence_diagram_distances(X, Y=None, metric="bottleneck", **kwa from gudhi.wasserstein import wasserstein_distance as pot_wasserstein_distance return pairwise_distances(XX, YY, metric=sklearn_wrapper(pot_wasserstein_distance, X, Y, **kwargs)) except ImportError: - print("Gudhi built without POT. Please install POT or use metric='wasserstein' or metric='hera_wasserstein'") + print("POT (Python Optimal Transport) is not installed. Please install POT or use metric='wasserstein' or metric='hera_wasserstein'") raise elif metric == "sliced_wasserstein": Xproj = compute_persistence_diagram_projections(X, **kwargs) -- cgit v1.2.3