From 951c3cc1e2ecd558b8a8bc47e713315dc8424b2a Mon Sep 17 00:00:00 2001 From: Mikkel Pedersen Date: Thu, 26 Jan 2023 13:06:51 +0100 Subject: [PATCH] fix(multiphase): Change output type from list to file 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. --- pollination/honeybee_radiance/multiphase.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pollination/honeybee_radiance/multiphase.py b/pollination/honeybee_radiance/multiphase.py index 830337b..494bfcf 100644 --- a/pollination/honeybee_radiance/multiphase.py +++ b/pollination/honeybee_radiance/multiphase.py @@ -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' )