summaryrefslogtreecommitdiff
path: root/src/python/example/alpha_rips_persistence_bottleneck_distance.py
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-14 08:48:51 +0100
commit88c30209fe58d29d24d5bba3c137cd5e5def29c5 (patch)
treec7a3257ce01bd26b770bb39b508835843720fb5e /src/python/example/alpha_rips_persistence_bottleneck_distance.py
parent23ccc50ab3608202452e44f287e4817ffa98227c (diff)
parent5533e1f16c99512ff1966b31ba8f121d37462f52 (diff)
Merge branch 'master' into print_warnings_to_stderr
Diffstat (limited to 'src/python/example/alpha_rips_persistence_bottleneck_distance.py')
-rwxr-xr-xsrc/python/example/alpha_rips_persistence_bottleneck_distance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/alpha_rips_persistence_bottleneck_distance.py b/src/python/example/alpha_rips_persistence_bottleneck_distance.py
index 086307ee..d5c33ec8 100755
--- a/src/python/example/alpha_rips_persistence_bottleneck_distance.py
+++ b/src/python/example/alpha_rips_persistence_bottleneck_distance.py
@@ -35,7 +35,7 @@ args = parser.parse_args()
with open(args.file, "r") as f:
first_line = f.readline()
if (first_line == "OFF\n") or (first_line == "nOFF\n"):
- point_cloud = gudhi.read_off(off_file=args.file)
+ point_cloud = gudhi.read_points_from_off_file(off_file=args.file)
print("#####################################################################")
print("RipsComplex creation from points read in a OFF file")