Skip to content

Commit

Permalink
Fix call to deprecated log.warn()
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Dec 14, 2023
1 parent c7b6028 commit 9949fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ip/isr/isrStatistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ def measureCti(self, inputExp, overscans, gains):
if overscans[ampIter] is None:
# The amplifier is likely entirely bad, and needs to
# be skipped.
self.log.warn("No overscan information available for ISR statistics for amp %s.",
amp.getName())
self.log.warning("No overscan information available for ISR statistics for amp %s.",
amp.getName())
nCols = amp.getSerialOverscanBBox().getWidth()
ampStats['OVERSCAN_COLUMNS'] = np.full((nCols, ), np.nan)
ampStats['OVERSCAN_VALUES'] = np.full((nCols, ), np.nan)
Expand Down

0 comments on commit 9949fd7

Please sign in to comment.