Skip to content

Commit

Permalink
Remove use of Exposure.filterLabel component.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jun 8, 2022
1 parent e98e13a commit 264b195
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/pipe/tasks/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def readCatalog(self, patchRef):
Tuple consisting of band name and a dict of catalogs, keyed by
dataset name
"""
band = patchRef.get(self.config.coaddName + "Coadd_filterLabel", immediate=True).bandLabel
band = patchRef.get(self.config.coaddName + "Coadd_filter", immediate=True).bandLabel
catalogDict = {}
for dataset in self.inputDatasets:
catalog = patchRef.get(self.config.coaddName + "Coadd_" + dataset, immediate=True)
Expand Down Expand Up @@ -1443,7 +1443,7 @@ def _combineExposureMetadata(self, visit, dataRefs, isGen3=True):
for i, dataRef in enumerate(dataRefs):
if isGen3:
visitInfo = dataRef.get(component='visitInfo')
filterLabel = dataRef.get(component='filterLabel')
filterLabel = dataRef.get(component='filter')
summaryStats = dataRef.get(component='summaryStats')
detector = dataRef.get(component='detector')
wcs = dataRef.get(component='wcs')
Expand All @@ -1457,7 +1457,7 @@ def _combineExposureMetadata(self, visit, dataRefs, isGen3=True):
gen2_read_bbox = lsst.geom.BoxI(lsst.geom.PointI(0, 0), lsst.geom.PointI(1, 1))
exp = dataRef.get(datasetType='calexp_sub', bbox=gen2_read_bbox)
visitInfo = exp.getInfo().getVisitInfo()
filterLabel = dataRef.get("calexp_filterLabel")
filterLabel = dataRef.get("calexp_filter")
summaryStats = exp.getInfo().getSummaryStats()
wcs = exp.getWcs()
photoCalib = exp.getPhotoCalib()
Expand Down

0 comments on commit 264b195

Please sign in to comment.