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-16295 - Get cp_pipe etc working for ts8 for bootcamp #6

Merged
merged 2 commits into from Oct 25, 2018

Conversation

mfisherlevine
Copy link
Collaborator

No description provided.

This was previously hard-coded to 'ccd' but
obs_lsst uses 'detector' so this is now configurable.
Note that this take doesn't run from the command line
so there is no point in adding a config file to obs_lsst as
that magic is picked up by the argparser. Users will need to
know to set this in the config by hand.
Clearly this isn't fatal as the code continues to run
This doesn't change behaviour, just stops the code
announcing things are fatal when they aren't.
Copy link
Member

@TallJimbo TallJimbo left a comment

Choose a reason for hiding this comment

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

Looks good, though you may want to consider defining a couple of dataId variables up front that you can reuse elsewhere.

As an aside, all of the embedded Butler calls and changes in data ID keys within blocks of algorithmic code make me worried about the prospect of eventually refactoring this into a PipelineTask. We should talk about that at some point.

@mfisherlevine
Copy link
Collaborator Author

Yes, good point, on both counts. Let's discuss at some point, but I suspect the answer will be just to not do it 🙂

@mfisherlevine mfisherlevine merged commit 324faa9 into master Oct 25, 2018
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