GaudiConfig2: strict type checking for list properties
Allow only `list` types to be assigned to `list` properties and extend test coverage. This brings GaudiConfig2 in line with the legacy configurables. I.e. the following now fails: ``` MyAlg.MyVecOfStrings = "abc" ```
Showing
- GaudiConfiguration/python/GaudiConfig2/semantics.py 6 additions, 1 deletionGaudiConfiguration/python/GaudiConfig2/semantics.py
- GaudiConfiguration/tests/python/test_mapping_semantics.py 6 additions, 0 deletionsGaudiConfiguration/tests/python/test_mapping_semantics.py
- GaudiConfiguration/tests/python/test_sequence_semantics.py 6 additions, 0 deletionsGaudiConfiguration/tests/python/test_sequence_semantics.py
- GaudiConfiguration/tests/python/test_serialization.py 5 additions, 5 deletionsGaudiConfiguration/tests/python/test_serialization.py
Loading
Please register or sign in to comment