diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-10-02 17:21:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-02 17:21:56 +0200 |
| commit | 8b23d353583b6287dc91f20385d23a54f95712e7 (patch) | |
| tree | 7014205e5e2dcd3fadde0477822c3da9bdbb6f86 /lib/stitch_plan/stitch_plan.py | |
| parent | 556b538dba90aa48cf159432e05c0060799bce23 (diff) | |
fix stitch plan multiply sequence error (#2527)
Diffstat (limited to 'lib/stitch_plan/stitch_plan.py')
| -rw-r--r-- | lib/stitch_plan/stitch_plan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py index caea9c09..68d52699 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) |
