Open
Description
While investigating the ConfigBuilder
code that lead to #42833, we noticed this piece of code in prepare_DQM()
function
cmssw/Configuration/Applications/python/ConfigBuilder.py
Lines 2075 to 2078 in d9efda5
raises an exception if the
sequenceList
has fewer elements than the postSequenceList
. This behavior makes unit testing difficult as the duplicate removal (lines 2054-2056) is done only for sequenceList
(after which it has fewer elements than postSequenceList
). A workaround in #42833 was to modify autoDQM
, but that is more of a hack than a solution.
The code snippet above was added in #28113