pyedb 0.34.2__py3-none-any.whl → 0.34.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.34.2"
47
+ __version__ = "0.34.3"
48
48
  version = __version__
49
49
 
50
50
  #
@@ -201,7 +201,7 @@ class CfgComponent(CfgBase):
201
201
  if height:
202
202
  port_prop.SetReferenceHeight(self._pedb.edb_value(height))
203
203
  reference_size_auto = self.port_properties.get("reference_size_auto")
204
- if reference_size_auto:
204
+ if reference_size_auto is not None:
205
205
  port_prop.SetReferenceSizeAuto(reference_size_auto)
206
206
  reference_size_x = self.port_properties.get("reference_size_x", 0)
207
207
  reference_size_y = self.port_properties.get("reference_size_y", 0)
@@ -45,7 +45,7 @@ if is_linux: # pragma: no cover
45
45
 
46
46
  runtime = get_coreclr()
47
47
  load(runtime)
48
- os.environ["DOTNET_ROOT"] = str(runtime.dotnet_root)
48
+ os.environ["DOTNET_ROOT"] = runtime.dotnet_root.as_posix()
49
49
  is_clr = True
50
50
  # TODO: Fall backing to dotnetcore2 should be removed in a near future.
51
51
  except Exception:
@@ -83,7 +83,7 @@ if is_linux: # pragma: no cover
83
83
  if dotnet_root is not None and runtime_config is not None:
84
84
  try:
85
85
  load("coreclr", runtime_config=str(runtime_config), dotnet_root=str(dotnet_root))
86
- os.environ["DOTNET_ROOT"] = dotnet_root
86
+ os.environ["DOTNET_ROOT"] = dotnet_root.as_posix()
87
87
  if "mono" not in os.getenv("LD_LIBRARY_PATH", ""):
88
88
  warnings.warn("LD_LIBRARY_PATH needs to be setup to use pyedb.")
89
89
  warnings.warn("export ANSYSEM_ROOT242=/path/to/AnsysEM/v242/Linux64")
@@ -272,7 +272,7 @@ class LayoutValidation:
272
272
  bool
