summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieu <mathieu.carriere3@gmail.com>2020-03-13 11:31:43 -0400
committermathieu <mathieu.carriere3@gmail.com>2020-03-13 11:31:43 -0400
commit4e2a2c871c28b1ac7d6572587e741ff51a76391c (patch)
tree7a1840a2432fb2ae7f21a817093004646f0e12e9
parent74c7640e5ef092ea47d385f12694a6acf6a0f25d (diff)
parent7791b57391db578f06a1121afbdcc1506b0d91dd (diff)
Merge branch 'wasserstein_representations' of https://github.com/MathieuCarriere/gudhi into wasserstein_representations
-rw-r--r--src/python/gudhi/representations/metrics.py2
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)