Skip to content

Commit

Permalink
fix(translate): Add spaces to handle CLI limitations of Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Aug 29, 2023
1 parent 21b66a0 commit 805b2c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pollination/honeybee_radiance/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CreateRadianceFolder(Function):
@command
def hbjson_to_rad_folder(self):
return 'honeybee-radiance translate model-to-rad-folder model.hbjson ' \
'--grid "{{self.grid_filter}}" --view "{{self.view_filter}}"'
'--grid " {{self.grid_filter}} " --view "{{self.view_filter}}"'

model_folder = Outputs.folder(description='Radiance folder.', path='model')

Expand Down Expand Up @@ -63,7 +63,7 @@ class CreateRadianceFolderGrid(Function):
@command
def hbjson_to_rad_folder(self):
return 'honeybee-radiance translate model-to-rad-folder model.hbjson ' \
'--grid "{{self.grid_filter}}" --grid-check'
'--grid " {{self.grid_filter}} " --grid-check'

model_folder = Outputs.folder(description='Radiance folder.', path='model')

Expand Down Expand Up @@ -117,7 +117,7 @@ class CreateRadianceFolderView(Function):
@command
def hbjson_to_rad_folder(self):
return 'honeybee-radiance translate model-to-rad-folder model.hbjson ' \
'--view "{{self.view_filter}}" --view-check'
'--view " {{self.view_filter}} " --view-check'

model_folder = Outputs.folder(description='Radiance folder.', path='model')

Expand Down

0 comments on commit 805b2c1

Please sign in to comment.