Skip to content

feature/finegrain-region-read#195

Merged
BrianWhitneyAI merged 2 commits into
mainfrom
feature/finegrain-region-read
Jun 24, 2026
Merged

feature/finegrain-region-read#195
BrianWhitneyAI merged 2 commits into
mainfrom
feature/finegrain-region-read

Conversation

@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

Description

This is a subsequent release to the update in bioio-base==3.4.0 with more fine-grained region reading. This PR bumps the version and provides a path to the update

Comment thread bioio/bio_image.py Outdated
# direct reader sub-region read
if (
dimension_order_out is not None
and kwargs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so the presence of any extra kwargs could trigger this? I assume we want some specific ones in this case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is true will fix!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually the only accepted kwargs are slice per the function definition so I think its fine to assert directly here. I added a comment about it though

Comment thread bioio/bio_image.py Outdated
"""
# If no out orientation, simply return current data as dask array

# direct reader sub-region read

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you expand this comment - these boolean checks are a bit wonky to read

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah will do. Essentially we are inverting the lower checks to say, if its a slice and not weird dims like mosaic then use the direct path

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

split up and updated in 95f5bb4

@BrianWhitneyAI BrianWhitneyAI merged commit efb9fb1 into main Jun 24, 2026
16 checks passed
@BrianWhitneyAI BrianWhitneyAI deleted the feature/finegrain-region-read branch June 24, 2026 18:21
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