pyedb 0.26.2__py3-none-any.whl → 0.26.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyedb might be problematic. Click here for more details.

pyedb/__init__.py CHANGED
@@ -44,7 +44,7 @@ deprecation_warning()
44
44
  #
45
45
 
46
46
  pyedb_path = os.path.dirname(__file__)
47
- __version__ = "0.26.2"
47
+ __version__ = "0.26.3"
48
48
  version = __version__
49
49
 
50
50
  #
@@ -39,11 +39,14 @@ class CfgSpiceModel:
39
39
  """Apply Spice model on layout."""
40
40
  if not Path(self.file_path).anchor:
41
41
  fpath = str(Path(self.path_libraries) / self.file_path)
42
- comps = self._pedb.components.definitions[self.component_definition].components
43
- if self.apply_to_all:
44
- for ref_des, comp in comps.items():
42
+ else:
43
+ fpath = self.file_path
44
+
45
+ comps = self._pedb.components.definitions[self.component_definition].components
46
+ if self.apply_to_all:
47
+ for ref_des, comp in comps.items():
48
+ comp.assign_spice_model(fpath, self.name, self.sub_circuit_name)
49
+ else:
50
+ for ref_des, comp in comps.items():
51
+ if ref_des in self.components:
45
52
  comp.assign_spice_model(fpath, self.name, self.sub_circuit_name)
46
- else:
47
- for ref_des, comp in comps.items():
48
- if ref_des in self.components:
49
- comp.assign_spice_model(fpath, self.name, self.sub_circuit_name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyedb
3
- Version: 0.26.2
3
+ Version: 0.26.3
4
4
  Summary: Higher-Level Pythonic Ansys Electronics Data Base
5
5
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
6
  Maintainer-email: PyEDB developers <simon.vandenbrouck@ansys.com>
@@ -1,4 +1,4 @@
1
- pyedb/__init__.py,sha256=RglbscTRC8mmU618z55DRmbE_rhlS0DCjMa8U6X7ukM,1521
1
+ pyedb/__init__.py,sha256=4Yzj3h-EhhRz6EECHw3hy-Dne79jhfAwlePf6wwKcFc,1521
2
2
  pyedb/edb_logger.py,sha256=yNkXnoL2me7ubLT6O6r6ElVnkZ1g8fmfFYC_2XJZ1Sw,14950
3
3
  pyedb/exceptions.py,sha256=n94xluzUks6BA24vd_L6HkrvoP_H_l6__hQmqzdCyPo,111
4
4
  pyedb/siwave.py,sha256=OT1O7RSC78nmkhzDrwBo8mlWnsIyPCTy8nD1ZZm8BTk,16720
@@ -18,7 +18,7 @@ pyedb/configuration/cfg_pin_groups.py,sha256=Aq5rlUU2z9iNMv5cBBwHHTlSglw5Upm8EA4
18
18
  pyedb/configuration/cfg_ports_sources.py,sha256=G2mX057QB3H3JUxAL0wDMDaHgabKFnht3iIyhTJvJU4,16356
19
19
  pyedb/configuration/cfg_s_parameter_models.py,sha256=NzS3eBjBSnd7ZDk_TsX04dqRcRXompjx1DxCe1UzWMw,2855
20
20
  pyedb/configuration/cfg_setup.py,sha256=SPpNRLJusB-Cz2fDQkc6gkdilUqIlbNngoxF3zySt6g,10115
21
- pyedb/configuration/cfg_spice_models.py,sha256=tBY3okFiEffMGvBkpmZQrCrovpt-d62k51_WkkV4jqo,2435
21
+ pyedb/configuration/cfg_spice_models.py,sha256=Tnyz3VQfjanZCbZ_Ua6qOkRo-splC10qmRLHvUlWxY8,2453
22
22
  pyedb/configuration/cfg_stackup.py,sha256=CX7uNN5QRoYW_MOObknP8003YchTS7PH9Oee7FG0VKU,6589
23
23
  pyedb/configuration/configuration.py,sha256=fWYRDI0G4O8cyR1pk0_2RNqBOjKVL0oYRevIVjlV8fo,12944
24
24
  pyedb/dotnet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -185,7 +185,7 @@ pyedb/misc/siw_feature_config/xtalk_scan/scan_config.py,sha256=YmYI6WTQulL5Uf8Wx
185
185
  pyedb/misc/siw_feature_config/xtalk_scan/td_xtalk_config.py,sha256=KHa-UqcXuabiVfT2CV-UvWl5Q2qGYHF2Ye9azcAlnXc,3966
186
186
  pyedb/modeler/geometry_operators.py,sha256=g_Sy7a6R23sP6RtboJn1rl8uTuo8oeLmMF21rNkzwjk,74198
187
187
  pyedb/siwave_core/icepak.py,sha256=WnZ-t8mik7LDY06V8hZFV-TxRZJQWK7bu_8Ichx-oBs,5206
188
- pyedb-0.26.2.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
189
- pyedb-0.26.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
190
- pyedb-0.26.2.dist-info/METADATA,sha256=8buRdKWtIIWq5lyQWkomJ_4QUeH5k_hZV8Tj0y97no8,8388
191
- pyedb-0.26.2.dist-info/RECORD,,
188
+ pyedb-0.26.3.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
189
+ pyedb-0.26.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
190
+ pyedb-0.26.3.dist-info/METADATA,sha256=hbyJJ_BMXOxreElirlXfvUfXpm7Vi4O_3fMnEn3yHKo,8388
191
+ pyedb-0.26.3.dist-info/RECORD,,
File without changes