XMLWordPrintable

Details

• Type: Story
• Status: Invalid
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
None
• Templates:
• Team:
Data Access and Database

Description

When passing arguments such as -calibRoot XXX to a command such as createCalibs.py it is ignored when the butler calls _addParents. I don't understand exactly what this call is doing, but it fails to pass the calibRoot down with the result that the butler gets instantiated using the default calibRoot which is incorrect.

The obvious fix is to change line 855 of butler.py (in _addParents) to:

  args = RepositoryArgs(cfgRoot=repoParentCfg.root, mode='r',  mapperArgs=repoData.repoArgs.mapperArgs) 

although I think that there's another similar bug that I haven't yet had a chance to get to the bottom of. I'll edit this ticket when I get a chance.

The how to repeat should be the same as DM-11284 but I haven't had a chance to check.

People

• Assignee:
Unassigned
Reporter:
Robert Lupton
Watchers:
John Swinbank, Nate Pease, Robert Lupton