From 5254bcd0185744441d72454187d5d52452c5cebc Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 7 Apr 2022 16:13:27 -0700 Subject: [PATCH] can't do an early return in label_polys() since it generates names for anonymous nets --- snarled/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/snarled/main.py b/snarled/main.py index 8cd13be..2974191 100644 --- a/snarled/main.py +++ b/snarled/main.py @@ -216,9 +216,6 @@ def label_polys( point_names = [] nets = defaultdict(list) - if not labels: - return nets, merge_groups - for x, y, point_name in labels: point_xys.append((x, y)) point_names.append(point_name)