Skip to content

Commit

Permalink
fix(postprocess): Remove duplicate function to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Feb 19, 2024
1 parent 1a84846 commit b255cc0
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions pollination/direct_sun_hours/_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,7 @@ def copy_grid_info(self, src=grids_info):
]

@task(
template=MergeFolderDataPostprocess, needs=[copy_sun_up_hours, copy_grid_info],
sub_paths={'input_folder': 'direct_sun_hours'}
)
def restructure_timestep_results(
self, input_folder=input_folder,
extension='ill', dist_info=dist_info, as_text=True, fmt='%i',
delimiter='tab'
):
return [
{
'from': MergeFolderDataPostprocess()._outputs.output_folder,
'to': 'results/direct_sun_hours'
}
]

@task(
template=MergeFolderData, needs=[copy_sun_up_hours, copy_grid_info],
sub_paths={'input_folder': 'cumulative'}
template=MergeFolderData, needs=[copy_sun_up_hours, copy_grid_info]
)
def restructure_cumulative_results(
self, input_folder=input_folder,
Expand Down

0 comments on commit b255cc0

Please sign in to comment.