summaryrefslogtreecommitdiff
path: root/src/python/test/test_reader_utils.py
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2021-05-25 18:01:54 +0200
committerHind-M <hind.montassif@gmail.com>2021-05-25 18:01:54 +0200
commit8b3c55502718e4c184d828151ee6f75fd2cfc9eb (patch)
tree13c83834dc9258c798f7513bc938206e07ff914c /src/python/test/test_reader_utils.py
parenta571f198535b5ab5751eb55693371e9348aa1804 (diff)
Add a separator argument that goes with the rips_complex_diagram_persistence_from_distance_matrix_file_example input file
Specify explicitly the separator when using a specific input file
Diffstat (limited to 'src/python/test/test_reader_utils.py')
-rwxr-xr-xsrc/python/test/test_reader_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/test/test_reader_utils.py b/src/python/test/test_reader_utils.py
index 90da6651..e96e0569 100755
--- a/src/python/test/test_reader_utils.py
+++ b/src/python/test/test_reader_utils.py
@@ -30,7 +30,7 @@ def test_full_square_distance_matrix_csv_file():
test_file.write("0;1;2;3;\n1;0;4;5;\n2;4;0;6;\n3;5;6;0;")
test_file.close()
matrix = gudhi.read_lower_triangular_matrix_from_csv_file(
- csv_file="full_square_distance_matrix.csv"
+ csv_file="full_square_distance_matrix.csv", separator=";"
)
assert matrix == [[], [1.0], [2.0, 4.0], [3.0, 5.0, 6.0]]