Skip to content

Commit

Permalink
Update pyaedt/edb_core/edb_data/terminals.py
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Lopez <[email protected]>
  • Loading branch information
hui-zhou-a and Samuelopez-ansys authored Oct 26, 2023
1 parent e1840f4 commit d4e2e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaedt/edb_core/edb_data/terminals.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def boundary_type(self):

@boundary_type.setter
def boundary_type(self, value):
if not value in [i.name for i in BoundaryType]:
if not value in [i.name for i in BoundaryType]: # pragma : no cover
self._pedb.logger.warning("Invalid Boundary Type={}".format(value))
if value == self._pedb.edb_api.cell.terminal.BoundaryType.kVoltageProbe.ToString():
temp = self._pedb.edb_api.cell.terminal.BoundaryType.kVoltageProbe
Expand Down

0 comments on commit d4e2e31

Please sign in to comment.