From 155e1ed16564c32883ed097d56238b2e4555de8d Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 30 Apr 2019 19:56:14 -0400 Subject: remove unnecessary check --- lib/stitch_plan/stitch_plan.py | 4 ---- 1 file changed, 4 deletions(-) (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 b55ccc1f..8e84db4d 100644 --- a/lib/stitch_plan/stitch_plan.py +++ b/lib/stitch_plan/stitch_plan.py @@ -14,10 +14,6 @@ def patches_to_stitch_plan(patches, collapse_len=3.0 * PIXELS_PER_MM, disable_ti """ stitch_plan = StitchPlan() - - if not patches: - return stitch_plan - color_block = stitch_plan.new_color_block(color=patches[0].color) for patch in patches: -- cgit v1.2.3