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

Multiple tiling adjustments #27

Merged
merged 10 commits into from
Apr 17, 2023
Merged

Multiple tiling adjustments #27

merged 10 commits into from
Apr 17, 2023

Conversation

camisowers
Copy link
Contributor

@camisowers camisowers commented Apr 14, 2023

If you haven't already, please read through our contributing guidelines before opening your PR

What is the purpose of this PR?

Addresses the changes necessary to enable multiple tile stitching.
Also closes #26.

How did you implement your changes

Made the adjustments outlined in angelolab/toffy#351 and #26.
Added testing logic for multiple prefixes.

Remaining issues

  • New release and bump to toffy.
  • Update these function uses in ark repo to reflect to new returns and logic.

@camisowers camisowers added the enhancement New feature or request label Apr 14, 2023
@camisowers camisowers self-assigned this Apr 14, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4703194702

  • 29 of 29 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 96.859%

Totals Coverage Status
Change from base Build 4659820411: -0.04%
Covered Lines: 434
Relevant Lines: 446

💛 - Coveralls

Copy link
Contributor

@srivarra srivarra left a comment

Choose a reason for hiding this comment

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

@camisowers Looks good! Should we make a new release after this PR gets merged in?

# check first tile for 6x9
prefix, expected_fovs, rows, cols = tiles[0]
assert prefix == prefix_1[:-1] and (rows, cols) == (6, 9)
assert expected_fovs == ns.natsorted(
Copy link
Contributor

Choose a reason for hiding this comment

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

natsort is such an amazing module.

Copy link
Contributor

@alex-l-kong alex-l-kong 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

@camisowers
Copy link
Contributor Author

@camisowers Looks good! Should we make a new release after this PR gets merged in?

Yes, definitely.

@camisowers camisowers requested a review from ngreenwald April 14, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tiled logic bug when provided with a full grid
5 participants