Skip to content

Commit

Permalink
FIX: via name convention (#862)
Browse files Browse the repository at this point in the history
* FIX: via name convention

* MISC: Auto fixes from pre-commit.com hooks

For more information, see https://pre-commit.ci

---------

Co-authored-by: ring630 <@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
hui-zhou-a and pre-commit-ci[bot] authored Oct 21, 2024
1 parent 15dfcde commit 1a0cd3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pyedb/dotnet/edb_core/layout_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,7 @@ def padstacks_no_name(self, fix=False):
counts += 1
if fix:
if not obj.component:
obj._edb_object.SetProductProperty(
self._pedb.edb_api.ProductId.Designer, 11, f"via_{via_count}"
)
obj._edb_object.SetProductProperty(self._pedb.edb_api.ProductId.Designer, 11, f"Via{via_count}")
via_count = via_count + 1
else:
obj._edb_object.SetProductProperty(
Expand Down

0 comments on commit 1a0cd3b

Please sign in to comment.