From 43883846709fa0aaa383461ba9b374625f609432 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk>
Date: Wed, 21 Sep 2022 15:46:07 +0100
Subject: [PATCH] bugfix(extractor): traps->tiles

---
 extraction/core/extractor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extraction/core/extractor.py b/extraction/core/extractor.py
index 133cd30c..1b3aa645 100644
--- a/extraction/core/extractor.py
+++ b/extraction/core/extractor.py
@@ -547,7 +547,7 @@ class Extractor(ProcessABC):
                     set(self.img_bgsub.keys()).union(tree_chs)
                 )
             ) == len(chs):
-                imgs = [self.get_imgs(ch, traps, tree_chs) for ch in chs]
+                imgs = [self.get_imgs(ch, tiles, tree_chs) for ch in chs]
                 merged = MERGE_FUNS[merge_fun](*imgs)
                 d[name] = self.reduce_extract(
                     red_metrics=red_metrics,
-- 
GitLab