LSSTApplications
18.0.0+112,18.0.0+52,19.0.0,19.0.0+1,19.0.0+14,19.0.0+15,19.0.0+17,19.0.0+22,19.0.0+3,19.0.0-1-g20d9b18+8,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+8,19.0.0-1-g6fe20d0+2,19.0.0-1-g7011481+13,19.0.0-1-g8c57eb9+8,19.0.0-1-gdc0e4a7+13,19.0.0-1-ge272bc4+8,19.0.0-1-ge3aa853+1,19.0.0-12-g296864c0+2,19.0.0-15-g85ac9ad,19.0.0-2-g0d9f9cd+15,19.0.0-2-g5037de4+1,19.0.0-2-g9b11441+2,19.0.0-2-gb96a1c4+9,19.0.0-2-gd955cfd+21,19.0.0-3-g97e0e8e9+1,19.0.0-4-g41ffa1d+1,19.0.0-4-g725f80e+17,19.0.0-4-ga8eba22,19.0.0-4-gad373c5+8,19.0.0-5-gb9a06e236+1,19.0.0-5-gfe96e6c+6,19.0.0-7-gea0a0fe+4,w.2020.02
LSSTDataManagementBasePackage
|
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.