Skip to content

PyConf: fix __eq__ for algorithm components

Gerhard Raven requested to merge issue-Moore-612 into master

fixes Moore#612 (closed), Moore#605 (closed): in case of multiple instances (i.e. with distinct instance names) with the same properties, only the first one would have a Gaudi configurable generated, as all other instances were assumed to be 'the same'. As a result, no Gaudi configurable would be generated for them, effectively leaving their properties at their default values. This MR changes the definition of 'the same' for PyConf algorithm components: to be the same, also the instance name must now be identical.

Edited by Gerhard Raven

Merge request reports