Skip to content

fix: support tifffile 2026.10.15 (TiffFrame._nextifd removed) - #132

Merged
sameeul merged 4 commits into
PolusAI:masterfrom
sameeul:fix/tifffile-nextifd
Nov 19, 2026
Merged

sameeul merged 4 commits into
PolusAI:masterfrom
sameeul:fix/tifffile-nextifd

Conversation

@sameeul

@sameeul sameeul commented Nov 19, 2026

Copy link
Copy Markdown
Member

PythonReader called the private TiffFrame._nextifd(), which exists in tifffile 2024.12.12–2026.3.3 but is gone in 2026.10.15 (removed somewhere between 2026.3.3 and 2026.10.15).

This inlines the same logic in _TiffBytesOffsets.get_offset using only public TiffFile/TiffFormat attributes.

Not tested against 2026.10.15 (unavailable on my index); logic copied from 2026.3.3.

🤖 Generated with Claude Code

sameeul and others added 2 commits November 19, 2026 10:00
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace 5025551.zarr and ExpD_chicken_embryo_MIP.ome.zarr (EBI S3, flaky) with
small_5d_pyramid.zarr (v2) and small_5d_v3.ome.zarr (v3) from polus-test-data,
fetched with retries. Drops the ome_zarr test dependency.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sameeul

sameeul commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

Also switched the zarr tests to small pinned datasets from sameeul/polus-test-data#4 (v2 pyramid + v3 NGFF 0.5, ~0.45 MB each) with retrying downloads, because CI was failing in setUpModule when uk1s3.embassy.ebi.ac.uk refused connections. The data URL is pinned to the PR #4 branch commit; I'll re-pin once it is on main.

🤖 Generated with Claude Code

sameeul and others added 2 commits November 19, 2026 11:53
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sameeul
sameeul merged commit ba5e2e8 into PolusAI:master Nov 19, 2026
6 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.

1 participant