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
|
A container for data IDs and associated data references. More...
Public Member Functions | |
def | __init__ |
Construct a DataIdContainer. More... | |
def | setDatasetType |
Set actual dataset type, once it is known. More... | |
def | castDataIds |
Validate data IDs and cast them to the correct type (modify idList in place). More... | |
def | makeDataRefList |
Compute refList based on idList. More... | |
Public Attributes | |
datasetType | |
level | |
idList | |
refList | |
A container for data IDs and associated data references.
Override for data IDs that require special handling to be converted to data references, and specify the override class as ContainerClass for add_id_argument. (If you don't want the argument parser to compute data references, you may use this class and specify doMakeDataRefList=False in add_id_argument.)
Definition at line 62 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdContainer.__init__ | ( | self, | |
level = None |
|||
) |
Construct a DataIdContainer.
Definition at line 70 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdContainer.castDataIds | ( | self, | |
butler | |||
) |
Validate data IDs and cast them to the correct type (modify idList in place).
[in] | butler | data butler (a lsst.daf.persistence.Butler) |
Definition at line 81 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdContainer.makeDataRefList | ( | self, | |
namespace | |||
) |
Compute refList based on idList.
Not called if add_id_argument called with doMakeDataRef=False
[in] | namespace | results of parsing command-line (with 'butler' and 'log' elements) |
Definition at line 108 of file argumentParser.py.
def lsst.pipe.base.argumentParser.DataIdContainer.setDatasetType | ( | self, | |
datasetType | |||
) |
Set actual dataset type, once it is known.
Definition at line 77 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdContainer.datasetType |
Definition at line 72 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdContainer.idList |
Definition at line 74 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdContainer.level |
Definition at line 73 of file argumentParser.py.
lsst.pipe.base.argumentParser.DataIdContainer.refList |
Definition at line 75 of file argumentParser.py.