Skip to content

Commit db72170

Browse files
committed
Codespell fixes
1 parent 3b7f1c5 commit db72170

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/seg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ retrieving individual frames from segmentation images in which each frame size
828828
is not divisible by 8 becomes problematic. For this reason, as well as for
829829
space efficiency (sparse segmentations tend to compress very well), we
830830
therefore strongly recommend using ``"JPEG2000Lossless"`` compression with
831-
``"BINRARY"`` segmentations. This is the only compression method currently
831+
``"BINARY"`` segmentations. This is the only compression method currently
832832
supported for ``"BINARY"`` segmentations. However, beware that reading these
833833
single-bit JPEG 2000 images may not be supported by all other tools and
834834
viewers.

src/highdicom/content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ def __init__(
478478
'integers.'
479479
)
480480

481-
# Use hard-coded tags to avoid the keywork dictionary lookup
481+
# Use hard-coded tags to avoid the keyword dictionary lookup
482482
# (this constructor is called a large number of times in large
483483
# multiframe images, so some optimization makes sense)
484484
x_tag = 0x0040072a # XOffsetInSlideCoordinateSystem

tests/test_sr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ def test_from_image(self):
14281428
assert specimen_context.specimen_type == codes.SCT.TissueSection
14291429

14301430
def test_from_image_no_specimen_type(self):
1431-
# Specimen type is optional, for_image method should cope corectly if
1431+
# Specimen type is optional, for_image method should cope correctly if
14321432
# it is missing
14331433
image = deepcopy(self._sm_image)
14341434
delattr(

0 commit comments

Comments
 (0)