|
lsst.pipe.base
14.0-6-ge2c9487+19
|
Public Member Functions | |
| def | __init__ (self, name) |
| def | getDatasetType (self, namespace) |
| def | addArgument (self, parser, idName) |
Public Attributes | |
| name | |
Dataset type specified by a config parameter.
Parameters
----------
name : `str`
Name of config option whose value is the dataset type.
Definition at line 328 of file argumentParser.py.
| def lsst.pipe.base.argumentParser.ConfigDatasetType.__init__ | ( | self, | |
| name | |||
| ) |
Definition at line 337 of file argumentParser.py.
|
inherited |
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.ConfigDatasetType.getDatasetType | ( | self, | |
| namespace | |||
| ) |
Return the dataset type as a string, from the appropriate config field
Parameters
----------
namespace : `argparse.Namespace`
Parsed command.
Definition at line 341 of file argumentParser.py.
| lsst.pipe.base.argumentParser.ConfigDatasetType.name |
Definition at line 339 of file argumentParser.py.
1.8.13