Mark jobs, files, or templates as intermediate
If the user does not define a set of output files, the pipeline currently considers all files as required. This change would change this behaviour to considering all files not previously marked as intermediate as required.
Marking jobs as intermediate (i.e., pipe(job, submit={...}, intermediate=True)) would have the effect of marking all output templates as intermediate. Marking a template as intermediate would have the effect of marking all output files as intermediate.
Intermediate files could be marked in the file object or as a list as part of the pipeline. Not sure which is better
If the user explicitly sets the target files, the setting of intermediate files should have no effect.
Edited by Michiel Cottaar