Skip to content

Commit

Permalink
document examples updated to pass doctests related to ImagingDataComm…
Browse files Browse the repository at this point in the history
  • Loading branch information
shishirpy committed Dec 12, 2021
1 parent d5cb095 commit 6ba2bbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/highdicom/seg/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,11 @@ def get_index_position(self, pointer: str) -> int:
>>> dimension_index = DimensionIndexSequence("SLIDE")
>>> i = dimension_index.get_index_position("ReferencedSegmentNumber")
>>> segment_numbers = dimension_index[i]
>>> segment_numbers
(0020, 9164) Dimension Organization UID ...
(0020, 9165) Dimension Index Pointer AT: (0062, 000b)
(0020, 9167) Functional Group Pointer AT: (0062, 000a)
(0020, 9421) Dimension Description Label LO: 'Segment Number'
"""
indices = [
Expand Down

0 comments on commit 6ba2bbf

Please sign in to comment.