ButlerInitializedTaskRunner¶
-
class
lsst.pipe.base.ButlerInitializedTaskRunner(TaskClass, parsedCmd, doReturnResults=False)¶ Bases:
lsst.pipe.base.TaskRunnerA
TaskRunnerforCmdLineTasks that require abutlerkeyword 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
parsedCmdisNonethen this must be specified.
Raises: - RuntimeError
Raised if
parsedCmdandargsare bothNone.
- parsedCmd :
-