File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ def __init__(
634634 pixel_array
635635 )
636636 if pixel_data_type == _PixelDataType .USHORT :
637- self .BitsAllocated = pixel_array .itemsize * 8
637+ self .BitsAllocated = int ( pixel_array .itemsize * 8 )
638638 self .BitsStored = self .BitsAllocated
639639 self .HighBit = self .BitsStored - 1
640640 self .PixelRepresentation = 0
@@ -674,7 +674,7 @@ def __init__(
674674 np .where (
675675 (dimension_position_values [idx ] == pos )
676676 )[0 ][0 ] + 1
677- for idx , pos in enumerate (plane_position_values [j ])
677+ for idx , pos in enumerate (plane_position_values [i ])
678678 ]
679679
680680 pffg_item .FrameContentSequence = [frame_content_item ]
Original file line number Diff line number Diff line change 1- __version__ = '0.13.1 '
1+ __version__ = '0.13.2rc '
You can’t perform that action at this time.
0 commit comments