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

fix(schedule): Fix bug in default value for ScheduleDay #389

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions honeybee_schema/energy/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class ScheduleDay(EnergyBaseModel):
)

times: List[conlist(int, min_items=2, max_items=2)] = Field(
[0, 0],
description='A list of lists with each sub-list possesing 2 values for '
[[0, 0]],
description='A list of lists with each sub-list possessing 2 values for '
'[hour, minute]. The length of the master list must match the length '
'of the values list. Each time in the master list represents the time '
'of day that the corresponding value begins to take effect. For example '
Expand Down Expand Up @@ -251,7 +251,7 @@ class ScheduleFixedIntervalAbridged(IDdEnergyBaseModel):
...,
min_items=24,
max_items=527040,
description='A list of timeseries values occuring at each timestep over '
description='A list of timeseries values occurring at each timestep over '
'the course of the simulation.'
)

Expand Down
Loading