Skip to content

Commit

Permalink
Replace deprecated setFilterLabel.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jul 20, 2022
1 parent d7e8afa commit e27b0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/fgcmcal/fgcmOutputProducts.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def _computeOffsetOneBand(self, sourceMapper, badStarKey,
rec.set(badStarKey, True)

exposure = afwImage.ExposureF()
exposure.setFilterLabel(filterLabel)
exposure.setFilter(filterLabel)

if refFluxFields[b_index] is None:
# Need to find the flux field in the reference catalog
Expand Down

0 comments on commit e27b0f4

Please sign in to comment.