Skip to content

Commit

Permalink
FIX: minor (#934)
Browse files Browse the repository at this point in the history
Co-authored-by: ring630 <@gmail.com>
  • Loading branch information
hui-zhou-a authored Dec 5, 2024
1 parent edce3f1 commit ec5b277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyedb/dotnet/edb_core/layout_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def fix_self_intersections(self, net_list=None):
bool
"""
if not net_list:
net_list = list(self._pedb.nets.keys())
net_list = list(self._pedb.nets.nets.keys())
elif isinstance(net_list, str):
net_list = [net_list]
new_prims = []
Expand Down
1 change: 1 addition & 0 deletions tests/legacy/system/test_edb.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def test_create_custom_cutout_1(self):
assert isinstance(edbapp.layout_validation.disjoint_nets("GND", keep_only_main_net=True), list)
assert isinstance(edbapp.layout_validation.disjoint_nets("GND", clean_disjoints_less_than=0.005), list)
assert edbapp.layout_validation.fix_self_intersections("PGND")
assert edbapp.layout_validation.fix_self_intersections()

edbapp.close()

Expand Down

0 comments on commit ec5b277

Please sign in to comment.