Skip to content

Commit

Permalink
fix(postprocess): Use only metrics folder in GroupedDAG
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Jul 6, 2023
1 parent dee6291 commit 2a0db8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions pollination/annual_daylight/_post_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ class AnnualDaylightPostProcess(GroupedDAG):
)

@task(
template=MergeFolderMetrics,
sub_paths={
'input_folder': 'metrics'
}
template=MergeFolderMetrics
)
def restructure_metrics(
self, input_folder=initial_results,
Expand Down
2 changes: 1 addition & 1 deletion pollination/annual_daylight/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def annual_daylight_raytracing(
}
)
def post_process_annual_daylight(
self, initial_results='initial_results',
self, initial_results='initial_results/metrics',
dist_info=prepare_folder_annual_daylight._outputs.resources,
grids_info=prepare_folder_annual_daylight._outputs.results,
model=model
Expand Down

0 comments on commit 2a0db8e

Please sign in to comment.