diff options
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 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): |
