Skip to content
Snippets Groups Projects
Commit 2f816fe1 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

feat(tiler): set tile_size to min if tuple

parent 311ae81d
No related branches found
No related tags found
No related merge requests found
......@@ -255,6 +255,8 @@ class Tiler(ProcessABC):
except Exception as e:
print(f"Warning:Tiler: No z_perchannel data: {e}")
self.tile_size = self.tile_size or min(self.image.shape[-2:])
@classmethod
def from_image(cls, image: Image, parameters: TilerParameters):
"""
......
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