Skip to content

Commit

Permalink
Fix indentation issues (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge authored Sep 21, 2021
1 parent e593469 commit 913d701
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/highdicom/legacy/sop.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ def _convert_legacy_to_enhanced(
frame_type_item = Dataset()
frame_type_item.FrameType = frame_type
if pixel_representation == 0:
frame_type_item.PixelPresentation = 'MONOCHROME'
frame_type_item.PixelPresentation = 'MONOCHROME'
else:
frame_type_item.PixelPresentation = 'COLOR'
frame_type_item.PixelPresentation = 'COLOR'
frame_type_item.VolumetricProperties = volumetric_properties
if frame_type[0] == 'ORIGINAL':
frame_type_item.VolumeBasedCalculationTechnique = 'NONE'
Expand Down Expand Up @@ -339,9 +339,9 @@ def _convert_legacy_to_enhanced(
if len(unique_image_types) > 1:
mf_dataset.ImageType[2] = 'MIXED'
if pixel_representation == 0:
mf_dataset.PixelPresentation = 'MONOCHROME'
mf_dataset.PixelPresentation = 'MONOCHROME'
else:
mf_dataset.PixelPresentation = 'COLOR'
mf_dataset.PixelPresentation = 'COLOR'
mf_dataset.VolumetricProperties = volumetric_properties

# Shared Functional Groups
Expand Down

0 comments on commit 913d701

Please sign in to comment.