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

Validation rlc values #3745

Merged
merged 7 commits into from
Oct 18, 2023
Merged

Validation rlc values #3745

merged 7 commits into from
Oct 18, 2023

Conversation

hui-zhou-a
Copy link
Contributor

RLC can have no value from database. This feature is to add default values if it is missing.

In this PR, only inductors are check and fixed.

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #3745 (d48e6c1) into main (4f19a93) will increase coverage by 49.64%.
The diff coverage is 95.45%.

@@             Coverage Diff             @@
##             main    #3745       +/-   ##
===========================================
+ Coverage   31.43%   81.07%   +49.64%     
===========================================
  Files         179      180        +1     
  Lines       61935    61951       +16     
===========================================
+ Hits        19468    50227    +30759     
+ Misses      42467    11724    -30743     

@github-actions github-actions bot removed the edb label Oct 17, 2023

@property
def type(self):
"""Get type."""
Copy link
Member

Choose a reason for hiding this comment

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

Properties should be defined as nouns. For this type property, the description should be "Type of ...." (Type of the base object?) We don't need to call out GET or SET usage in the description. If needed, an "Examples" section in the docstring could provide usage examples.)

@@ -230,3 +230,21 @@ def illegal_net_names(self, fix=False):

self._pedb._logger.info("Found {} illegal net names.".format(len(renamed_nets)))
return

def illegal_rlc_values(self, fix=False):
"""Find and fix rlc illegal values."""
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"""Find and fix rlc illegal values."""
"""Find and fix RLC illegal values."""

Based on a search of the doc, it looks like we use RLC in all capital letters in descriptions.

@svandenb-dev svandenb-dev merged commit 6782324 into main Oct 18, 2023
12 checks passed
@svandenb-dev svandenb-dev deleted the validation_component branch October 18, 2023 13:29
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.

4 participants