LSST Applications
22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
|
Public Member Functions | |
def | __init__ (self, name=None, help="dataset type to process from input data repository", default=None) |
def | getDatasetType (self, namespace) |
def | addArgument (self, parser, idName) |
Public Attributes | |
name | |
help | |
default | |
Dataset type specified by a command-line argument. Parameters ---------- name : `str`, optional Name of command-line argument (including leading "--", if appropriate) whose value is the dataset type. If `None`, uses ``--idName_dstype`` where idName is the name of the data ID argument (e.g. "id"). help : `str`, optional Help string for the command-line argument. default : `object`, optional Default value. If `None`, then the command-line option is required. This argument isignored if the command-line argument is positional (name does not start with "-") because positional arguments do not support default values.
Definition at line 301 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DatasetArgument.__init__ | ( | self, | |
name = None , |
|||
help = "dataset type to process from input data repository" , |
|||
default = None |
|||
) |
Definition at line 320 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DatasetArgument.addArgument | ( | self, | |
parser, | |||
idName | |||
) |
Add a command-line argument to specify the dataset type name. Parameters ---------- parser : `ArgumentParser` Argument parser. idName : `str` Data ID. Notes ----- Also sets the `name` attribute if it is currently `None`.
Reimplemented from lsst.pipe.base.argumentParser.DynamicDatasetType.
Definition at line 347 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DatasetArgument.getDatasetType | ( | self, | |
namespace | |||
) |
Get the dataset type as a string, from the appropriate command-line argument. Parameters ---------- namespace : Parsed command. Returns ------- datasetType : `str` Dataset type.
Reimplemented from lsst.pipe.base.argumentParser.DynamicDatasetType.
Definition at line 330 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.default |
Definition at line 328 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.help |
Definition at line 327 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.name |
Definition at line 326 of file argumentParser.py.