diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-14 14:40:41 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-14 14:40:41 +0100 |
commit | 587a845289a4e29014f67d4c3379b2b4d6b1f102 (patch) | |
tree | 6a43e1ce25342d9707db2362c9577dd680845b1d /src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py | |
parent | 88c30209fe58d29d24d5bba3c137cd5e5def29c5 (diff) |
print errors to stderr
Diffstat (limited to 'src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py')
-rwxr-xr-x | src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py b/src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py index c692e66f..97bfd49f 100755 --- a/src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py +++ b/src/python/example/periodic_cubical_complex_barcode_persistence_from_perseus_file_example.py @@ -2,6 +2,7 @@ import argparse import matplotlib.pyplot as plot +import sys import gudhi """ This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. @@ -73,4 +74,4 @@ if is_file_perseus(args.file): gudhi.plot_persistence_barcode(diag) plot.show() else: - print(args.file, "is not a valid perseus style file") + print(args.file, "is not a valid perseus style file", file=sys.stderr) |