Skip to content

Commit 5999708

Browse files
author
Fraser Greenroyd
authored
Fixed several bugs and simplified non-critical objects (#158)
2 parents a3d06f8 + ced16ff commit 5999708

14 files changed

Lines changed: 1663 additions & 1363 deletions

File tree

LadybugTools_Engine/Python/src/ladybugtools_toolkit/directionbins.py

Lines changed: 0 additions & 256 deletions
This file was deleted.

LadybugTools_Engine/Python/src/ladybugtools_toolkit/external_comfort/_externalcomfortbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def standard_effective_temperature(
218218
The resultant PMV for this Typology, in the given
219219
SimulationResult location.
220220
"""
221-
CONSOLE_LOGGER(
221+
CONSOLE_LOGGER.info(
222222
f"{self.__class__.__name__} - calculating standard effective temperature"
223223
)
224224
pmv = PMV(

LadybugTools_Engine/Python/src/ladybugtools_toolkit/external_comfort/_typologybase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def wind_speed(self, epw: EPW) -> list[float]:
172172

173173
ws = []
174174
for sh_ws, tgt_ws in list(zip(shelter_wind_speed, self.target_wind_speed)):
175-
if tgt_ws is None:
175+
if tgt_ws is None or np.isnan(tgt_ws):
176176
ws.append(sh_ws)
177177
else:
178178
ws.append(tgt_ws)

0 commit comments

Comments
 (0)