LSST Applications
22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
|
Classes | |
class | MissingTaskFactoryError |
class | DuplicateOutputError |
class | PipelineDataCycleError |
Functions | |
def | isPipelineOrdered (pipeline, taskFactory=None) |
def | orderPipeline (pipeline) |
def lsst.pipe.base.pipeTools.isPipelineOrdered | ( | pipeline, | |
taskFactory = None |
|||
) |
Checks whether tasks in pipeline are correctly ordered. Pipeline is correctly ordered if for any DatasetType produced by a task in a pipeline all its consumer tasks are located after producer. Parameters ---------- pipeline : `pipe.base.Pipeline` Pipeline description. taskFactory: `pipe.base.TaskFactory`, optional Instance of an object which knows how to import task classes. It is only used if pipeline task definitions do not define task classes. Returns ------- True for correctly ordered pipeline, False otherwise. Raises ------ `ImportError` is raised when task class cannot be imported. `DuplicateOutputError` is raised when there is more than one producer for a dataset type. `MissingTaskFactoryError` is raised when TaskFactory is needed but not provided.
Definition at line 84 of file pipeTools.py.
def lsst.pipe.base.pipeTools.orderPipeline | ( | pipeline | ) |
Re-order tasks in pipeline to satisfy data dependencies. When possible new ordering keeps original relative order of the tasks. Parameters ---------- pipeline : `list` of `pipe.base.TaskDef` Pipeline description. Returns ------- Correctly ordered pipeline (`list` of `pipe.base.TaskDef` objects). Raises ------ `DuplicateOutputError` is raised when there is more than one producer for a dataset type. `PipelineDataCycleError` is also raised when pipeline has dependency cycles. `MissingTaskFactoryError` is raised when TaskFactory is needed but not provided.
Definition at line 135 of file pipeTools.py.