Skip to content

Give different default names to identically-typed ToolHandles

Alex Pearce requested to merge apearce-cloner-toolhandle-names into master

See gaudi/Gaudi#116 for discussion, but in essence: having multiple ToolHandle properties on an algorithm which have the same type can cause tool configuration to have no effect (i.e. to not be seen by the JobOptionsSvc). This was seen the occur when configuring the CopyLinePersistenceLocations algorithm in PyConf (but can be reproduced with plain Configurables).

The workaround is to explicitly give unique default names to each ToolHandle property. I don't know whether the behaviour is expected or is a bug in Gaudi, but either way the fix works and isn't too invasive, so I'm happy taking it for now.

This will go with Moore!324 (merged)

Edited by Peilian Li

Merge request reports

Loading