Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickets/DM-27831: missing () in log statement in obs_lsst assembly.py #273

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/lsst/obs/lsst/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def attachRawWcsFromBoresight(exposure, dataIdForErrMsg=None):
return True

if obsInfo.observation_type == "science":
logger.warn("Unable to set WCS from header as RA/Dec/Angle are unavailable",
("" if dataIdForErrMsg is None else "for dataId %s" % dataIdForErrMsg))
logger.warn("Unable to set WCS from header as RA/Dec/Angle are unavailable%s",
("" if dataIdForErrMsg is None else " for dataId %s" % dataIdForErrMsg))
return False


Expand Down