Browse Source

Update stitched.py

master
Gabriele Girelli 4 years ago
committed by GitHub
parent
commit
5fafcf1bb9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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)
if not n_unwanted_bytes:
return np.arange(0)
print(n_unwanted_bytes)
assert 0 == n_unwanted_bytes % height, (
"An unexpected number of extra bytes was encountered based on the expected"
+ " frame size, therefore the file could not be parsed."


Loading…
Cancel
Save