- Difficulty level: easy
- Time need to lean: 5 minutes or less
- Key points:
- Option
group_by
ofoutput
statement defines_output
for all substeps
- Option
The output statement defines _output
, not step_output
, which is accumulated from _output
. When we have a set of input files, we usually define output from _input
as follows:
In [1]:
However, there are cases that input and output files are pre-specified so it is not easy to define _output
from _input
, and you may have to use an variable _index
as follows
In [2]:
In this case it is easier to specify all output files, and use output option group_by
to define _output
for all substeps.
In [3]: