diff options
author | MathieuCarriere <mathieu.carriere3@gmail.com> | 2020-03-12 16:19:34 -0400 |
---|---|---|
committer | MathieuCarriere <mathieu.carriere3@gmail.com> | 2020-03-12 16:19:34 -0400 |
commit | 6552d09c3f290a25ee910e007084fe3809f8c8ed (patch) | |
tree | 91671bf9b7381c99c76e570f5d30efa7ffedee23 /src/python/gudhi/representations | |
parent | 25e40a52ec7bc9e1bfe418fb1aa16e2a06994d1b (diff) |
fixed error message
Diffstat (limited to 'src/python/gudhi/representations')
-rw-r--r-- | src/python/gudhi/representations/metrics.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |