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
|
Glorified struct for data about id arguments, used by ArgumentParser.add_id_argument. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | isDynamicDatasetType |
Is the dataset type dynamic (specified on the command line)? More... | |
def | getDatasetType |
Get the dataset type. More... | |
Public Attributes | |
name | |
datasetType | |
level | |
doMakeDataRefList | |
ContainerClass | |
argName | |
datasetTypeName | |
Glorified struct for data about id arguments, used by ArgumentParser.add_id_argument.
Definition at line 130 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdArgument.__init__ | ( | self, | |
name, | |||
datasetType, | |||
level, | |||
doMakeDataRefList = True , |
|||
ContainerClass = DataIdContainer |
|||
) |
Constructor.
[in] | name | name of identifier (argument name without dashes) |
[in] | datasetType | type of dataset; specify a string for a fixed dataset type or a DatasetArgument for a dynamic dataset type (one specified on the command line), in which case an argument is added by name –<name>_dstype |
[in] | level | level of dataset, for butler |
[in] | doMakeDataRefList | construct data references? |
[in] | ContainerClass | class to contain data IDs and data references; the default class will work for many kinds of data, but you may have to override to compute some kinds of data references. |
Definition at line 132 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdArgument.getDatasetType | ( | self, | |
namespace | |||
) |
Get the dataset type.
[in] | namespace | parsed command created by argparse parse_args; if the dataset type is dynamic then it is read from namespace.<name>_dstype else namespace is ignored |
Definition at line 162 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdArgument.isDynamicDatasetType | ( | self | ) |
Is the dataset type dynamic (specified on the command line)?
Definition at line 158 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.argName |
Definition at line 152 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.ContainerClass |
Definition at line 151 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.datasetType |
Definition at line 148 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.datasetTypeName |
Definition at line 154 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.doMakeDataRefList |
Definition at line 150 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.level |
Definition at line 149 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.name |
Definition at line 147 of file argumentParser.py.