Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: pin definition #467

Closed
wants to merge 8 commits into from
Closed

FIX: pin definition #467

wants to merge 8 commits into from

Conversation

gkorompi
Copy link
Collaborator

No description provided.

@gkorompi gkorompi linked an issue May 14, 2024 that may be closed by this pull request
src/pyedb/dotnet/edb.py Outdated Show resolved Hide resolved
src/pyedb/dotnet/edb.py Outdated Show resolved Hide resolved
@SMoraisAnsys
Copy link
Collaborator

@gkorompi I'm not sure to understand how this method does change anything. It feels like it's trying to find something, not changing anything right ?

gkorompi and others added 2 commits May 15, 2024 08:24
Co-authored-by: Sébastien Morais <[email protected]>
Co-authored-by: Sébastien Morais <[email protected]>
@hui-zhou-a
Copy link
Collaborator

@gkorompi I'm not sure to understand how this method does change anything. It feels like it's trying to find something, not changing anything right ?

@gkorompi as we discussed. if get_instances works for you, please cancel this PR.

Copy link
Collaborator

@svandenb-dev svandenb-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -2351,7 +2351,11 @@ def get_pin_from_component(self, component, netName=None, pinName=None):
and (self.get_aedt_pin_name(p) in pinName or p.GetName() in pinName)
]
else:
pins = [p for p in list(component.LayoutObjs) if int(p.GetObjType()) == 1 and p.IsLayoutPin()]
pins = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The returned object type is changed. This is not allowed, and it will break customer script. Please revert. Deprecationwarining is added to this method. This method will be removed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ...change pin definition function
4 participants