Skip to content

Commit

Permalink
Update src/pyedb/dotnet/edb_core/siwave.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Morais <[email protected]>
  • Loading branch information
hui-zhou-a and SMoraisAnsys authored Jan 13, 2025
1 parent 711da54 commit 2c5e3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyedb/dotnet/edb_core/siwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def create_pin_group(self, reference_designator, pin_numbers, group_name=None):
)

if edb_pingroup.IsNull(): # pragma: no cover
raise ValueError(f"Failed to create pin group {group_name}.")
raise RuntimeError(f"Failed to create pin group {group_name}.")
else:
names = [i for i in pins if i.GetNet().GetName()]
edb_pingroup.SetNet(names[0].GetNet())
Expand Down

0 comments on commit 2c5e3e3

Please sign in to comment.