From 7db28a9f09163c43d6bf46fff887c23bf200a2b8 Mon Sep 17 00:00:00 2001 From: Guille Date: Wed, 21 Oct 2020 09:53:07 -0400 Subject: [PATCH] change building constructor --- city_model_structure/building.py | 2 +- physics/physics_factory.py | 6 +++--- requirements.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/city_model_structure/building.py b/city_model_structure/building.py index 46c503eb..2be49a40 100644 --- a/city_model_structure/building.py +++ b/city_model_structure/building.py @@ -25,7 +25,7 @@ class Building(CityObject): Building(CityObject) class """ def __init__(self, name, lod, surfaces, terrains, year_of_construction, function, lower_corner, attic_heated=0, - basement_heated=0, week_day_schedule, saturday_schedule, sunday_schedule): + basement_heated=0): super().__init__(lod, surfaces, name) self._basement_heated = basement_heated self._attic_heated = attic_heated diff --git a/physics/physics_factory.py b/physics/physics_factory.py index f2d983d1..8e563eec 100644 --- a/physics/physics_factory.py +++ b/physics/physics_factory.py @@ -25,13 +25,13 @@ class PhysicsFactory: UsPhysicsParameters(self._city, self._base_path) def _ca(self): - raise Exception('Not implemented') + raise NotImplementedError def _de(self): - raise Exception('Not implemented') + raise NotImplementedError def _es(self): - raise Exception('Not implemented') + raise NotImplementedError def factory(self): """ diff --git a/requirements.txt b/requirements.txt index 34d94ffa..ba603773 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ pyny3d~=0.2 matplotlib~=3.2.1 Shapely~=1.7.0 pandas~=1.0.4 -pip~=20.1.1 +pip>=20.1.1 pyzmq~=19.0.1 pexpect~=4.8.0 tornado~=6.0.4