tlpipe.pipeline.pipeline.TaskBase¶
-
class
tlpipe.pipeline.pipeline.TaskBase(parameter_file_or_dict=None, feedback=2)[source]¶ Base class for all pipeline tasks.
All pipeline tasks should inherit from this class, with functionality and analysis added by over-riding __init__, setup, next and/or finish.
In addition, input parameters may be specified by adding adding entries (key and default value) in the class attribute params, which will then be updated by the corresponding parameters setttin in the input pipeline file.
Attributes
cacheableOverride to return True if caching results is implemented. embarrassingly_parallelizableOverride to return True if next() is trivially parallelizeable. historyHistory that will be added to the output file. params_initprefixMethods
finish()Final analysis stage of pipeline task. next([input])Iterative analysis stage of pipeline task. setup([requires])First analysis stage of pipeline task. show_params()Show all parameters that can be set and their default values of this task.