Skip to content

Commit

Permalink
fix(shades): pass the value for shade thickness
Browse files Browse the repository at this point in the history
  • Loading branch information
mostaphaRoudsari committed Aug 11, 2022
1 parent e59e7aa commit fb09b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_ies/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def shades_to_ies(shades: List[Shade], thickness: float = 0.1) -> str:
else:
shade_groups[group_id].append(shade)

single_shades = '\n'.join([_shade_to_ies(shade) for shade in no_groups])
single_shades = '\n'.join([_shade_to_ies(shade, thickness) for shade in no_groups])
group_shades = '\n'.join(
[_shade_group_to_ies(shades) for shades in shade_groups.values()]
)
Expand Down

0 comments on commit fb09b09

Please sign in to comment.