Skip to content

Commit

Permalink
Update src/pyedb/configuration/cfg_pin_groups.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 7286283 commit 06b7a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyedb/configuration/cfg_pin_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def create(self):
comp = self._pedb.components.instances[self.reference_designator]
pins = [p for p, obj in comp.pins.items() if obj.net_name in nets]
if not self._pedb.siwave.create_pin_group(self.reference_designator, pins, self.name):
raise ValueError(f"Failed to create pin group {self.name}")
raise RuntimeError(f"Failed to create pin group {self.name}")
else:
raise ValueError(f"No net and pins defined for defining pin group {self.name}")

Expand Down

0 comments on commit 06b7a90

Please sign in to comment.