|
lsst.pipe.base
16.0-24-g3eae5ec
|
Public Member Functions | |
| def | __init__ (self, taskFactory, registry, skipExisting=True) |
| def | makeGraph (self, pipeline, originInfo, userQuery) |
Public Attributes | |
| taskFactory | |
| registry | |
| dimensions | |
| skipExisting | |
GraphBuilder class is responsible for building task execution graph from
a Pipeline.
Parameters
----------
taskFactory : `TaskFactory`
Factory object used to load/instantiate PipelineTasks
registry : `~lsst.daf.butler.Registry`
Data butler instance.
skipExisting : `bool`, optional
If ``True`` (default) then Quantum is not created if all its outputs
already exist, otherwise exception is raised.
Definition at line 88 of file graphBuilder.py.
| def lsst.pipe.base.graphBuilder.GraphBuilder.__init__ | ( | self, | |
| taskFactory, | |||
| registry, | |||
skipExisting = True |
|||
| ) |
Definition at line 104 of file graphBuilder.py.
| def lsst.pipe.base.graphBuilder.GraphBuilder.makeGraph | ( | self, | |
| pipeline, | |||
| originInfo, | |||
| userQuery | |||
| ) |
Create execution graph for a pipeline.
Parameters
----------
pipeline : `Pipeline`
Pipeline definition, task names/classes and their configs.
originInfo : `~lsst.daf.butler.DatasetOriginInfo`
Object which provides names of the input/output collections.
userQuery : `str`
String which defunes user-defined selection for registry, should be
empty or `None` if there is no restrictions on data selection.
Returns
-------
graph : `QuantumGraph`
Raises
------
UserExpressionError
Raised when user expression cannot be parsed.
OutputExistsError
Raised when output datasets already exist.
Exception
Other exceptions types may be raised by underlying registry
classes.
Definition at line 154 of file graphBuilder.py.
| lsst.pipe.base.graphBuilder.GraphBuilder.dimensions |
Definition at line 107 of file graphBuilder.py.
| lsst.pipe.base.graphBuilder.GraphBuilder.registry |
Definition at line 106 of file graphBuilder.py.
| lsst.pipe.base.graphBuilder.GraphBuilder.skipExisting |
Definition at line 108 of file graphBuilder.py.
| lsst.pipe.base.graphBuilder.GraphBuilder.taskFactory |
Definition at line 105 of file graphBuilder.py.
1.8.13