-
Notifications
You must be signed in to change notification settings - Fork 137
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
fixes for parallel coordinate plot #1915
Conversation
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.
I have two minor comments for your consideration.
ravenframework/Samplers/Grid.py
Outdated
@@ -108,6 +108,13 @@ def localInputAndChecks(self, xmlNode, paramInput): | |||
self.raiseAnError(IOError, 'inconsistency between number of variables and grid specification') | |||
self.axisName = list(grdInfo.keys()) | |||
self.axisName.sort() | |||
print(grdInfo) |
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.
remote print?
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.
ouch, removed
ravenframework/Samplers/Grid.py
Outdated
if grdInfo[key][0] == 'CDF': | ||
valueArrays = grdInfo[key][2] | ||
if min(valueArrays)<0.0 or max(valueArrays)>1.0: | ||
self.raiseAnError(IOError, ("Grid associated with distribution " + str(key) + " is outside the [0,1] interval")) |
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.
Is it possible to add more information in the Error? Such as the grid node associated with which variable under which Grid sampler.
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.
Fixed
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.
PR looks good.
PR checklist passed, once tests are green, PR can be merged. |
@mandd Some tests failed on Mingw and Ubuntu 18 PIP. I guess you need to change the tolerance for the image comparison. |
Job Test Ubuntu 18 PIP on 22c8019 : invalidated by @mandd |
Job Mingw Test on 22c8019 : invalidated by @mandd |
@@ -2,6 +2,7 @@ | |||
[./GA_MaxwRep] | |||
type = 'RavenFramework' | |||
input = '1_GA_MaxwRep.xml' | |||
image = 'MaxwReplacement/plotter1.png' |
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.
I guess you need to provide a tolerance for image diff, since this test failed on windows. @mandd
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.
Fixed
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.
changes are good.
Job Test qsubs sawtooth on 05138de : invalidated by @wangcj05 tests/cluster_tests/InternalParallel/test_hybrid_model_code failed |
PR looks good, and checklist is satisfied. |
Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1914
Closes #1916
What are the significant changes in functionality due to this change request?
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.
<internalParallel>
to True.raven/tests/framework/user_guide
andraven/docs/workshop
) have been changed, the associated documentation must be reviewed and assured the text matches the example.