Skip to content

Problem in DQM sequence and postSequence duplicate check in ConfigBuilder #42835

Open
@makortel

Description

@makortel

While investigating the ConfigBuilder code that lead to #42833, we noticed this piece of code in prepare_DQM() function

for (i,_sequence) in enumerate(postSequenceList):
#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.

The code snippet above was added in #28113

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions