From 8b23d353583b6287dc91f20385d23a54f95712e7 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:21:56 +0200 Subject: [PATCH] fix stitch plan multiply sequence error (#2527) --- lib/stitch_plan/stitch_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py index caea9c099..68d526992 100644 --- a/lib/stitch_plan/stitch_plan.py +++ b/lib/stitch_plan/stitch_plan.py @@ -31,7 +31,7 @@ def stitch_groups_to_stitch_plan(stitch_groups, collapse_len=None, min_stitch_le if collapse_len is None: collapse_len = 3.0 - collapse_len = collapse_len * PIXELS_PER_MM + collapse_len = float(collapse_len) * PIXELS_PER_MM stitch_plan = StitchPlan() color_block = stitch_plan.new_color_block(color=stitch_groups[0].color)