See also
- Purpose:
Merges multiple input files into a single output.
Only out of date tasks (comparing input and output files) will be run
Example:
@merge(previous_task, 'all.summary') def summarize(infiles, summary_file): passParameters:
- tasks_or_file_names
can be a:
- Task / list of tasks (as in the example above).
File names are taken from the output of the specified task(s)
- (Nested) list of file name strings.
- File names containing *[]? will be expanded as a glob.
E.g.:"a.*" => "a.1", "a.2"
- output_file
Specifies the resulting output file name(s).
- extra_parameters, ...
Any optional extra parameters are passed verbatim to the task function
See here for more advanced uses of merging.