Skip to content

Commit

Permalink
fix json path, merge test json and test the ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiarongx-Xie committed Jun 17, 2024
1 parent 4cc25d8 commit c878012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rct229/rulesets/ashrae9012019/section16/section16rule6.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def is_applicable(self, context, data=None):
rmd_b = context.BASELINE_0
rmd_p = context.PROPOSED

elevators_list_b = find_all("$.buildings[*].elevators[*]", rmd_b)
elevators_list_p = find_all("$.buildings[*].elevators[*]", rmd_p)
elevators_list_b = find_all("$.ruleset_model_descriptions[0].buildings[*].elevators[*]", rmd_b)
elevators_list_p = find_all("$.ruleset_model_descriptions[0].buildings[*].elevators[*]", rmd_p)

return elevators_list_p and elevators_list_b

Expand Down

0 comments on commit c878012

Please sign in to comment.