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-36198: Allow fakes propagation in postprocessing #722

Merged
merged 1 commit into from Sep 20, 2022

Conversation

kfindeisen
Copy link
Member

This PR adds the calexpType template to the outputs of MakeCcdVisitTableTask and MakeVisitTableTask (they were added to inputs on 80aa66d). This makes it possible run both fakes and non-fakes versions of these tasks in the same pipeline, though the only difference in output should be a few extra columns in the fakes version.

Copy link
Contributor

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

This is making me wish that the defaultTemplates had docstrings: if I hadn't seen your commit message, I wouldn't have known this was for "fakes_". Not sure there's a good way to do that, though.

@kfindeisen
Copy link
Member Author

I think the original author wanted to specifically avoid using the word "fakes" because of the whole argument over what they should be called. As for how to do it, we could always start adding docstrings to *Connections classes...

Previously, MakeCcdVisitTableTask and MakeVisitTableTask allowed
calexpType to be used for inputs (use case: fakes_calexp) but not
outputs. Making the outputs match makes it possible run both fakes and
non-fakes versions of these tasks in the same pipeline, though the only
difference in output should be a few extra columns in the
fakes version.
@kfindeisen kfindeisen merged commit 369a80f into main Sep 20, 2022
@kfindeisen kfindeisen deleted the tickets/DM-36198 branch September 20, 2022 23:04
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