Skip to content

ConfDB does not properly handle a PSet in a PSet in a VPSet #109

@Dr15Jones

Description

@Dr15Jones

A module with the following parameter set

            prod = cms.EDProducer("D",
                                  a_ = cms.VPSet(
                                      cms.PSet(foo = cms.PSet(bar = cms.int32(1)))))

will not be properly parsed by ConfdbLoadParamsFromConfigs141.py. The label foo will be lost. This problem was found as part of the discussion in cms-sw/cmssw#47653.

The underlying issue is with the following lines

if(psetname.find("[") != -1 and psetname.find("]") != -1):
parametername = ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions