diff options
Diffstat (limited to 'src/python/gudhi/tangential_complex.pyx')
-rw-r--r-- | src/python/gudhi/tangential_complex.pyx | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/python/gudhi/tangential_complex.pyx b/src/python/gudhi/tangential_complex.pyx index 3a945fe2..f4c8b079 100644 --- a/src/python/gudhi/tangential_complex.pyx +++ b/src/python/gudhi/tangential_complex.pyx @@ -9,15 +9,14 @@ import os from gudhi.simplex_tree cimport * from gudhi.simplex_tree import SimplexTree -""" This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. - See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. - Author(s): Vincent Rouvreau - - Copyright (C) 2016 Inria - - Modification(s): - - YYYY/MM Author: Description of the modification -""" +# This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. +# See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. +# Author(s): Vincent Rouvreau +# +# Copyright (C) 2016 Inria +# +# Modification(s): +# - YYYY/MM Author: Description of the modification __author__ = "Vincent Rouvreau" __copyright__ = "Copyright (C) 2016 Inria" @@ -65,7 +64,7 @@ cdef class TangentialComplex: # The real cython constructor def __cinit__(self, intrisic_dim, points=None, off_file=''): - if off_file is not '': + if off_file: if os.path.isfile(off_file): self.thisptr = new Tangential_complex_interface(intrisic_dim, str.encode(off_file), True) else: @@ -92,7 +91,7 @@ cdef class TangentialComplex: Raises: ValueError: In debug mode, if the computed star dimension is too low. Try to set a bigger maximal edge length value with - :func:`~gudhi.Tangential_complex.set_max_squared_edge_length` + :meth:`set_max_squared_edge_length` if this happens. """ self.thisptr.compute_tangential_complex() @@ -167,7 +166,7 @@ cdef class TangentialComplex: :type max_squared_edge_length: double If the maximal edge length value is too low - :func:`~gudhi.Tangential_complex.compute_tangential_complex` + :meth:`compute_tangential_complex` will throw an exception in debug mode. """ self.thisptr.set_max_squared_edge_length(max_squared_edge_length) |