|
lsst.pipe.base
19.0.0-6-gb6b8b0a+10
|
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 264 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 269 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
-------
datasetType : `str`
Dataset type.
Definition at line 288 of file argumentParser.py.
1.8.13