Skip to content

Commit

Permalink
codecov fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenb-dev committed Dec 5, 2023
1 parent 068d7ce commit e9cf9fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyaedt/edb_core/edb_data/padstacks_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ def _update_layer_names(self, old_name, updated_name):
new_padstack_data.AddLayers(convert_py_list_to_net_list(layers_to_add))
for layer in layers_name:
updated_pad = self.pad_by_layer[layer]
if not updated_pad.geometry_type == 0:
if not updated_pad.geometry_type == 0: # pragma no cover
pad_type = self._edb.definition.PadType.RegularPad
geom_type = self.pad_by_layer[layer]._pad_parameter_value[1]
parameters = self.pad_by_layer[layer]._pad_parameter_value[2]
Expand All @@ -1016,7 +1016,7 @@ def _update_layer_names(self, old_name, updated_name):
new_padstack_data.SetPadParameters(layer, pad_type, geom_type, parameters, offset_x, offset_y, rot)

updated_anti_pad = self.antipad_by_layer[layer]
if not updated_anti_pad.geometry_type == 0:
if not updated_anti_pad.geometry_type == 0: # pragma no cover
pad_type = self._edb.definition.PadType.AntiPad
geom_type = self.pad_by_layer[layer]._pad_parameter_value[1]
parameters = self.pad_by_layer[layer]._pad_parameter_value[2]
Expand All @@ -1033,7 +1033,7 @@ def _update_layer_names(self, old_name, updated_name):
)

updated_thermal_pad = self.thermalpad_by_layer[layer]
if not updated_thermal_pad.geometry_type == 0:
if not updated_thermal_pad.geometry_type == 0: # pragma no cover
pad_type = self._edb.definition.PadType.ThermalPad
geom_type = self.pad_by_layer[layer]._pad_parameter_value[1]
parameters = self.pad_by_layer[layer]._pad_parameter_value[2]
Expand Down

0 comments on commit e9cf9fe

Please sign in to comment.