Add CID blobs for ITK PR #6032 VTI ImageIO test fixtures#46
Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:gh-pagesfrom May 1, 2026
Merged
Conversation
23 unique blobs (24 fixtures; two .raw payloads share content) for
Modules/IO/VTK/test/Input/ in the upstream ITK repository. The blobs
back the VTI reader/writer test suite (PR #6032 / branch vtiSupport)
and let the in-tree binaries be replaced by .cid pointer files so the
ITK source tree stops growing with binary fixtures.
Source files:
reco2D_16line.{vti,mha} (originally in-tree)
VTI_oblique_direction.{vti,mhd,raw} (Direction round-trip)
VTI_rgba_u8_appended_raw.{vti,mhd,raw} (RGBA appended-raw)
VTI_scalar_u8_appended_raw.{vti,mhd,raw} (scalar appended-raw)
VTI_scalar_f32_zlib_appended.{vti,mhd,raw} (zlib-compressed)
VTI_vector3_f32_zlib_appended.{vti,mhd,raw} (vector + zlib)
VTI_tensor_f32_ascii.{vti,mhd,raw} (symmetric tensor)
VTI_guard_lz4.vti (F-001 guard fixture)
VTI_guard_lzma.vti (F-002 guard fixture)
VTI_guard_multipiece.vti (F-005 guard fixture)
VTI_guard_unknown_compressor.vti (F-010 guard fixture)
Total uncompressed size ≈ 100 KB; well under the ExternalData ceiling.
The matching ITK PR (#6032) replaces each in-tree binary with
<filename>.cid containing the IPFS CIDv1 (sha2-256 raw) above so
ExternalData fetches it from one of the standard ITK content-link
gateways at test time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
23 unique CID blobs (24 fixtures; two
.rawpayloads share content) for the test suite added by InsightSoftwareConsortium/ITK#6032. Once this lands, the in-tree binaries on PR #6032 can be replaced by<filename>.cidpointer files (already prepared on the local PR branch) so the ITK source tree stops growing with binary fixtures.Fixture set
reco2D_16line.{vti,mha}VTI_oblique_direction.{vti,mhd,raw}VTI_rgba_u8_appended_raw.{vti,mhd,raw}VTI_scalar_u8_appended_raw.{vti,mhd,raw}VTI_scalar_f32_zlib_appended.{vti,mhd,raw}VTI_vector3_f32_zlib_appended.{vti,mhd,raw}VTI_tensor_f32_ascii.{vti,mhd,raw}VTI_guard_lz4.vtiVTI_guard_lzma.vtiVTI_guard_multipiece.vtiVTI_guard_unknown_compressor.vtiAll produced by the deterministic Python-stdlib generator at
Modules/IO/VTK/test/generate_vti_fixtures.pyon the consumer PR. Total uncompressed ≈ 100 KB; well under any ExternalData ceiling.Verification
Each blob's filename is the IPFS CIDv1 (sha2-256 raw) of its bytes — computed via
ipfs add --cid-version=1 --only-hash --quieter <file>and verified to match whatbafkrei…returns fromipfs addon a fresh checkout. The consumer PR's<file>.cidpointer files contain the matching CIDs verbatim, soExternalDatacan resolve via any of the standard ITK gateways:https://insightsoftwareconsortium.github.io/ITKTestingData/CID/{cid}https://ipfs.io/ipfs/{cid}https://gateway.pinata.cloud/ipfs/{cid}https://cloudflare-ipfs.com/ipfs/{cid}https://dweb.link/ipfs/{cid}