pipeline2dot¶
-
lsst.ctrl.mpexec.pipeline2dot(pipeline: Union[Pipeline, Iterable[TaskDef]], file: Any) → None¶ Convert Pipeline into GraphViz digraph.
This method is mostly for documentation/presentation purposes. Unlike other methods this method does not validate graph consistency.
Parameters: - pipeline :
pipe.base.Pipeline Pipeline description.
- file : str or file object
File where GraphViz graph (DOT language) is written, can be a file name or file object.
Raises: OSErroris raised when output file cannot be open.ImportErroris raised when task class cannot be imported.MissingTaskFactoryErroris raised when TaskFactory is needed but not- provided.
- pipeline :