{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/25270","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/25270/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/25270/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/25270/events","html_url":"https://github.com/cms-sw/cmssw/issues/25270","id":381871494,"node_id":"MDU6SXNzdWUzODE4NzE0OTQ=","number":25270,"title":"how to create alternative configs with a PSet switch","user":{"login":"slava77","id":4676718,"node_id":"MDQ6VXNlcjQ2NzY3MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/4676718?v=4","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-17T15:13:22Z","updated_at":"2018-11-17T15:13:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is in connection with #24918 and is related to use cases of config switches https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideConfigurationValidationAndHelp#A%20%22Switch%22\r\n\r\nThe desired functionalities are:\r\n- ability to create cfi files from fillDescriptions corresponding to different values of the switch\r\n    - I have a bit awkward implementation in https://github.com/slava77/cmssw/compare/slava77:CMSSW_10_4_0_pre1/sign1054/pull24918-aef474e...slava77:CMSSW_10_4_0_pre1/sign1054/pull24918-aef474e-configFix : here a small problem is a requirement to re-create a ParameterDescriptionCases object.\r\n    - Is there a simpler alternative?\r\n- ability to make a new cfi in python by specifying only the switch value\r\n    - ```caseB = caseA.clone( switch = \"B\" )``` does not work, one has to explicitly specify all different config parameters that are related to the new switch value.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/439624246","html_url":"https://github.com/cms-sw/cmssw/issues/25270#issuecomment-439624246","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/25270","id":439624246,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTYyNDI0Ng==","user":{"login":"slava77","id":4676718,"node_id":"MDQ6VXNlcjQ2NzY3MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/4676718?v=4","gravatar_id":"","url":"https://api.github.com/users/slava77","html_url":"https://github.com/slava77","followers_url":"https://api.github.com/users/slava77/followers","following_url":"https://api.github.com/users/slava77/following{/other_user}","gists_url":"https://api.github.com/users/slava77/gists{/gist_id}","starred_url":"https://api.github.com/users/slava77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava77/subscriptions","organizations_url":"https://api.github.com/users/slava77/orgs","repos_url":"https://api.github.com/users/slava77/repos","events_url":"https://api.github.com/users/slava77/events{/privacy}","received_events_url":"https://api.github.com/users/slava77/received_events","type":"User","site_admin":false},"created_at":"2018-11-17T15:13:30Z","updated_at":"2018-11-17T15:13:30Z","author_association":"CONTRIBUTOR","body":"assign core\r\n"}}
{"actor":{"display_login":"slava77"}}