From 12e267e7eeef559e9b4a890087ffc4b452720c05 Mon Sep 17 00:00:00 2001 From: Tommaso Comparin <3862206+tcompa@users.noreply.github.com> Date: Thu, 21 Jul 2022 10:32:45 +0000 Subject: [PATCH] Fix bug in image_labeling_whole_well (ref #112 #115) --- fractal/tasks/image_labeling_whole_well.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fractal/tasks/image_labeling_whole_well.py b/fractal/tasks/image_labeling_whole_well.py index 14b579571..e1cceb37a 100644 --- a/fractal/tasks/image_labeling_whole_well.py +++ b/fractal/tasks/image_labeling_whole_well.py @@ -170,9 +170,9 @@ def image_labeling_whole_well( if t["type"] == "scale": new_t = {"type": "scale"} new_t["scale"] = [ - t[0], - t[1] * coarsening_xy**labeling_level, - t[2] * coarsening_xy**labeling_level, + t["scale"][0], + t["scale"][1] * coarsening_xy**labeling_level, + t["scale"][2] * coarsening_xy**labeling_level, ] new_transformations.append(new_t) else: