DIAGNijmegen / rse-panimg

Conversion of medical images to MHA and TIFF.
Apache License 2.0
13 stars 5 forks source link

Move DICOM file sorting into DicomDataset class #85

Closed nlessmann closed 2 years ago

nlessmann commented 2 years ago

A small rework of the code introduced in #84

I think it's more logical to do the sorting in the DicomDataset class where also the rest of the reading happens.

nlessmann commented 2 years ago

Apologies, should have run the tests locally first. The test of the function from which the sorting was removed actually tested whether it returned sorted studies, which makes a lot of sense now that I think about it. Should be fixed now!