Bug #19631
Project.py cannot run sbndcode jobs due to partially committed metadata features used in the March 2018 workshop branch
0%
Description
While developing SAM metadata items specific for SBND, one feature was only committed to the SBNWorkshop branch.
The feature applies a default value a couple of metadata items if they can't be found in the fcl file.
As they experiment specific metadata items are not used in project.py (which means they are not placed into the wrapper fcl that project.py makes), any submitted job will fail as it can not find the metadata items.
The fix, which allows for a default value of those metadata items, mitigates this problem. Unfortunately this fix only exists in the workshop branch and did not make it to develop. So, sbndocde v06_72_00 onwards can not be used with project.py without tweaking the user's job fcl file.
Here is a diff of the commit in question:
https://cdcvs.fnal.gov/redmine/projects/sbndcode/repository/diff/sbndcode/Utilities?utf8=%E2%9C%93&rev=7a67301792d48b80259224cb5534c692ce0a8bd1&rev_to=55a33561a5be1d02355bd0529c8909ce429fe88d
Two options:
1) Figure out how to make experiment_utilities.py in sbndutil include the new metadata items
2) Port the default value'ing of the metadata items to the main branch of sbndcode
Given that the metadata items are production specific (not useful for an end user running jobs) and the productions are moving to POMS rather than project.py, I think option 2 is the better choice.
History
#1 Updated by Thomas Brooks over 2 years ago
- Status changed from New to Resolved
#2 Updated by Thomas Brooks over 2 years ago
Change made to develop after v06_80_00 tag.