Skip to content

Commit

Permalink
fix(recipe): Add study info to DAG
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Dec 6, 2023
1 parent ed8140b commit e918712
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pollination/annual_daylight/_raytracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def annual_metrics_file(
schedule=schedule,
thresholds=thresholds,
grid_name=grid_name,
study=study_info
study_info=study_info
):
return [
{
Expand Down
6 changes: 4 additions & 2 deletions pollination/annual_daylight/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def prepare_folder_annual_daylight(
'sky_matrix': 'sky.mtx',
'sky_dome': 'sky.dome',
'bsdfs': 'bsdf',
'sun_up_hours': 'sun-up-hours.txt'
'sun_up_hours': 'sun-up-hours.txt',
'study_info': 'study_info.json'
}
)
def annual_daylight_raytracing(
Expand All @@ -158,7 +159,8 @@ def annual_daylight_raytracing(
bsdfs=prepare_folder_annual_daylight._outputs.model_folder,
sun_up_hours=prepare_folder_annual_daylight._outputs.results,
schedule=schedule,
thresholds=thresholds
thresholds=thresholds,
study_info=prepare_folder_annual_daylight._outputs.results
):
pass

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pollination-honeybee-radiance==0.22.46
pollination-honeybee-radiance-postprocess==0.0.43
pollination-honeybee-radiance==0.22.47
pollination-honeybee-radiance-postprocess==0.0.45
pollination-dsl>=0.15.3
pollination-alias==0.11.8
pollination-path==0.3.2

0 comments on commit e918712

Please sign in to comment.