TaskFactory¶
- 
class lsst.ctrl.mpexec.TaskFactory¶
- Bases: - lsst.pipe.base.TaskFactory- Class instantiating PipelineTasks. - Methods Summary - makeTask(taskClass, label, config, …)- Create new PipelineTask instance from its class. - Methods Documentation - 
makeTask(taskClass, label, config, overrides, butler)¶
- Create new PipelineTask instance from its class. - Parameters: - taskClass : type
- PipelineTask class. 
- label : strorNone
- The label of the new task; if - Nonethen use- taskClass._DefaultName.
- config : pex.Configor None
- Configuration object, if - Nonethen use task-defined configuration class to create new instance.
- overrides : ConfigOverridesor None
- Configuration overrides, this should contain all overrides to be applied to a default task config, including instrument-specific, obs-package specific, and possibly command-line overrides. 
- butler : lsst.daf.butler.Butleror None
- Butler instance used to obtain initialization inputs for PipelineTasks. If None, some PipelineTasks will not be usable 
 - Returns: - Instance of a PipelineTask class or None on errors.
 - Raises: - Any exceptions that are raised by PipelineTask constructor or its
- configuration class are propagated back to caller.
 
 
-