Skip to content

Commit 51f2c55

Browse files
committed
Fix codespell errors in comments
1 parent 016fed1 commit 51f2c55

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/highdicom/_module_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def check_required_attributes(
8585
AttributeTypeValues.REQUIRED_EMPTY_IF_UNKNOWN
8686
]
8787

88-
# Construct tree once and re-use in all recursive calls
88+
# Construct tree once and reuse in all recursive calls
8989
tree = construct_module_tree(module)
9090

9191
if base_path is not None:

src/highdicom/seg/sop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ def __init__(
15731573
planes = planes.astype(np.uint8)
15741574
# It may happen that a boolean array is passed that should be
15751575
# interpreted as fractional segmentation type. In this case, we
1576-
# also need to stretch pixel valeus to 8-bit unsigned integer
1576+
# also need to stretch pixel values to 8-bit unsigned integer
15771577
# range by multiplying with the maximum fractional value.
15781578
if segmentation_type == SegmentationTypeValues.FRACTIONAL:
15791579
planes *= int(self.MaximumFractionalValue)

0 commit comments

Comments
 (0)