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-13260: constructCalibs: check for full visit/ccd set #50

Merged
merged 1 commit into from
Jan 29, 2018

Conversation

PaulPrice
Copy link
Contributor

We don't want to combine a different set of inputs for different CCDs
(some operations implicitly assume that, e.g., flat-fields), so check
the inputs and report if there's a problem.

@@ -194,7 +195,7 @@ def dictToTuple(dict_, keys):
return tuple(dict_[k] for k in keys)


def getCcdIdListFromExposures(expRefList, level="sensor", ccdKeys=["ccd"]):
def getCcdIdListFromExposures(expRefList, level="sensor", ccdKeys=["ccd"], visitKeys=["visit"]):

Choose a reason for hiding this comment

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

Why is this added as an argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. It's vestigial, from before I made checkCcdIdLists a method instead of a free function.

We don't want to combine a different set of inputs for different CCDs
(some operations implicitly assume that, e.g., flat-fields), so check
the inputs and report if there's a problem.
@PaulPrice PaulPrice merged commit 08f30ce into master Jan 29, 2018
@ktlim ktlim deleted the tickets/DM-13260 branch August 25, 2018 06: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.

None yet

2 participants