From a16bbf607637fe3c481cc541b8f66049f99d6717 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk>
Date: Wed, 29 Jun 2022 18:22:35 +0100
Subject: [PATCH] feat(tiler): Support large images

---
 aliby/tile/tiler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aliby/tile/tiler.py b/aliby/tile/tiler.py
index d8f9bac2..1c271d91 100644
--- a/aliby/tile/tiler.py
+++ b/aliby/tile/tiler.py
@@ -135,7 +135,7 @@ class TrapLocations:
         self.max_size = max_size
         self.initial_location = initial_location
         self.traps = [
-            Trap(centre, self, tile_size, max_size)
+            Trap(centre, self, tile_size or max_size, max_size)
             for centre in initial_location
         ]
         self.drifts = drifts
-- 
GitLab