GraphBuilder class is responsible for building task execution graph from
a Pipeline.
Parameters
----------
registry : `~lsst.daf.butler.Registry`
Data butler instance.
skipExisting : `bool`, optional
If `True` (default), a Quantum is not created if all its outputs
already exist.
Definition at line 771 of file graphBuilder.py.
def lsst.pipe.base.graphBuilder.GraphBuilder.makeGraph |
( |
|
self, |
|
|
|
pipeline, |
|
|
|
collections, |
|
|
|
run, |
|
|
|
userQuery |
|
) |
| |
Create execution graph for a pipeline.
Parameters
----------
pipeline : `Pipeline`
Pipeline definition, task names/classes and their configs.
collections : `lsst.daf.butler.CollectionSearch`
Object representing the collections to search for input datasets.
run : `str`, optional
Name of the `~lsst.daf.butler.CollectionType.RUN` collection for
output datasets, if it already exists.
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 789 of file graphBuilder.py.