|
lsst.obs.base
18.1.0-21-gde80ed3+1
|
Public Member Functions | |
| def | __init__ |
| def | fromMapping |
| def | __call__ |
Public Attributes | |
| keys | |
| regex | |
Static Public Attributes | |
| TEMPLATE_RE = re.compile(r"\%\((?P<name>\w+)\)[^\%]*?(?P<type>[idrs])") | |
A callable object that extracts Gen2 data IDs from filenames
corresponding to a particular Gen2 DatasetType.
External code should use the `fromMapping` method to construct instances.
Parameters
----------
keys : `dict`
Dictionary mapping Gen2 data ID key to the type of its associated
value.
regex : regular expression object
Regular expression pattern with named groups for all data ID keys.
Definition at line 31 of file filePathParser.py.
| def lsst.obs.base.gen2to3.filePathParser.FilePathParser.__init__ | ( | self, | |
| keys | |||
| ) |
Definition at line 45 of file filePathParser.py.
| def lsst.obs.base.gen2to3.filePathParser.FilePathParser.__call__ | ( | self, | |
| filePath | |||
| ) |
Definition at line 112 of file filePathParser.py.
| def lsst.obs.base.gen2to3.filePathParser.FilePathParser.fromMapping | ( | cls, | |
| mapping | |||
| ) |
Definition at line 54 of file filePathParser.py.
| lsst.obs.base.gen2to3.filePathParser.FilePathParser.keys |
Definition at line 46 of file filePathParser.py.
| lsst.obs.base.gen2to3.filePathParser.FilePathParser.regex |
Definition at line 47 of file filePathParser.py.
|
static |
Definition at line 51 of file filePathParser.py.
1.8.13