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

DM-34407: cp_pipe flat construction fails due to missing vignette polygon #208

Merged
merged 2 commits into from
Apr 12, 2022
Merged
Changes from 1 commit
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
1 change: 1 addition & 0 deletions python/lsst/ip/isr/vignette.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def maskVignettedRegion(exposure, polygon, maskPlane="NO_DATA", vignetteValue=No
log = log if log else logging.getLogger(__name__)
if not polygon:
log.info("No polygon provided. Masking nothing.")
return
czwa marked this conversation as resolved.
Show resolved Hide resolved

fullyIlluminated = True
for corner in exposure.getBBox().getCorners():
Expand Down