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-30921: Change Raise to warn when photoCalib or skyWcs is None. #540

Merged
merged 1 commit into from Jun 30, 2021

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Jun 29, 2021

No description provided.

@@ -852,26 +861,41 @@ def prepareCalibratedExposures(self, calExpList, backgroundList=None, skyCorrLis
if externalPhotoCalibCatalog is not None:
row = externalPhotoCalibCatalog.find(detectorId)
if row is None:
raise RuntimeError(f"Detector id {detectorId} not found in "
f"externalPhotoCalibCatalog.")
self.log.warn(("Detector id %s not found in externalPhotoCalibCatalog "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These internal parentheses are unnecessary believe it or not

@erykoff erykoff merged commit 1f04de6 into master Jun 30, 2021
@erykoff erykoff deleted the tickets/DM-30921 branch June 30, 2021 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants