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

RS/YJ/Rule 11-6 (include only necessary codes) #1553

Merged
merged 13 commits into from
Dec 3, 2024

Conversation

yunjoonjung-PNNL
Copy link
Collaborator

Based on PR #1543 comments, this PR only includes the codes related to rule 11-6. Thanks!

Copy link
Collaborator

@weilixu weilixu left a comment

Choose a reason for hiding this comment

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

This looks good. Thanks Yun joon. please merge this PR.

@yunjoonjung-PNNL
Copy link
Collaborator Author

This looks good. Thanks Yun joon. please merge this PR.

Thank you Weili. @Jiarongx-Xie If this PR looks good to you, could you approve it to merge to develop?

def is_applicable(self, context, data=None):
rmd_b = context.BASELINE_0

swh_dist_sys_b = find_all(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor - swh_dist_sys_b to swh_dist_sys_list_b

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Addressed

get_swh_equipment_associated_with_each_swh_distribution_system(rmd_b)
)

return {"swh_distribution_and_eq_list_b": swh_distribution_and_eq_list_b}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This data is not used in the following methods. Why do we want to create it here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. Addressed.

@yunjoonjung-PNNL yunjoonjung-PNNL marked this pull request as ready for review December 2, 2024 06:52
@weilixu weilixu merged commit bf34583 into develop Dec 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants