From 8e49b4431e48b776eef5df465f5bb00f46e9b707 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 1 Mar 2025 09:50:36 +0100 Subject: display stop commands in simulator and print preview (#3545) --- lib/stitch_plan/stitch_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stitch_plan/stitch_plan.py') diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py index f6e3f0de..8439de18 100644 --- a/lib/stitch_plan/stitch_plan.py +++ b/lib/stitch_plan/stitch_plan.py @@ -172,7 +172,7 @@ class StitchPlan(object): @property def num_stops(self): - return sum(1 for block in self if block.stop_after) + return sum(block.num_stops for block in self) @property def num_trims(self): -- cgit v1.2.3