Skip to content

Tuple assignment error in Datacard renameNuisanceParameter  #999

@GiacomoBoldrini

Description

@GiacomoBoldrini

renameNuisanceParameter method of Datacard class does not work because self.systs is a list of tuple.
The code searches for the old syst name entry in the list and tries to change the name by assignment on the tuple object

self.systs[nuisanceID][0] = newname

tested using latest combine image
gitlab-registry.cern.ch/cms-analysis/general/combine-container:CMSSW_14_1_0_pre4-combine_v10.0.1-harvester_v3.0.0-pre1

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