Skip to content
Snippets Groups Projects
Commit 5a2d9ac7 authored by Gabriele Girelli's avatar Gabriele Girelli Committed by GitHub
Browse files

Update stitched.py

parent e029f3c0
No related branches found
No related tags found
No related merge requests found
......@@ -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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment