-
Notifications
You must be signed in to change notification settings - Fork 39
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
Pass meta to validator #61
Conversation
0344c14
to
7681f0e
Compare
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.
Job CentOS 8 on 7681f0e : invalidated by @PaulTalbot-INL new relevant RAVEN merge requires resetting tests |
@@ -74,6 +74,8 @@ def validate(self, components, dispatch, times, meta): | |||
for res in info: | |||
for t, time in enumerate(times): | |||
current = dispatch.get_activity(comp, res, time) | |||
if comp.get_interaction().is_type('Storage'): | |||
init_level = comp.get_interaction().get_initial_level(meta) |
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 isn't a required change, but if you have to change something anyway, you could extend this if
with and t == 0
just to prevent bad copy-paste mistakes, possibly.
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.
Okay, I added the additional condition
This commit add the meta variable as a parameter to the Validator class method `validate`.
0c564c5
to
49f1de0
Compare
@PaulTalbot-INL This is ready for review. Thanks. |
Pull Request Description
What issue does this change request address?
Refs #60
What are the significant changes in functionality due to this change request?
This commit add the meta variable as a parameter to the Validator class method
validate
.For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.