Skip to content

Commit

Permalink
FIX: edb cfg cutout (#870)
Browse files Browse the repository at this point in the history
Co-authored-by: ring630 <@gmail.com>
  • Loading branch information
hui-zhou-a authored Oct 24, 2024
1 parent 574a20e commit 1fca89a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pyedb/configuration/cfg_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ def get_data_from_db(self):

net_names = []
for name, obj in self._pedb.nets.nets.items():
if obj.primitives[0].layer.name == "pyedb_cutout":
continue
if len(obj.primitives) > 0:
net_names.append(name)
if obj.primitives:
if obj.primitives[0].layer.name == "pyedb_cutout":
continue
else:
net_names.append(name)

self.reference_list = []
self.signal_list = net_names
Expand Down

0 comments on commit 1fca89a

Please sign in to comment.