Skip to content

implement _read_indexed and override dims and shape#44

Closed
toloudis wants to merge 2 commits into
mainfrom
feature/read-indexed
Closed

implement _read_indexed and override dims and shape#44
toloudis wants to merge 2 commits into
mainfrom
feature/read-indexed

Conversation

@toloudis

Copy link
Copy Markdown
Contributor

This is the implementation of _read_indexed for optimal per-plane reads, and an overridden dims and shape properties. This pr requires the changes in bioio-devs/bioio-base#70 and (temporarily) depends strictly on that branch of bioio-base.

Comment thread bioio_nd2/reader.py

return self._dims

def _read_dims_and_shape(self) -> Tuple[Tuple[str, ...], Tuple[int, ...]]:

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.

Is this reused anywhere? Not sure why it this isn't inline with the caller. I guess it parallels the nd2 read

Comment thread pyproject.toml
dynamic = ["version"]
dependencies = [
"bioio-base>=3.0.0",
"bioio-base @ git+https://github.com/bioio-devs/bioio-base.git@feat/fast-subslice-reads",

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.

and this gets cleaned up once the merge happens.

@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

closing in favor of #51

@toloudis

toloudis commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

closing in favor of #51

okay but why? they look pretty similar

@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

I made a mistake in labeling this it is actually #49 that this was closed in favor of.

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