lsst.pipe.base
13.0-12-gaf0c0ec+8
|
Abstract base class for a dataset type determined from parsed command-line arguments. More...
Public Member Functions | |
def | addArgument (self, parser, idName) |
Add a command-line argument to specify dataset type name, if wanted. More... | |
def | getDatasetType (self, namespace) |
Abstract base class for a dataset type determined from parsed command-line arguments.
Definition at line 188 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.
[in] | parser | argument parser to which to add argument |
[in] | idName | name of data ID argument, without the leading "--", e.g. "id" |
The default implementation does nothing
Definition at line 192 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DynamicDatasetType.getDatasetType | ( | self, | |
namespace | |||
) |
Return the dataset type as a string, based on parsed command-line arguments @param[in] namespace parsed command
Definition at line 203 of file argumentParser.py.