|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Public Member Functions | |
| def | __init__ |
| def | __eq__ |
| def | toString |
| def | __str__ |
| def | toPolicy |
Static Public Member Functions | |
| def | fromPolicy |
Public Attributes | |
| type | |
| path | |
| valid | |
| ids | |
Private Member Functions | |
| def | _policy_ |
a description of a dataset. This description is characterized by a dataset type name and a set of identifiers. These attributes are access via public member variables 'type' (a string) and ids (a dictionary), respectively.
Definition at line 33 of file dataset.py.
| def lsst.pex.harness.dataset.Dataset.__init__ | ( | self, | |
| type, | |||
path = None, |
|||
valid = True, |
|||
ids = None, |
|||
| kw | |||
| ) |
create the dataset
@param type the dataset type name
@param path a filesystem pathname to the file. If None, the
path is not known/applicable
@param valid a boolean flag indicating whether this refers to
valid dataset. This is set to False, for example,
if the dataset was not successfully created.
@param ids a dictionary of identifiers, mapping names to values.
the type of the identifier is context specific.
@param * additional named parameters are taken as
identifiers to be set with the given values
Definition at line 42 of file dataset.py.
| def lsst.pex.harness.dataset.Dataset.__eq__ | ( | self, | |
| other | |||
| ) |
return True if the given Dataset describes the same data as this one.
Definition at line 69 of file dataset.py.
| def lsst.pex.harness.dataset.Dataset.__str__ | ( | self | ) |
Definition at line 104 of file dataset.py.
|
private |
Definition at line 129 of file dataset.py.
|
static |
unserialize a dataset description from a policy
Definition at line 133 of file dataset.py.
| def lsst.pex.harness.dataset.Dataset.toPolicy | ( | self, | |
policy = None |
|||
| ) |
return a policy that describes this dataset.
@param policy a policy instance to write into. If not provided
(default) a new one is created.
@return Policy the policy containing the description of this dataset.
Definition at line 107 of file dataset.py.
| def lsst.pex.harness.dataset.Dataset.toString | ( | self, | |
usePath = True |
|||
| ) |
return a string form if this dataset's contents @param usePath if true, the path will be used available
Definition at line 89 of file dataset.py.
| lsst.pex.harness.dataset.Dataset.ids |
Definition at line 60 of file dataset.py.
| lsst.pex.harness.dataset.Dataset.path |
Definition at line 57 of file dataset.py.
| lsst.pex.harness.dataset.Dataset.type |
Definition at line 56 of file dataset.py.
| lsst.pex.harness.dataset.Dataset.valid |
Definition at line 58 of file dataset.py.
1.8.5