summaryrefslogtreecommitdiff
path: root/lib/stitch_plan/stitch_plan.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-03-01 09:50:36 +0100
committerGitHub <noreply@github.com>2025-03-01 09:50:36 +0100
commit8e49b4431e48b776eef5df465f5bb00f46e9b707 (patch)
tree94e0ce428264d4b75b46cfd447f5d76b846ae8aa /lib/stitch_plan/stitch_plan.py
parentf8cedafcbe49590154cbef6832f347588b6a72df (diff)
display stop commands in simulator and print preview (#3545)
Diffstat (limited to 'lib/stitch_plan/stitch_plan.py')
-rw-r--r--lib/stitch_plan/stitch_plan.py2
1 files changed, 1 insertions, 1 deletions
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):