Skip to content

Allow TreeMesh.__repr__ to run when non finalized #393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

santisoler
Copy link
Member

@santisoler santisoler commented Feb 21, 2025

Allow TreeMesh.__repr__ and TreeMesh._repr_html_ to run even when the mesh has not been finalized yet. This avoid an error to be raised, and provides minimal information about the mesh extent. Test if the methods don't error out when the mesh is not finalized.

Related to #392

Allow `TreeMesh.__repr__` and `TreeMesh._repr_html_` to run even when
the mesh has not been finalized yet. This avoid an error to be raised,
and provides minimal information about the mesh extent.
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.57%. Comparing base (60f3af1) to head (7fb6d24).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
+ Coverage   86.21%   86.57%   +0.35%     
==========================================
  Files          90       90              
  Lines       18625    18669      +44     
  Branches     2103     2109       +6     
==========================================
+ Hits        16058    16163     +105     
+ Misses       1883     1822      -61     
  Partials      684      684              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant