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 |
Return the dataset type as a string. More... | |
Public Attributes | |
name | |
datasetType | |
level | |
doMakeDataRefList | |
ContainerClass | |
argName | |
Glorified struct for data about id arguments, used by ArgumentParser.add_id_argument.
Definition at line 148 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 (e.g. one specified by a command-line argument) |
[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 151 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdArgument.getDatasetType | ( | self, | |
namespace | |||
) |
Return the dataset type as a string.
[in] | namespace | parsed command |
Definition at line 177 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 173 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.argName |
Definition at line 170 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.ContainerClass |
Definition at line 169 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.datasetType |
Definition at line 166 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.doMakeDataRefList |
Definition at line 168 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.level |
Definition at line 167 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdArgument.name |
Definition at line 165 of file argumentParser.py.