lsst.ctrl.pool
14.0-1-ga2912ff+12
|
Public Member Functions | |
def | __init__ (self, parent=None, args, kwargs) |
def | parse_args (self, config=None, args=None, namespace=None, kwargs) |
def | makeBatch (self, args) |
def | format_help (self) |
def | format_usage (self) |
An argument parser to get relevant parameters for batch submission We want to be able to display the help for a 'parent' ArgumentParser along with the batch-specific options we introduce in this class, but we don't want to swallow the parent (i.e., ArgumentParser(parents=[parent])) because we want to save the list of arguments that this particular BatchArgumentParser doesn't parse, so they can be passed on to a different program (though we also want to parse them to check that they can be parsed).
Definition at line 285 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchArgumentParser.__init__ | ( | self, | |
parent = None , |
|||
args, | |||
kwargs | |||
) |
Definition at line 296 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchArgumentParser.format_help | ( | self | ) |
Definition at line 363 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchArgumentParser.format_usage | ( | self | ) |
Definition at line 384 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchArgumentParser.makeBatch | ( | self, | |
args | |||
) |
Create a Batch object from the command-line arguments
Definition at line 338 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchArgumentParser.parse_args | ( | self, | |
config = None , |
|||
args = None , |
|||
namespace = None , |
|||
kwargs | |||
) |
Definition at line 325 of file parallel.py.