ansys / pyedb

pyedb is a Python library to use the EDB client library.
https://edb.docs.pyansys.com/
MIT License
3 stars 0 forks source link

Bug located in ... edb.components.create_port_on_component #375

Closed louseph closed 2 weeks ago

louseph commented 3 weeks ago

Before submitting the issue

Description of the bug

edb.components.create_port_on_component doesn't consider do_pingroup=True/False. It always creates the pingroup.

Steps To Reproduce

edb.components.create_port_on_component(comp, net_list,port_type=SourceType.CircPort, do_pingroup=False, reference_net=ref_net)

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

absl-py==2.0.0 aiohttp==3.8.5 aiosignal==1.3.1 alpha-vantage==2.3.1 ansi2html==1.8.0 ansys-pythonnet==3.1.0rc3 appdirs==1.4.4 asttokens==2.2.1 astunparse==1.6.3 async-timeout==4.0.3 attrs==23.1.0 backcall==0.2.0 bcrypt==4.0.1 beautifulsoup4==4.12.2 blinker==1.7.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.15.1 chardet==3.0.4 charset-normalizer==3.2.0 click==8.1.7 clr-loader==0.2.6 colorama==0.4.6 colour==0.1.5 comm==0.1.3 contourpy==1.1.0 cryptography==41.0.3 cycler==0.11.0 dash==2.14.1 dash-core-components==2.0.0 dash-html-components==2.0.0 dash-table==5.0.0 dateutils==0.6.12 debugpy==1.6.7 decorator==5.1.1 descartes==1.1.0 EbookLib==0.18 et-xmlfile==1.1.0 executing==1.2.0 Flask==3.0.0 flatbuffers==23.5.26 fonttools==4.41.1 fpdf==1.7.2 frozendict==2.3.8 frozenlist==1.4.0 gast==0.5.4 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.23.3 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 googletrans==3.0.0 grpcio==1.59.0 h11==0.9.0 h2==3.2.0 h5py==3.10.0 hpack==3.0.0 hstspreload==2023.1.1 html5lib==1.1 httpcore==0.9.1 httpx==0.13.3 hyperframe==5.2.0 idna==2.10 imageio==2.31.5 importlib-metadata==6.8.0 install==1.3.5 ipykernel==6.25.0 ipython==8.14.0 itsdangerous==2.1.2 jedi==0.19.0 Jinja2==3.1.2 jupyter_client==8.3.0 jupyter_core==5.3.1 keras==2.14.0 kiwisolver==1.4.4 lazy_loader==0.3 Levenshtein==0.22.0 libclang==16.0.6 lxml==4.9.3 Markdown==3.5 MarkupSafe==2.1.3 matplotlib==3.7.2 matplotlib-inline==0.1.6 ml-dtypes==0.2.0 MouseInfo==0.1.3 mpmath==1.3.0 multidict==6.0.4 multitasking==0.0.11 nest-asyncio==1.5.7 networkx==3.2 nsepy==0.8 nsetools==1.0.11 numpy==1.25.1 oauthlib==3.2.2 opencv-python==4.8.0.76 openpyxl==3.1.2 opt-einsum==3.3.0 packaging==23.1 pandas==2.1.1 paramiko==3.3.1 parso==0.8.3 peewee==3.17.0 pickleshare==0.7.5 Pillow==10.0.0 platformdirs==3.10.0 plotly==5.18.0 plumbum==1.8.2 ply==3.11 pooch==1.7.0 prompt-toolkit==3.0.39 protobuf==4.24.4 psutil==5.9.5 pure-eval==0.2.2 pyaedt==0.6.93 pyasn1==0.5.0 pyasn1-modules==0.3.0 PyAutoGUI==0.9.54 pycparser==2.21 pyDOE==0.3.8 pyedb==0.5.2 PyGetWindow==0.0.9 Pygments==2.15.1 PyMsgBox==1.0.9 PyNaCl==1.5.0 pyparsing==3.0.9 PyPDF2==3.0.1 pyperclip==1.8.2 PyQt5==5.15.10 PyQt5-Qt5==5.15.2 PyQt5-sip==12.13.0 PyRect==0.2.0 PyScreeze==0.1.30 PySide2==5.15.2.1 PySide6==6.6.1 PySide6-Addons==6.6.1 PySide6-Essentials==6.6.1 PySpice==1.5 pytesseract==0.3.10 python-dateutil==2.8.2 python-docx==1.1.0 pythonnet==3.0.2 pytweening==1.0.7 pytz==2023.3.post1 pyvista==0.42.0 pywin32==306 PyYAML==6.0.1 pyzmq==25.1.0 rapidfuzz==3.3.1 reportlab==4.0.7 requests==2.31.0 requests-oauthlib==1.3.1 retrying==1.3.4 rfc3986==1.5.0 rpyc==5.3.1 rsa==4.9 Rtree==1.0.1 scikit-image==0.22.0 scikit-rf==0.29.1 scipy==1.11.1 scooby==0.7.2 shapely==2.0.1 shiboken2==5.15.2.1 shiboken6==6.6.1 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 soupsieve==2.5 stack-data==0.6.2 style==1.1.0 sympy==1.12 tenacity==8.2.3 tensorboard==2.14.1 tensorboard-data-server==0.7.1 tensorflow==2.14.0 tensorflow-estimator==2.14.0 tensorflow-intel==2.14.0 tensorflow-io-gcs-filesystem==0.31.0 termcolor==2.3.0 tifffile==2023.9.26 tornado==6.3.2 traitlets==5.9.0 trame==3.2.4 trame-client==2.11.3 trame-server==2.11.7 trame-vtk==2.5.8 typing_extensions==4.8.0 tzdata==2023.3 update==0.0.1 urllib3==2.0.4 vtk==9.2.6 Wand==0.6.13 wcwidth==0.2.6 webencodings==0.5.1 Werkzeug==3.0.0 wrapt==1.14.1 wslink==1.11.4 yarl==1.9.2 yfinance==0.2.31 zipp==3.17.0

Samuelopez-ansys commented 3 weeks ago

@louseph This is not a PyAEDT issue, it should be PyEDB. I will move it, but please take it into account for future issues.

Thanks

louseph commented 2 weeks ago

@gkorompi , weather do_pingroup True or False and if the port type is circuit, in my project, its creating pingrouping

gkorompi commented 2 weeks ago

Hello @louseph, yes i found the root cause, i am trying to fix it.