AustralianCancerDataNetwork / pydicer

PYthon Dicom Image ConvertER
https://australiancancerdatanetwork.github.io/pydicer/
Apache License 2.0
20 stars 4 forks source link

convert.data quarantine check #65

Closed dalmouiee closed 2 years ago

dalmouiee commented 2 years ago

Hey @rnfinnegan @pchlap, just a quick addition to move an entire series' DICOMs to quarantine in case we can't convert it to nifti. The reason I move the entire series is because we grab all DICOMs at once and convert, so there is no way of telling which slice (if any) might have caused this error. We could potentially report it as an error to log rather than sending all DICOMs to quarantine. Open to other suggestions, cheers!