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-27985: Replace instrument check in QG gen with instrument-defaulting. #164

Merged
merged 1 commit into from Dec 17, 2020

Conversation

TallJimbo
Copy link
Member

No description provided.

Copy link
Contributor

@andy-slac andy-slac 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.

Using a Pipeline that contains an instrument entry now automatically
includes that instrument as a constraint in the QG gen query, and
daf_butler will check that it's consistent with the instrument provided
in the user expression (which after this change is no longer required).

This is on the branch for this ticket only because the daf_butler
changes for this ticket reshuffled some modules, which broke the code
here that was previously using those (internal to daf_butler)
interfaces.  Happily, this is better behavior, better encapsulation,
and less code (well, not overall, but here).

On the testing side, we can remove a bunch of tests here (the
functionality we delegate to in daf_butler is already tested there),
but we also need to make the testing utility code a bit less cavalier,
and in particular make the pipeline's instrument agree with the
registry's instrument.
@TallJimbo TallJimbo merged commit d3283ba into master Dec 17, 2020
@TallJimbo TallJimbo deleted the tickets/DM-27985 branch December 17, 2020 04:01
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