Skip to content

Commit

Permalink
Change log message to info.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Oct 18, 2022
1 parent ffc2fb2 commit 534984d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/lsst/ip/isr/brighterFatterKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ def fromDict(cls, dictionary):

calibVersion = dictionary['metadata']['bfk_VERSION']
if calibVersion == 1.0:
calib.log.warning("Old Version of brighter-fatter kernel found. Current version: "
f"{calib._VERSION}. The new attribute 'expIdMask' will be "
"populated with 'True' values, and the new attributes 'rawMeans'"
"and 'rawVariances' will be populated with the masked 'means'."
"and 'variances' values."
)
calib.log.info("Old Version of brighter-fatter kernel found. Current version: "
f"{calib._VERSION}. The new attribute 'expIdMask' will be "
"populated with 'True' values, and the new attributes 'rawMeans'"
"and 'rawVariances' will be populated with the masked 'means'"
"and 'variances' values."
)
# use 'means', because 'expIdMask' does not exist.
calib.expIdMask = {amp: np.repeat(True, len(dictionary['means'][amp])) for amp in
dictionary['means']}
Expand Down

0 comments on commit 534984d

Please sign in to comment.