Closed yarikoptic closed 5 years ago
heh heh - here is the actual reason:
$> python -c 'import dicom as dcm; print(issubclass(dcm.multival.MultiValue, list), dcm.__version__)'
(True, '0.9.9')
$> python -c 'import pydicom as dcm; print(issubclass(dcm.multival.MultiValue, list), dcm.__version__)'
(False, '1.0.2')
I was surprised to not find ImageType meta data field in aggregated metadata, and discovered that it is not provided by pydicom as list or tuple but as
pydicom.multival.MultiValue
which is used for a few fields in a sample DICOM I have tortured. IMHO should get the same treatment as list -- the distinctive feature for this class is assuring uniform data typing.