From 09b731173d4cd7a1ab1f77956791b358f731c4c3 Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Wed, 29 Apr 2026 07:40:28 -0500 Subject: [PATCH 1/2] ENH: Convert ExternalData .md5/.sha512 tags to .cid (IPFS content IDs) Migrate ExternalData tag files to CIDv1-raw form. The CID blobs are added to ITKTestingData gh-pages in InsightSoftwareConsortium/ITKTestingData#44. --- test/Input/BoxheadDRRFullDev1_G0.tif.cid | 1 + test/Input/BoxheadDRRFullDev1_G0.tif.md5 | 1 - test/Input/BoxheadDRRFullDev1_G90.tif.cid | 1 + test/Input/BoxheadDRRFullDev1_G90.tif.md5 | 1 - test/Input/boxheadDRRDev1_G0.tif.cid | 1 + test/Input/boxheadDRRDev1_G0.tif.md5 | 1 - test/Input/boxheadDRRDev1_G90.tif.cid | 1 + test/Input/boxheadDRRDev1_G90.tif.md5 | 1 - 8 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 test/Input/BoxheadDRRFullDev1_G0.tif.cid delete mode 100644 test/Input/BoxheadDRRFullDev1_G0.tif.md5 create mode 100644 test/Input/BoxheadDRRFullDev1_G90.tif.cid delete mode 100644 test/Input/BoxheadDRRFullDev1_G90.tif.md5 create mode 100644 test/Input/boxheadDRRDev1_G0.tif.cid delete mode 100644 test/Input/boxheadDRRDev1_G0.tif.md5 create mode 100644 test/Input/boxheadDRRDev1_G90.tif.cid delete mode 100644 test/Input/boxheadDRRDev1_G90.tif.md5 diff --git a/test/Input/BoxheadDRRFullDev1_G0.tif.cid b/test/Input/BoxheadDRRFullDev1_G0.tif.cid new file mode 100644 index 0000000..b634172 --- /dev/null +++ b/test/Input/BoxheadDRRFullDev1_G0.tif.cid @@ -0,0 +1 @@ +bafkreib47lgbuwbiig52lte5jdq7qnhqiztsuwflgzgm4mahtn4xj4agtm diff --git a/test/Input/BoxheadDRRFullDev1_G0.tif.md5 b/test/Input/BoxheadDRRFullDev1_G0.tif.md5 deleted file mode 100644 index 8054e51..0000000 --- a/test/Input/BoxheadDRRFullDev1_G0.tif.md5 +++ /dev/null @@ -1 +0,0 @@ -ebd2b58a0e7a58259939da4248fa108f diff --git a/test/Input/BoxheadDRRFullDev1_G90.tif.cid b/test/Input/BoxheadDRRFullDev1_G90.tif.cid new file mode 100644 index 0000000..7dec112 --- /dev/null +++ b/test/Input/BoxheadDRRFullDev1_G90.tif.cid @@ -0,0 +1 @@ +bafkreib3eoi4gimsfaijip3hpmo5p6z7hjgfscqm6jlvhwouuitpzsjxda diff --git a/test/Input/BoxheadDRRFullDev1_G90.tif.md5 b/test/Input/BoxheadDRRFullDev1_G90.tif.md5 deleted file mode 100644 index ee9e270..0000000 --- a/test/Input/BoxheadDRRFullDev1_G90.tif.md5 +++ /dev/null @@ -1 +0,0 @@ -f89d9eb4b8f50cc92659eda0968110d0 \ No newline at end of file diff --git a/test/Input/boxheadDRRDev1_G0.tif.cid b/test/Input/boxheadDRRDev1_G0.tif.cid new file mode 100644 index 0000000..df23097 --- /dev/null +++ b/test/Input/boxheadDRRDev1_G0.tif.cid @@ -0,0 +1 @@ +bafkreifeswb33ppyqnxabjvnh2eosh55ji4iu4zcksrvneniutj75klttu diff --git a/test/Input/boxheadDRRDev1_G0.tif.md5 b/test/Input/boxheadDRRDev1_G0.tif.md5 deleted file mode 100644 index 428aa7b..0000000 --- a/test/Input/boxheadDRRDev1_G0.tif.md5 +++ /dev/null @@ -1 +0,0 @@ -e0391392a8e463e63c17b4bda0211cd0 diff --git a/test/Input/boxheadDRRDev1_G90.tif.cid b/test/Input/boxheadDRRDev1_G90.tif.cid new file mode 100644 index 0000000..6999468 --- /dev/null +++ b/test/Input/boxheadDRRDev1_G90.tif.cid @@ -0,0 +1 @@ +bafkreihw476d2275dmcqx3ipe6h5r2cg4whvz2kvaagoe3djuqlajyb57y diff --git a/test/Input/boxheadDRRDev1_G90.tif.md5 b/test/Input/boxheadDRRDev1_G90.tif.md5 deleted file mode 100644 index 53f87d4..0000000 --- a/test/Input/boxheadDRRDev1_G90.tif.md5 +++ /dev/null @@ -1 +0,0 @@ -034660fd002da511d8232692b85d6c3b From 1ee69297dc5d3e277f95e213e9bba6d0087e7fd4 Mon Sep 17 00:00:00 2001 From: "Hans J. Johnson" Date: Wed, 29 Apr 2026 11:05:58 -0500 Subject: [PATCH 2/2] BUG: Disable 3 FullSize-CT tests with orphaned BoxheadCTFull.img BoxheadCTFull.img.md5 points to a hash that 404s on gh-pages, Girder, and itk.org. Comment out the 3 tests that depend on it (TwoProjection2D3DRegistrationFullSizeCTTest, GetDRRSiddonJacobs- RayTracingFullSizedCTTest{1,2}) and remove the now-unused BoxheadCTFull.{img.md5,hdr.cid} tag pair. --- test/CMakeLists.txt | 56 +++++++++++++++++--------------- test/Input/BoxheadCTFull.hdr.cid | 1 - test/Input/BoxheadCTFull.img.md5 | 1 - 3 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 test/Input/BoxheadCTFull.hdr.cid delete mode 100644 test/Input/BoxheadCTFull.img.md5 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1f79d52..5bab24a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,16 +17,17 @@ itk_add_test(NAME TwoProjection2D3DRegistrationDownSizedCTTest DATA{Input/BoxheadCT.img,BoxheadCT.hdr} ) -itk_add_test(NAME TwoProjection2D3DRegistrationFullSizeCTTest - COMMAND TwoProjectionRegistrationTestDriver TwoProjection2D3DRegistration - -res 0.5 0.5 0.5 0.5 - -iso 255 259 130 - -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G0_Reg.tif ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G90_Reg.tif - DATA{Input/BoxheadDRRFullDev1_G0.tif} 0 - DATA{Input/BoxheadDRRFullDev1_G90.tif} 90 - DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} - ) -set_property(TEST TwoProjection2D3DRegistrationFullSizeCTTest APPEND PROPERTY LABELS RUNS_LONG) +# Disabled: BoxheadCTFull.img is orphaned (404 from gh-pages, Girder, itk.org). +# itk_add_test(NAME TwoProjection2D3DRegistrationFullSizeCTTest +# COMMAND TwoProjectionRegistrationTestDriver TwoProjection2D3DRegistration +# -res 0.5 0.5 0.5 0.5 +# -iso 255 259 130 +# -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G0_Reg.tif ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G90_Reg.tif +# DATA{Input/BoxheadDRRFullDev1_G0.tif} 0 +# DATA{Input/BoxheadDRRFullDev1_G90.tif} 90 +# DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} +# ) +# set_property(TEST TwoProjection2D3DRegistrationFullSizeCTTest APPEND PROPERTY LABELS RUNS_LONG) itk_add_test(NAME GetDRRSiddonJacobsRayTracingDownSizedCTTest1 COMMAND TwoProjectionRegistrationTestDriver GetDRRSiddonJacobsRayTracing @@ -46,20 +47,21 @@ itk_add_test(NAME GetDRRSiddonJacobsRayTracingDownSizedCTTest2 DATA{Input/BoxheadCT.img,BoxheadCT.hdr} ) -itk_add_test(NAME GetDRRSiddonJacobsRayTracingFullSizedCTTest1 - COMMAND TwoProjectionRegistrationTestDriver GetDRRSiddonJacobsRayTracing - -rp 0 -rx -3 -ry 4 -rz 2 -t 5 5 5 - -iso 255 259 130 -res 0.5 0.5 - -size 512 512 - -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G0.tif - DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} - ) - -itk_add_test(NAME GetDRRSiddonJacobsRayTracingFullSizedCTTest2 - COMMAND TwoProjectionRegistrationTestDriver GetDRRSiddonJacobsRayTracing - -rp 90 -rx -3 -ry 4 -rz 2 -t 5 5 5 - -iso 255 259 130 -res 0.5 0.5 - -size 512 512 - -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G90.tif - DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} - ) +# Disabled: BoxheadCTFull.img is orphaned (404 from gh-pages, Girder, itk.org). +# itk_add_test(NAME GetDRRSiddonJacobsRayTracingFullSizedCTTest1 +# COMMAND TwoProjectionRegistrationTestDriver GetDRRSiddonJacobsRayTracing +# -rp 0 -rx -3 -ry 4 -rz 2 -t 5 5 5 +# -iso 255 259 130 -res 0.5 0.5 +# -size 512 512 +# -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G0.tif +# DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} +# ) +# +# itk_add_test(NAME GetDRRSiddonJacobsRayTracingFullSizedCTTest2 +# COMMAND TwoProjectionRegistrationTestDriver GetDRRSiddonJacobsRayTracing +# -rp 90 -rx -3 -ry 4 -rz 2 -t 5 5 5 +# -iso 255 259 130 -res 0.5 0.5 +# -size 512 512 +# -o ${ITK_TEST_OUTPUT_DIR}/BoxheadDRRFullDev1_G90.tif +# DATA{Input/BoxheadCTFull.img,BoxheadCTFull.hdr} +# ) diff --git a/test/Input/BoxheadCTFull.hdr.cid b/test/Input/BoxheadCTFull.hdr.cid deleted file mode 100644 index 1373be4..0000000 --- a/test/Input/BoxheadCTFull.hdr.cid +++ /dev/null @@ -1 +0,0 @@ -bafkreiaua6p4bwnf3zg7dgcl6onflzkw4rtnvld3inf3jmi5ohxtnoh7xu diff --git a/test/Input/BoxheadCTFull.img.md5 b/test/Input/BoxheadCTFull.img.md5 deleted file mode 100644 index dac0ca8..0000000 --- a/test/Input/BoxheadCTFull.img.md5 +++ /dev/null @@ -1 +0,0 @@ -b4ed0e70fb4f381c7a3967c650b0a824