Closed bpeake-illuscio closed 1 month ago
hey,have you solved it?
This should be fixed with #315.
I put together a quick test here: https://github.com/suyashkumar/dicom/compare/s/190?expand=1 and it passes: https://github.com/suyashkumar/dicom/actions/runs/11096078190/job/30825488188#step:6:379
Hello!
I've run into an issue when writing DICOMs which I have modified. In my source DICOM the SmallestImagePixelValue has a VR of 'US'. When I try to write it to a buffer, I get the following erro:
While debugging, I found an internal error with some more contex:
However, this is not correct, the DICOM spec defines the VR of 'SmallestImagePixelValue' as 'US or SS'.
Here is a basic reproduction of the issue:
I think I mentioned solving for this in #169 . For now I can disable write verification, but it would be nice to be able to turn it on.