ButlerInitializedTaskRunner¶
-
class
lsst.pipe.base.
ButlerInitializedTaskRunner
(TaskClass, parsedCmd, doReturnResults=False)¶ Bases:
lsst.pipe.base.TaskRunner
A
TaskRunner
forCmdLineTask
s that require abutler
keyword 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
parsedCmd
isNone
then this must be specified.
Raises: - RuntimeError
Raised if
parsedCmd
andargs
are bothNone
.
- parsedCmd :
-