Skip to content

Commit

Permalink
fix(multiphase): Change output type from list to file
Browse files Browse the repository at this point in the history
I need this if I want to include PrepareMultiphase in a GroupedDAG and use these outputs as a list to loop over in another DAG. The main motivation behind this is to add PrepareMultiphase to the 'prepare_folder' GroupedDAG.
  • Loading branch information
mikkelkp committed Jan 26, 2023
1 parent fc72e72 commit 951c3cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pollination/honeybee_radiance/multiphase.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,18 +283,18 @@ def prepare_multiphase(self):
grid_folder = Outputs.folder(
description='Output grid folder.', path='grid', optional=True)

two_phase_info = Outputs.list(
description='Output octree files and grid information list for the 2-Phase '
two_phase_info = Outputs.file(
description='Output octree files and grid information file for the 2-Phase '
'studies.', path='two_phase.json'
)

three_phase_info = Outputs.list(
description='Output octree files list for the 3-Phase studies.',
three_phase_info = Outputs.file(
description='Output octree files and grid information file for the 3-Phase studies.',
path='three_phase.json'
)

five_phase_info = Outputs.list(
description='Output octree files list for the 5-Phase studies.',
five_phase_info = Outputs.file(
description='Output octree files and grid information file for the 5-Phase studies.',
path='five_phase.json'
)

Expand Down

0 comments on commit 951c3cc

Please sign in to comment.