Skip to content

Commit

Permalink
all changes should be a single comment in multi_thermostat_driver.py
Browse files Browse the repository at this point in the history
  • Loading branch information
john-zither committed Nov 23, 2023
1 parent 44a5395 commit 20e37fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/multi_thermostat_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,6 @@ def main():
if os.path.exists(filename):
certification_zip.write(filename, arcname=os.path.basename(filename))


# temp comment to run a comparison on github with.
if __name__ == '__main__':
main()
1 change: 1 addition & 0 deletions tests/test_core_single_stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@


def test_rhu_formatting(thermostat_type_1):
print(thermostat_type_1._format_rhu('rhu1', -np.inf, 5, None), thermostat_type_1._format_rhu('rhu1', 55, np.inf, None), thermostat_type_1._format_rhu('rhu1', 30, 45, None), thermostat_type_1._format_rhu('rhu2', 5, 10, 'aux_duty_cycle'))
assert('rhu1_less05F' == thermostat_type_1._format_rhu('rhu1', -np.inf, 5, None))
assert('rhu1_greater55F' == thermostat_type_1._format_rhu('rhu1', 55, np.inf, None))
assert('rhu1_30F_to_45F' == thermostat_type_1._format_rhu('rhu1', 30, 45, None))
Expand Down

0 comments on commit 20e37fb

Please sign in to comment.