-
Notifications
You must be signed in to change notification settings - Fork 90
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
Slight cleanup on axial expansion changer #1032
Conversation
- still working out downstream effects
Coverage drop seems to be coverage spray. Both files changed in this PR did not have any change in coverage. |
@albeanth, let's chat offline but id like to know the enabler for being able to get rid of needing to reference the BOL height for thermal expansion. It makes sense to me, but maybe it's not super clear in the description of the PR why this is |
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.
Looks great, I love getting rid of expansionData.componentReferenceHeight
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.
AH a cleanup PR.
I'd love to see more short, sweet, cleanup PRs like this, with only one goal.
The "thermal" parameter plays a role as thermal expansion is relative to the | ||
BOL heights where non-thermal is relative to the most recent height. | ||
""" | ||
def axiallyExpandAssembly(self): |
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.
this could use a more detailed doc string... its rather sparse now. How would i get it to do cold height -> hot height expansion vs a simple updated temperature? Referencing methods to be called before it would help @albeanth
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.
reading the commit message, perhaps it should be renamed to
axiallyExpandAssemblyHotDims
or something like that if thats more of what it does now.
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.
@albeanth Whoops, perhaps I merged too soon.
Description
Cleaning out unnecessary and confusing functionality.
thermal: bool = False
fromaxiallyExpandAssembly
. It is no longer needed and is not used in thermal expansion applications. To avoid confusion on its use, it is removed here.Also resolving several pylint messages.
Existing unit tests did not need updating to reflect this change/cleanup.
Still working out downstream effects and affected projects.
Checklist
doc/release/0.X.rst
) are up-to-date with any bug fixes or new features.doc
folder.setup.py
.