LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Specify that the dataset type should be a command-line option. More...
Public Member Functions | |
def | __init__ |
def | required |
Public Attributes | |
name | |
help | |
default | |
Specify that the dataset type should be a command-line option.
Somewhat more heavyweight than just using, e.g., None as a signal, but provides the ability to have more informative help and a default. Also more extensible in the future.
[in] | name | name of command-line argument (including leading "--", if wanted); if omitted a suitable default is chosen |
[in] | help | help string for the command-line option |
[in] | default | default value; if None, then the option is required |
Definition at line 171 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 187 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DatasetArgument.required | ( | self | ) |
Definition at line 193 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.default |
Definition at line 190 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.help |
Definition at line 189 of file argumentParser.py.
lsst.pipe.base.argumentParser.DatasetArgument.name |
Definition at line 188 of file argumentParser.py.