From what I can tell this looks like good fix. @jmhmd looks like this touches on things you added, can you review?
Nitpick: For testing I've been trying to keep the dicom files themselves as binary release assets in https://github.com/dcmjs-org/data rather then putting them in the repo. If you look at some of the other tests you'll find they use downloadToFile which is pretty easy. I notice now that a couple of other .dcm files slipped into the testing directory but I'd like to get rid of those even though they are pretty small.
Thanks for contributing 👍
From what I can tell this looks like good fix. @jmhmd looks like this touches on things you added, can you review?
Nitpick: For testing I've been trying to keep the dicom files themselves as binary release assets in https://github.com/dcmjs-org/data rather then putting them in the repo. If you look at some of the other tests you'll find they use
downloadToFile
which is pretty easy. I notice now that a couple of other .dcm files slipped into the testing directory but I'd like to get rid of those even though they are pretty small.