Skip to content

Commit

Permalink
Replace deprecated Filter interface with FilterLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jan 26, 2021
1 parent 463d161 commit b2b2f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/cp/pipe/defects.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def run(self, inputExp, camera):
"""
detector = inputExp.getDetector()

filterName = inputExp.getFilter().getName()
filterName = inputExp.getFilterLabel().physicalLabel
datasetType = inputExp.getMetadata().get('IMGTYPE', 'UNKNOWN')

if datasetType.lower() == 'dark':
Expand Down

0 comments on commit b2b2f68

Please sign in to comment.