Skip to content

Commit

Permalink
fix(model): fix load_grids issue
Browse files Browse the repository at this point in the history
  • Loading branch information
devangcx committed Apr 18, 2022
1 parent b5718e9 commit f16724e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion honeybee_vtk/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def _load_grids(self) -> None:
# TODO extract this to a function
try:
convert_sensor_grid(sensor_grid, self._sensor_grids_option,
self._angle, self._radius)
self._radial_sensor.angle,
self._radial_sensor.radius)
except ValueError:
warnings.warn(f'Grid {id} does not have mesh information. Hence, '
'it will not be converted to a sensor grid. Try with'
Expand Down

0 comments on commit f16724e

Please sign in to comment.