Skip to content

Commit 913d701

Browse files
authored
Fix indentation issues (#111)
1 parent e593469 commit 913d701

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/highdicom/legacy/sop.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)