can't do an early return in label_polys() since it generates names for anonymous nets

This commit is contained in:
jan 2022-04-07 16:13:27 -07:00
parent c1a007d58f
commit 5254bcd018

View File

@ -216,9 +216,6 @@ def label_polys(
point_names = [] point_names = []
nets = defaultdict(list) nets = defaultdict(list)
if not labels:
return nets, merge_groups
for x, y, point_name in labels: for x, y, point_name in labels:
point_xys.append((x, y)) point_xys.append((x, y))
point_names.append(point_name) point_names.append(point_name)