Skip to content

Commit

Permalink
End usage of FilterProperty, as per RFC-730.
Browse files Browse the repository at this point in the history
Usage in dcrAssembleCoadd.py left as it is dealt with by DM-26615.
  • Loading branch information
czwa committed Nov 9, 2020
1 parent a6f1a29 commit 1ce283a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/multiBandUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def getShortFilterName(name):
# I'm not sure if this is the way this is supposed to be implemented, but it seems to work,
# and its the only way I could get it to work.
try:
return afwImage.Filter(name).getFilterProperty().getName()
return afwImage.Filter(name).getName()
except pexExceptions.NotFoundError:
# No mapping could be found, try proceeding with given name
return name
Expand Down

0 comments on commit 1ce283a

Please sign in to comment.