pyedb 0.21.0__py3-none-any.whl → 0.21.1__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.21.0"
47
+ __version__ = "0.21.1"
48
48
  version = __version__
49
49
 
50
50
  #
@@ -1424,9 +1424,9 @@ class Modeler(object):
1424
1424
  def create_pin_group(
1425
1425
  self,
1426
1426
  name: str,
1427
- pins_by_id: list[int] = None,
1428
- pins_by_aedt_name: list[str] = None,
1429
- pins_by_name: list[str] = None,
1427
+ pins_by_id=None,
1428
+ pins_by_aedt_name=None,
1429
+ pins_by_name=None,
1430
1430
  ):
1431
1431
  """Create a PinGroup.
1432
1432
 
@@ -1442,6 +1442,8 @@ class Modeler(object):
1442
1442
  """
1443
1443
  pins = {}
1444
1444
  if pins_by_id:
1445
+ if isinstance(pins_by_id, int):
1446
+ pins_by_id = [pins_by_id]
1445
1447
  for p in pins_by_id:
1446
1448
  edb_pin = self._pedb.layout.find_object_by_id(p)
1447
1449
  if edb_pin and not p in pins:
@@ -1451,6 +1453,10 @@ class Modeler(object):
1451
1453
  if not pins_by_name:
1452
1454
  pins_by_name = []
1453
1455
  if pins_by_aedt_name or pins_by_name:
1456
+ if isinstance(pins_by_aedt_name, str):
1457
+ pins_by_aedt_name = [pins_by_aedt_name]
1458
+ if isinstance(pins_by_name, str):
1459
+ pins_by_name = [pins_by_name]
1454
1460
  p_inst = self._pedb.layout.padstack_instances
1455
1461
  _pins = {
1456
1462
  pin.id: pin._edb_object
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyedb
3
- Version: 0.21.0
3
+ Version: 0.21.1
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=S4iRRRDvToNtNx3Y5G5p7sWCL2OSeJkF1I11skVPtoE,1521
1
+ pyedb/__init__.py,sha256=SRvdOwGSb84uSLLDh6fVKDw5pN_wODP_ck5OgjcewCw,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=_AxkSZ-7P9aVmizWUWmwcqI07rpGsIZ_fYsd1WNjR6w,12986
@@ -32,7 +32,7 @@ pyedb/dotnet/edb_core/hfss.py,sha256=Sh417lko4COeeod1C8sbBp6GkoTENEbALdYFOePnOcg
32
32
  pyedb/dotnet/edb_core/layout_obj_instance.py,sha256=Pd8rfdO3b6HLFGwXBMw-tfE4LPIcW_9_X5KEdFaiito,1407
33
33
  pyedb/dotnet/edb_core/layout_validation.py,sha256=aOYgttlJ007uGG94NnhZR_iNHTuCI5CHkHWWTcm9n-E,12617
34
34
  pyedb/dotnet/edb_core/materials.py,sha256=0a5RxfuJ-tzkyDLxfSIv1cBf-Di7JMrTsW_uBRjUQgw,43079
35
- pyedb/dotnet/edb_core/modeler.py,sha256=riS4ynU6KGZM2dwnaW06nkyQATGkpEvuqtaqEpm0Z3o,55674
35
+ pyedb/dotnet/edb_core/modeler.py,sha256=8y6N4HyfJjBrbfac_mggO3qta4GH_dwmt9J4fdqN5WU,55920
36
36
  pyedb/dotnet/edb_core/net_class.py,sha256=4U6Cc1Gn7ZJ_ub9uKmtrsoz5wD1XS42afci3Y3ewRp0,11354
37
37
  pyedb/dotnet/edb_core/nets.py,sha256=CnZxnK_-WwOMzmJAEalxj_Xo3KlTSJNtf7Fn9x093Ak,43147
38
38
  pyedb/dotnet/edb_core/padstack.py,sha256=KSWFHgZK8r1BOOil6e7ZOjVHg-1TAX1IeiiInndjvzE,63178
@@ -182,7 +182,7 @@ pyedb/misc/siw_feature_config/xtalk_scan/scan_config.py,sha256=YmYI6WTQulL5Uf8Wx
182
182
  pyedb/misc/siw_feature_config/xtalk_scan/td_xtalk_config.py,sha256=KHa-UqcXuabiVfT2CV-UvWl5Q2qGYHF2Ye9azcAlnXc,3966
183
183
  pyedb/modeler/geometry_operators.py,sha256=iXNGfp3oMAxc6Ij_jatawR9NAKksMfnmWTaoHQVGX80,72699
184
184
  pyedb/siwave_core/icepak.py,sha256=WnZ-t8mik7LDY06V8hZFV-TxRZJQWK7bu_8Ichx-oBs,5206
185
- pyedb-0.21.0.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
186
- pyedb-0.21.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
187
- pyedb-0.21.0.dist-info/METADATA,sha256=ZliD8Vr2_oWKC1yECHZcN1FNkVB-W7sWv5KAS3uMLB4,8318
188
- pyedb-0.21.0.dist-info/RECORD,,
185
+ pyedb-0.21.1.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
186
+ pyedb-0.21.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
187
+ pyedb-0.21.1.dist-info/METADATA,sha256=QIKARQGDBgLVdltvCvZVj0MWKSsJrpbU-SXg6_Er4aU,8318
188
+ pyedb-0.21.1.dist-info/RECORD,,
File without changes