Skip to content

Commit

Permalink
fix(folder): Correct valid phase check
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp authored and mostaphaRoudsari committed Apr 14, 2022
1 parent a06caec commit f105a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_radiance_folder/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def octree_scene_mapping(self, exclude_static=True, phase=2):
grids for. Chose between 2, 3, and 5."""

# check if phase is valid
if not phase in [2, 3, 5]:
if phase not in [2, 3, 5]:
raise ValueError(
'%s is not a valid phase. Must be 2, 3 or 5.' % phase
)
Expand Down

0 comments on commit f105a28

Please sign in to comment.