ButlerInitializedTaskRunner¶
- 
class lsst.pipe.base.ButlerInitializedTaskRunner(TaskClass, parsedCmd, doReturnResults=False)¶
- Bases: - lsst.pipe.base.TaskRunner- A - TaskRunnerfor- CmdLineTasks that require a- butlerkeyword argument to be passed to their constructor.- Methods Summary - makeTask([parsedCmd, args])- A variant of the base version that passes a butler argument to the task’s constructor. - Methods Documentation - 
makeTask(parsedCmd=None, args=None)¶
- A variant of the base version that passes a butler argument to the task’s constructor. - Parameters: - parsedCmd : argparse.Namespace
- Parsed command-line options, as returned by the - ArgumentParser; if specified then args is ignored.
- args
- Other arguments; if - parsedCmdis- Nonethen this must be specified.
 - Raises: - RuntimeError
- Raised if - parsedCmdand- argsare both- None.
 
- parsedCmd : 
 
-