Skip to content

src layout and test warnings cleaned up#380

Merged
srivarra merged 2 commits into
mainfrom
src-layout
Feb 28, 2026
Merged

src layout and test warnings cleaned up#380
srivarra merged 2 commits into
mainfrom
src-layout

Conversation

@srivarra
Copy link
Copy Markdown
Collaborator

@srivarra srivarra commented Feb 28, 2026

Cleaned up a lot of the clutter from file open warnings:

  • Fix print_info() to close all reader types, not just NGFFNode
  • Close zarr store in MMStack.close() alongside the TiffFile
  • Fix broken warning filter in _read_frame_metadata() (module="tifffile" never matched)
  • Close readers and datasets properly in tests (context managers, explicit .close())
  • Refactor _check_result in converter tests to not access reader after conversion closes it

Set license to reference the LICENSE file.

…ross readers and tests

Signed-off-by: Sricharan Reddy Varra <sricharan.varra@biohub.org>
Signed-off-by: Sricharan Reddy Varra <sricharan.varra@biohub.org>
@srivarra srivarra linked an issue Feb 28, 2026 that may be closed by this pull request
@srivarra srivarra marked this pull request as ready for review February 28, 2026 01:11
@srivarra srivarra requested a review from edyoshikun February 28, 2026 01:16
Comment thread tests/test_ndtiff.py
Copy link
Copy Markdown
Collaborator

@edyoshikun edyoshikun left a comment

Choose a reason for hiding this comment

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

I think everything else looks good. As long as your tests pass then we are good to go. I had a minor comment . Thanks

@srivarra srivarra merged commit 3c47e29 into main Feb 28, 2026
7 checks passed
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.

Migrate to the src Layout

2 participants