Skip to content

Commit

Permalink
Fixed several bugs and simplified non-critical objects (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd authored Dec 8, 2023
2 parents a3d06f8 + ced16ff commit 5999708
Show file tree
Hide file tree
Showing 14 changed files with 1,663 additions and 1,363 deletions.
256 changes: 0 additions & 256 deletions LadybugTools_Engine/Python/src/ladybugtools_toolkit/directionbins.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def standard_effective_temperature(
The resultant PMV for this Typology, in the given
SimulationResult location.
"""
CONSOLE_LOGGER(
CONSOLE_LOGGER.info(
f"{self.__class__.__name__} - calculating standard effective temperature"
)
pmv = PMV(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def wind_speed(self, epw: EPW) -> list[float]:

ws = []
for sh_ws, tgt_ws in list(zip(shelter_wind_speed, self.target_wind_speed)):
if tgt_ws is None:
if tgt_ws is None or np.isnan(tgt_ws):
ws.append(sh_ws)
else:
ws.append(tgt_ws)
Expand Down
Loading

0 comments on commit 5999708

Please sign in to comment.