|
lsst.pipe.base
14.0-6-ge2c9487+19
|
Public Member Functions | |
| def | addArgument (self, parser, idName) |
| def | getDatasetType (self, namespace) |
Abstract base class for a dataset type determined from parsed command-line arguments.
Definition at line 226 of file argumentParser.py.
| def lsst.pipe.base.argumentParser.DynamicDatasetType.addArgument | ( | self, | |
| parser, | |||
| idName | |||
| ) |
Add a command-line argument to specify dataset type name, if wanted.
Parameters
----------
parser : `ArgumentParser`
Argument parser to add the argument to.
idName : `str`
Name of data ID argument, without the leading ``"--"``, e.g. ``"id"``.
Notes
-----
The default implementation does nothing
Definition at line 230 of file argumentParser.py.
| def lsst.pipe.base.argumentParser.DynamicDatasetType.getDatasetType | ( | self, | |
| namespace | |||
| ) |
Get the dataset type as a string, based on parsed command-line arguments.
Returns
-------
namespace : `str`
Parsed command.
Definition at line 247 of file argumentParser.py.
1.8.13