-
Notifications
You must be signed in to change notification settings - Fork 128
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
Validation rlc values #3745
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
for more information, see https://pre-commit.ci
Codecov Report
@@ 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 |
|
||
@property | ||
def type(self): | ||
"""Get type.""" |
There was a problem hiding this comment.
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.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""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.
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.