diff options
-rw-r--r-- | python/README.rst | 6 | ||||
-rw-r--r-- | python/src/simple_example.py | 6 | ||||
-rw-r--r-- | setup.py | 3 |
3 files changed, 10 insertions, 5 deletions
diff --git a/python/README.rst b/python/README.rst index 0c6c391..52bc150 100644 --- a/python/README.rst +++ b/python/README.rst @@ -99,8 +99,10 @@ Now the code:: import phat - # define a boundary matrix with the chosen internal representation - boundary_matrix = phat.boundary_matrix(representation = phat.representations.vector_vector) + boundary_matrix = phat.boundary_matrix() + + # or define a boundary matrix with the chosen internal representation + # boundary_matrix = phat.boundary_matrix(representation = phat.representations.bit_tree_pivot_column) # set the respective columns -- (dimension, boundary) pairs boundary_matrix.columns = [ (0, []), diff --git a/python/src/simple_example.py b/python/src/simple_example.py index 955e213..7aa6214 100644 --- a/python/src/simple_example.py +++ b/python/src/simple_example.py @@ -21,8 +21,10 @@ if __name__ == "__main__": import phat - # define a boundary matrix with the chosen internal representation - boundary_matrix = phat.boundary_matrix(representation = phat.representations.vector_vector) + boundary_matrix = phat.boundary_matrix() + + # or define a boundary matrix with the chosen internal representation + # boundary_matrix = phat.boundary_matrix(representation = phat.representations.bit_tree_pivot_column) # set the respective columns -- (dimension, boundary) pairs boundary_matrix.columns = [ (0, []), @@ -51,7 +51,7 @@ if sys.version_info < (3,4,0): setup( name='phat', - version='1.5.0', + version='1.5.0.post2', author='Bryn Keller', author_email='bryn.keller@intel.com', url='https://bitbucket.org/phat-code/phat', @@ -60,6 +60,7 @@ setup( keywords='algebraic-topology PHAT distributed topology persistent-homology', long_description=long_description, ext_modules=ext_modules, + requires=requires, install_requires=requires, cmdclass={'build_ext': BuildExt}, package_dir={'':'python'}, |