diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-04-30 19:56:14 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-04-30 19:56:14 -0400 |
| commit | 155e1ed16564c32883ed097d56238b2e4555de8d (patch) | |
| tree | c9f6ce6aa7245803c7eefb491d377f32a93d10d7 /lib/stitch_plan/stitch_plan.py | |
| parent | febf98a2d30fb74a1c2f6b35f0932be5664161f6 (diff) | |
remove unnecessary check
Diffstat (limited to 'lib/stitch_plan/stitch_plan.py')
| -rw-r--r-- | lib/stitch_plan/stitch_plan.py | 4 |
1 files changed, 0 insertions, 4 deletions
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: |
