summaryrefslogtreecommitdiff
path: root/src/python/example/alpha_rips_persistence_bottleneck_distance.py
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-01-17 15:37:17 +0100
committerGard Spreemann <gspr@nonempty.org>2020-01-17 15:37:17 +0100
commit9acc59fcc1d5001a212e7b9cd6f00a569a625882 (patch)
tree0f8c3a3c29a9fef6394394a9650198b348bff130 /src/python/example/alpha_rips_persistence_bottleneck_distance.py
parent5ccee32ec2ba38743c6b96867db3e1b5151e45e4 (diff)
parentcabc43b34723efa7640313348b844eabe9971e38 (diff)
Merge tag 'tags/gudhi-release-3.1.0.rc1' into dfsg/latest
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")