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

bind cell_to_child_pos / child_pos_to_cell #404

Closed
wants to merge 1 commit into from

Conversation

isaacbrodsky
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.34%. Comparing base (b168018) to head (0dcc299).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #404      +/-   ##
==========================================
+ Coverage   99.33%   99.34%   +0.01%     
==========================================
  Files          28       28              
  Lines        1354     1378      +24     
==========================================
+ Hits         1345     1369      +24     
  Misses          9        9              

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

@@ -922,6 +922,65 @@ def local_ij_to_cell(origin, i, j):
return h


def cell_to_child_pos(child, parent_res):
"""
TODO
Copy link
Collaborator

Choose a reason for hiding this comment

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

These TODOs should be filled in before merging

ajfriend added a commit that referenced this pull request Sep 27, 2024
ajfriend added a commit that referenced this pull request Sep 27, 2024
* cell_to_child_pos and child_pos_to_cell

* start exposing cell_to_children_size

* checking resolutions

* cell_to_children_size python function

* adding tests from #404

* fiddling

* fix test_cell_to_vertex; helps coverage by removing untouched branch

* more tests

* lint

* exhaustive test for a few resolution pairs

* lint

* doc strings

* error messages

* stricter test

* playing with argument order. example code in tests looks nicer

* use parent_res instead of res

* Use `res_*` instead of `*_res`

* fix up changelog
@ajfriend
Copy link
Contributor

Closing in favor of #405

@ajfriend ajfriend closed this Sep 27, 2024
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.

3 participants