CmdLineFwk¶
- 
class 
lsst.ctrl.mpexec.CmdLineFwk¶ Bases:
objectPipelineTask framework which executes tasks from command line.
In addition to executing tasks this activator provides additional methods for task management like dumping configuration or execution chain.
Attributes Summary
MP_TIMEOUTMethods Summary
makeGraph(pipeline, args)Build a graph from command line arguments. makePipeline(args)Build a pipeline from command line arguments. runPipeline(graph, taskFactory, args, …)Execute complete QuantumGraph. Attributes Documentation
- 
MP_TIMEOUT= 2592000¶ 
Methods Documentation
- 
makeGraph(pipeline: lsst.pipe.base.pipeline.Pipeline, args: types.SimpleNamespace) → Optional[lsst.pipe.base.graph.graph.QuantumGraph, None]¶ Build a graph from command line arguments.
Parameters: - pipeline : 
Pipeline Pipeline, can be empty or
Noneif graph is read from a file.- args : 
types.SimpleNamespace Parsed command line
Returns: - graph : 
QuantumGraphorNone If resulting graph is empty then
Noneis returned.
- pipeline : 
 
- 
makePipeline(args: types.SimpleNamespace) → lsst.pipe.base.pipeline.Pipeline¶ Build a pipeline from command line arguments.
Parameters: - args : 
types.SimpleNamespace Parsed command line
Returns: - pipeline : 
Pipeline 
- args : 
 
- 
runPipeline(graph: lsst.pipe.base.graph.graph.QuantumGraph, taskFactory: lsst.pipe.base.taskFactory.TaskFactory, args: types.SimpleNamespace, butler: Optional[lsst.daf.butler._butler.Butler, None] = None) → None¶ Execute complete QuantumGraph.
Parameters: - graph : 
QuantumGraph Execution graph.
- taskFactory : 
TaskFactory Task factory
- args : 
types.SimpleNamespace Parsed command line
- butler : 
Butler, optional Data Butler instance, if not defined then new instance is made using command line options.
- graph : 
 
-