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
cacheable
Override to return True if caching results is implemented. embarrassingly_parallelizable
Override to return True if next() is trivially parallelizeable. history
History that will be added to the output file. params_init
prefix
Methods
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.