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-23302: Add ci_cpp package to allow calibration product generation to be tested #46
Conversation
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.
I applaud the file name change from "blessCalibration.py" to "certifyCalibration.py". Could the same be done inside cpCertify? (or this would be too much trouble for this ticket?)
certify = CertifyCalibration(butler=butler, | ||
inputCollection=args.inputCollection, | ||
outputCollection=args.outputCollection) | ||
|
||
crozier.findInputs(args.datasetTypeName) | ||
certify.findInputs(args.datasetTypeName) | ||
if not args.skipCL: | ||
crozier.addCalibrationLabel(beginDate=args.beginDate, endDate=args.endDate) | ||
crozier.registerCalibrations(args.datasetTypeName) | ||
certify.addCalibrationLabel(beginDate=args.beginDate, endDate=args.endDate) | ||
certify.registerCalibrations(args.datasetTypeName) |
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.
certifier
as a noun perhaps? Don't much care really as it's in a bin script though.
@@ -67,11 +67,11 @@ | |||
butler = Butler(args.root, run=args.inputCollection) |
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.
In the butler root above can you say "URI to butler" or something because it's not always a path.
As a general comment, we are trying to move away from lots of code in bin.src python scripts. They should follow the new approach where the bin.src just has two lines to call |
781fe8e
to
bde7f37
Compare
bde7f37
to
7952de5
Compare
Update cpCertify for upstream API changes.
Fix errors detected by ci_cpp code.