diff --git a/city_model_structure/building.py b/city_model_structure/building.py index 2be49a40..f2f751ff 100644 --- a/city_model_structure/building.py +++ b/city_model_structure/building.py @@ -342,7 +342,7 @@ class Building(CityObject): self._hourly_cooling.append(value) @property - def week_day_schedules(self) -> List[ScheduleValue]: + def week_day_schedule(self) -> List[ScheduleValue]: """ Get schedule of weekdays :return: [ScheduleValue] diff --git a/city_model_structure/schedule_value.py b/city_model_structure/schedule_value.py index 3629e57d..c949bdaa 100644 --- a/city_model_structure/schedule_value.py +++ b/city_model_structure/schedule_value.py @@ -17,7 +17,7 @@ class ScheduleValue: self._hour = hour self._probability = probability - @property + @property def hour(self): """ Get hours diff --git a/tests_data/buildings.gml b/tests_data/buildings.gml index 6bc5f609..c6097031 100644 --- a/tests_data/buildings.gml +++ b/tests_data/buildings.gml @@ -13,7 +13,7 @@ 1965 - I1 + C1 @@ -429,7 +429,7 @@ 2045 - I1 + C1