Browse Source

Update stitched.py

zolfa-add_slices_loading
Gabriele Girelli 4 years ago
committed by GitHub
parent
commit
65731c9beb
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      nd2reader/stitched.py

+ 0
- 1
nd2reader/stitched.py View File

@ -13,7 +13,6 @@ def get_unwanted_bytes_ids(image_group_data, image_data_start, height, width):
n_unwanted_bytes = (len(image_group_data[image_data_start:])) % (height * width) n_unwanted_bytes = (len(image_group_data[image_data_start:])) % (height * width)
if not n_unwanted_bytes: if not n_unwanted_bytes:
return np.arange(0) return np.arange(0)
print(n_unwanted_bytes)
assert 0 == n_unwanted_bytes % height, ( assert 0 == n_unwanted_bytes % height, (
"An unexpected number of extra bytes was encountered based on the expected" "An unexpected number of extra bytes was encountered based on the expected"
+ " frame size, therefore the file could not be parsed." + " frame size, therefore the file could not be parsed."


Loading…
Cancel
Save