273
273
  """
274
274
  if not net_list:
275
- net_list = list(self._pedb.nets.keys())
275
+ net_list = list(self._pedb.nets.nets.keys())
276
276
  elif isinstance(net_list, str):
277
277
  net_list = [net_list]
278
278
  new_prims = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyedb
3
- Version: 0.34.2
3
+ Version: 0.34.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=ZDatOkcJCppw0vyJACYczRa-_Dy0Zv-eH-3iWU9B7S0,1525
1
+ pyedb/__init__.py,sha256=0dRu57BoHyuvB7u7RRssPBfZo1KowB3EMM0XJq4Xww8,1525
2
2
  pyedb/edb_logger.py,sha256=7KXPvAMCKzlzJ5zioiNO5A3zkqbpCHhWHB4aXKfgu5Y,14959
3
3
  pyedb/exceptions.py,sha256=n94xluzUks6BA24vd_L6HkrvoP_H_l6__hQmqzdCyPo,111
4
4
  pyedb/siwave.py,sha256=Mgg5ZGzOUOtNdlePHcnrgN3rletQ7jrqRi3WfxF58uU,17727
@@ -9,7 +9,7 @@ pyedb/component_libraries/ansys_components.py,sha256=O3ypt832IHY9zG2AD_yrRrbH2KH
9
9
  pyedb/configuration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  pyedb/configuration/cfg_boundaries.py,sha256=5_v6HD0VgkFCJHgx5zTIn_nxPv3KpcCuGz9P4Kk4ywM,6246
11
11
  pyedb/configuration/cfg_common.py,sha256=feXGIBSlTPAewSsmu0m1SgyfF9DuK4C7SNP_RNQGD2A,2549
12
- pyedb/configuration/cfg_components.py,sha256=33XrTkyMvSgo1dFo15ChRXywwLnzprCxKG7yp9msVUA,12388
12
+ pyedb/configuration/cfg_components.py,sha256=JcyBzNNGNvfw0HaCh1HV0fmnCOL3rrpgUCsOTb6J8to,12400
13
13
  pyedb/configuration/cfg_data.py,sha256=qCCR-Oo5_le61qWWmjrK4gIt_HH9jVqu4K0GbekAJkU,3773
14
14
  pyedb/configuration/cfg_general.py,sha256=DJAKTW8Sqojfqzc3jO3MU1-J8MrmVi37jUIkTD_Tw6o,2068
15
15
  pyedb/configuration/cfg_modeler.py,sha256=tgeTs-if1d_vQvnGzD6qqMGnJlqqG302APHUu0b5jtE,5889
@@ -25,7 +25,7 @@ pyedb/configuration/cfg_spice_models.py,sha256=Q_5j2-V6cepSFcnijot8iypTqzanLp7HO
25
25
  pyedb/configuration/cfg_stackup.py,sha256=ZKUcTh4UAFLJgES2W-5J7uXkUdz_q0URg28lUZUyfdo,6433
26
26
  pyedb/configuration/configuration.py,sha256=MnoO5H5VZSogQSZ3MUJqWiO3DB-_QUYOfM4qROTHcnY,15470
27
27
  pyedb/dotnet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- pyedb/dotnet/clr_module.py,sha256=V8S_WV_XxjaJOf_XYBZ8i9GDnsF33ItYrXQAtgV0CBY,5287
28
+ pyedb/dotnet/clr_module.py,sha256=EabqZgZgBZOhJD9_V8Ll8sEKgBFj9xe9zARNYIvYM_s,5304
29
29
  pyedb/dotnet/edb.py,sha256=Ut1lpxs_YwagTRjcmrANr8xyIOVu-BzedW_YtU6kIcU,186395
30
30
  pyedb/dotnet/application/Variables.py,sha256=awNhyiLASBYrNjWIyW8IJowgqt7FfFPKF9UElRWyjZg,77750
31
31
  pyedb/dotnet/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -34,7 +34,7 @@ pyedb/dotnet/edb_core/components.py,sha256=r8Gr9mV4Cuky7lVKOg-JWhRR2bflGYESsnOGG
34
34
  pyedb/dotnet/edb_core/general.py,sha256=k2Bcr5VV-QUzEZlYorqYCX1ZchHBH7WqUvc8maMxId0,4716
35
35
  pyedb/dotnet/edb_core/hfss.py,sha256=oQFC6PwRbjAwfR60RoklwpZ_2sDI4OheNNdwaqY23ok,68671
36
36
  pyedb/dotnet/edb_core/layout_obj_instance.py,sha256=Pd8rfdO3b6HLFGwXBMw-tfE4LPIcW_9_X5KEdFaiito,1407
37
- pyedb/dotnet/edb_core/layout_validation.py,sha256=JBaLnEgDv2GrX8GD0D4_3zT8EWLSMmXu5F2AhW7oGuU,13592
37
+ pyedb/dotnet/edb_core/layout_validation.py,sha256=S0IFx9t5toVpuTLTI2Cs9vvgR4BCebJLXnj0ydW2Op8,13597
38
38
  pyedb/dotnet/edb_core/materials.py,sha256=s105DUTFkQoQRWgtRMp02DKcU2YcSrfLbJoi8hcTQII,42293
39
39
  pyedb/dotnet/edb_core/modeler.py,sha256=rVJ-eh3eKOnCHENaBLZ8D7duH7tUtUqZJNLKGLFsZ_M,55519
40
40
  pyedb/dotnet/edb_core/net_class.py,sha256=4U6Cc1Gn7ZJ_ub9uKmtrsoz5wD1XS42afci3Y3ewRp0,11354
@@ -188,7 +188,7 @@ pyedb/misc/siw_feature_config/xtalk_scan/scan_config.py,sha256=YmYI6WTQulL5Uf8Wx
188
188
  pyedb/misc/siw_feature_config/xtalk_scan/td_xtalk_config.py,sha256=KHa-UqcXuabiVfT2CV-UvWl5Q2qGYHF2Ye9azcAlnXc,3966
189
189
  pyedb/modeler/geometry_operators.py,sha256=g_Sy7a6R23sP6RtboJn1rl8uTuo8oeLmMF21rNkzwjk,74198
190
190
  pyedb/siwave_core/icepak.py,sha256=WnZ-t8mik7LDY06V8hZFV-TxRZJQWK7bu_8Ichx-oBs,5206
191
- pyedb-0.34.2.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
192
- pyedb-0.34.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
193
- pyedb-0.34.2.dist-info/METADATA,sha256=oNJa8H9I4rPugFDVo03TVQBCfs-7gkyrHTuLMUf9Sro,8512
194
- pyedb-0.34.2.dist-info/RECORD,,
191
+ pyedb-0.34.3.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
192
+ pyedb-0.34.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
193
+ pyedb-0.34.3.dist-info/METADATA,sha256=eqa7ECjzgtHBuASB2HAbcxjEn3aV7STZutrAfdJU8Uo,8512
194
+ pyedb-0.34.3.dist-info/RECORD,,
File without changes