nii2dcm icon indicating copy to clipboard operation
nii2dcm copied to clipboard

Add checks to ensure robustness DICOM Attributes defined in multiple Modules

Open tomaroberts opened this issue 10 months ago • 0 comments

Realised that some DICOM Attributes are defined in more than one Module, e.g.:

  • BitsAllocated is defined in both Image Pixel Module and MR Image Module

Current behaviour means that which ever Module is called second overrides. Not ideal.

TODO:

  • when calling Module subclasses, check if Attributes already exist in the Dicom object and then perform relevant logic, e.g. overwrite and warn.

tomaroberts avatar Aug 10 '23 15:08 tomaroberts