Skip to content

Commit

Permalink
Deprecate filterLabel component.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jun 7, 2022
1 parent af432d8 commit af93f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/changes/DM-27177.removal.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
All support for reading and writing `~lsst.afw.image.Filter` objects has been removed.
The old ``filter`` component for exposures has been removed, and replaced with a new ``filter`` component backed by `~lsst.afw.image.FilterLabel`.
It functions identically to the ``filterLabel`` component, which has been deprecated.
4 changes: 2 additions & 2 deletions python/lsst/daf/butler/configs/storageClasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@ storageClasses:
transmissionCurve: TransmissionCurve
metadata: PropertyList
filter: FilterLabel
# TODO: for consistency with Exposure.getFilterLabel(). Deprecate in DM-27177, remove in DM-27811.
filterLabel: FilterLabel
detector: Detector
validPolygon: Polygon
summaryStats: ExposureSummaryStats
Expand All @@ -201,6 +199,8 @@ storageClasses:
bbox: Box2I
dimensions: Extent2I
xy0: Point2I
# TODO: deprecated; remove in DM-27811.
filterLabel: FilterLabel
ExposureF:
inheritsFrom: Exposure
pytype: lsst.afw.image.ExposureF
Expand Down

0 comments on commit af93f59

Please sign in to comment.