Commit Graph

1 Commits

Author SHA1 Message Date
06ecc1cd77 tile_probe.py: reject a missing file and an --offset outside the blob
A missing file stopped with a traceback. A negative --offset silently probed the last bytes of the file
(Python slicing from the end), and an offset at or past the end printed nothing and exited 0, which looks like
"no layout found". Both now exit 1 with the offset and the file size; an empty file reports 0 bytes.

Tests: tests/test_tile_probe.py (new; skips without numpy, which the tool needs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:36:39 +03:00