Skip to content

Commit 6ba2bbf

Browse files
committed
document examples updated to pass doctests related to ImagingDataCommons#126
1 parent d5cb095 commit 6ba2bbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/highdicom/seg/content.py

+5
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,11 @@ def get_index_position(self, pointer: str) -> int:
529529
>>> dimension_index = DimensionIndexSequence("SLIDE")
530530
>>> i = dimension_index.get_index_position("ReferencedSegmentNumber")
531531
>>> segment_numbers = dimension_index[i]
532+
>>> segment_numbers
533+
(0020, 9164) Dimension Organization UID ...
534+
(0020, 9165) Dimension Index Pointer AT: (0062, 000b)
535+
(0020, 9167) Functional Group Pointer AT: (0062, 000a)
536+
(0020, 9421) Dimension Description Label LO: 'Segment Number'
532537
533538
"""
534539
indices = [

0 commit comments

Comments
 (0)