File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments