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-17025: Template handling enhancements #134
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
timj
commented
Feb 20, 2019
- Add support for instrument overrides in formatter and template selection.
Makes it easier to write unit tests comparing to templates.
In config files "instrument<name>" can be used to specify an override for the named instrument to use.
Now wherever a config file has keys that can be StorageClass names, DatasetType names or "instrument<xxx>" overrides, the parsing of this is done in one place and a new LookupKey object is created and used as the key in the mappings. This provides the ground work for supporting Dimensions in config files.
timj
force-pushed
the
tickets/DM-17025
branch
from
February 21, 2019 22:59
3513512
to
ad6d676
Compare
timj
force-pushed
the
tickets/DM-17025
branch
from
February 25, 2019 18:58
89ecb8f
to
f58e40e
Compare
TallJimbo
approved these changes
Feb 27, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments. Overall looks great!
timj
commented
Feb 27, 2019
* Dimensions are normalized after reading. * Dimensions are added to lookup names in DatasetType
Retains the usage in code that is using afw
afw.geom has been renamed geom
* Check that fields have been provided * Check that run/collection are included
timj
force-pushed
the
tickets/DM-17025
branch
from
February 28, 2019 18:29
a7dfc69
to
5cabb8f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.