From 76cf561992c83f04941350f80ac514bc4edec7b9 Mon Sep 17 00:00:00 2001 From: Shreeraj Jadhav Date: Wed, 28 Sep 2022 11:56:24 -0400 Subject: [PATCH] fix(SR-test-data): switch to file-level CID values By default web3.storage provides CID value that points to a wrapped parent folder. This leads to corrupt file download. Fix is to extract the correct file-level CID from the download URL. For more details see: https://web3.storage/docs/how-tos/troubleshooting/#the-cid-returned-when-uploading-doesnt-link-directly-to-my-file --- test/Input/104.1-SR-printed-to-pdf.dcm.cid | 2 +- test/Input/88.67-radiation-dose-SR.dcm.cid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Input/104.1-SR-printed-to-pdf.dcm.cid b/test/Input/104.1-SR-printed-to-pdf.dcm.cid index b44eced4e..86d2bac25 100644 --- a/test/Input/104.1-SR-printed-to-pdf.dcm.cid +++ b/test/Input/104.1-SR-printed-to-pdf.dcm.cid @@ -1 +1 @@ -bafybeicotyose3ijwdrfg756zywr3swu6r37672z55iuofnavmbr2k65gi +bafkreig3blddcxtvuv4a7qjtvvfrcgm5ubskm7ik3mlopnyzyoncasrgyq diff --git a/test/Input/88.67-radiation-dose-SR.dcm.cid b/test/Input/88.67-radiation-dose-SR.dcm.cid index 66d321603..b79ab5a16 100644 --- a/test/Input/88.67-radiation-dose-SR.dcm.cid +++ b/test/Input/88.67-radiation-dose-SR.dcm.cid @@ -1 +1 @@ -bafybeidg3iito3z6dtpgwfuufgj4cgm2pte6f6gdbcvwlzs5fq35okzz4i +bafkreicdondblix2h5meriyvrqvrtdkxmxpbsqjlgm6s2psz53l435zvsu