Skip to content

Commit

Permalink
Codespell fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Jan 25, 2025
1 parent 12573fa commit e937cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/highdicom/seg/sop.py
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ def _check_and_cast_pixel_array(
# As a result, this method is optimized for runtime efficiency at the
# expense of simplicity. In particular, there are several common
# special cases that have optimized implementations, and intermediate
# results are re-used wherever possible
# results are reused wherever possible
number_of_segments = len(segment_numbers)

if pixel_array.ndim == 4:
Expand Down
2 changes: 1 addition & 1 deletion src/highdicom/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ def flip_spatial(self, axes: int | Sequence[int]) -> Self:
'Argument "axis" must contain only values 0, 1, and/or 2.'
)

# We will re-use the existing __getitem__ implementation, which has all
# We will reuse the existing __getitem__ implementation, which has all
# this logic figured out already
index = []
for d in range(3):
Expand Down

0 comments on commit e937cc2

Please sign in to comment.