Skip to content

Commit 02c77f0

Browse files
Update monai/data/image_reader.py
Co-authored-by: Eric Kerfoot <[email protected]> Signed-off-by: Yiheng Wang <[email protected]>
1 parent c43b916 commit 02c77f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

monai/data/image_reader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,6 @@ def _get_array_data(self, img, filename):
10861086
with gzip.GzipFile(fileobj=io.BytesIO(compressed_data)) as gz_file:
10871087
decompressed_data = gz_file.read()
10881088

1089-
file_size = len(decompressed_data)
10901089
image = cp.frombuffer(decompressed_data, dtype=cp.uint8)
10911090
data_shape = img.shape
10921091
data_offset = img.dataobj.offset

0 commit comments

Comments
 (0)