You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Fix needed to avoid duplication of sequences not defined in autoDQM or without a PostDQM
if (sequenceList[i]==postSequenceList[i]):
continue
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.
While investigating the
ConfigBuilder
code that lead to #42833, we noticed this piece of code inprepare_DQM()
functioncmssw/Configuration/Applications/python/ConfigBuilder.py
Lines 2075 to 2078 in d9efda5
raises an exception if the
sequenceList
has fewer elements than thepostSequenceList
. This behavior makes unit testing difficult as the duplicate removal (lines 2054-2056) is done only forsequenceList
(after which it has fewer elements thanpostSequenceList
). A workaround in #42833 was to modifyautoDQM
, but that is more of a hack than a solution.The code snippet above was added in #28113
The text was updated successfully, but these errors were encountered: