Skip to content
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

Set no diagonal balance when reading UBC tree meshes #386

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

santisoler
Copy link
Member

Set diagonal_balance=False when creating a TreeMesh after reading a UBC file in read_UBC. This prevents raising the future warning related to the default value of diagonal_balance. Add test that checks that no warning is being raised by that method.

Set `diagonal_balance=False` when creating a TreeMesh after reading
a UBC file in `read_UBC`. This prevents raising the future warning
related to the default value of `diagonal_balance`. Add test that checks
that no warning is being raised by that method.
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.21%. Comparing base (edba2be) to head (86fa218).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #386      +/-   ##
==========================================
+ Coverage   86.19%   86.21%   +0.01%     
==========================================
  Files          90       90              
  Lines       18609    18616       +7     
  Branches     2103     2103              
==========================================
+ Hits        16040    16049       +9     
+ Misses       1884     1883       -1     
+ Partials      685      684       -1     

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

Copy link
Member

@jcapriot jcapriot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I believe this catches all the places where TreeMesh's are created internally.

@jcapriot jcapriot merged commit 9f10381 into main Dec 17, 2024
27 checks passed
@jcapriot jcapriot deleted the read-ubc-diagonal-balance branch December 17, 2024 20:06
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.

2 participants