File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -190,9 +190,9 @@ def _convert_legacy_to_enhanced(
190190 frame_type_item = Dataset ()
191191 frame_type_item .FrameType = frame_type
192192 if pixel_representation == 0 :
193- frame_type_item .PixelPresentation = 'MONOCHROME'
193+ frame_type_item .PixelPresentation = 'MONOCHROME'
194194 else :
195- frame_type_item .PixelPresentation = 'COLOR'
195+ frame_type_item .PixelPresentation = 'COLOR'
196196 frame_type_item .VolumetricProperties = volumetric_properties
197197 if frame_type [0 ] == 'ORIGINAL' :
198198 frame_type_item .VolumeBasedCalculationTechnique = 'NONE'
@@ -339,9 +339,9 @@ def _convert_legacy_to_enhanced(
339339 if len (unique_image_types ) > 1 :
340340 mf_dataset .ImageType [2 ] = 'MIXED'
341341 if pixel_representation == 0 :
342- mf_dataset .PixelPresentation = 'MONOCHROME'
342+ mf_dataset .PixelPresentation = 'MONOCHROME'
343343 else :
344- mf_dataset .PixelPresentation = 'COLOR'
344+ mf_dataset .PixelPresentation = 'COLOR'
345345 mf_dataset .VolumetricProperties = volumetric_properties
346346
347347 # Shared Functional Groups
You can’t perform that action at this time.
0 commit comments