Skip to content

Commit

Permalink
Added betti validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnstRoell committed Apr 22, 2024
1 parent 521b2ea commit d8c59dd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions validation/validate_homology.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ def build_simplex_tree(top_level_simplices):


def validate_betti_numbers(data: dict):
if not hasattr(data, "betti_numbers"):
raise AttributeError(
"Expected to find betti numbers, but none were found. Make sure to \
pass the homology type when processsing."
)

simplex_tree = build_simplex_tree(data["triangulation"])
persistence_pairs = simplex_tree.persistence(persistence_dim_max=True)

Expand Down

0 comments on commit d8c59dd

Please sign in to comment.