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-47365: new manual defects for LSSTComCam #286

Merged
merged 3 commits into from
Dec 13, 2024
Merged

DM-47365: new manual defects for LSSTComCam #286

merged 3 commits into from
Dec 13, 2024

Conversation

aferte
Copy link
Contributor

@aferte aferte commented Nov 25, 2024

No description provided.

@aferte aferte requested a review from czwa November 25, 2024 18:27
Copy link
Contributor

@czwa czwa left a comment

Choose a reason for hiding this comment

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

One minor logic issue that I think might cause issues if we don't fix it now.

@@ -1189,6 +1208,7 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs):
self.chooseBest(inputs['inputDarkDefects']),
self.chooseBest(inputs['inputBiasDefects'])]

tempList.extend(inputs["inputManualDefects"])
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs a check to see if this exists. If doManualDefects=False, this connection will get dropped, so there will be no entry in inputs with this key. I don't think this needs a check on doManualDefects (although that wouldn't hurt), but checking if "inputManualDefects" in inputs.keys(): should ensure that this won't raise.

@aferte aferte merged commit 101bda8 into main Dec 13, 2024
2 checks passed
@aferte aferte deleted the tickets/DM-47365 branch December 13, 2024 20:50
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.

2 participants