warn if no vias are found

This commit is contained in:
jan 2022-03-31 00:00:58 -07:00
parent d719bdcbad
commit 3835430e01

View File

@ -140,6 +140,7 @@ def find_merge_pairs(
if via_layer is not None: if via_layer is not None:
vias = via_polys[via_layer] vias = via_polys[via_layer]
if not vias: if not vias:
logger.warning(f'No vias on layer {via_layer}')
continue continue
for top_name in nets.keys(): for top_name in nets.keys():