{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/13244","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/13244/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/13244/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/13244/events","html_url":"https://github.com/cms-sw/cmssw/pull/13244","id":132723447,"number":13244,"title":"Configuration parameter copy and modify functions extended","user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/comparison-pending","name":"comparison-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/core-pending","name":"core-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/orp-pending","name":"orp-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/tests-pending","name":"tests-pending","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/57","html_url":"https://github.com/cms-sw/cmssw/milestones/Next%20CMSSW_8_0_X","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/57/labels","id":1362157,"number":57,"title":"Next CMSSW_8_0_X","description":"","creator":{"login":"smuzaffar","id":4115138,"avatar_url":"https://avatars.githubusercontent.com/u/4115138?v=3","gravatar_id":"","url":"https://api.github.com/users/smuzaffar","html_url":"https://github.com/smuzaffar","followers_url":"https://api.github.com/users/smuzaffar/followers","following_url":"https://api.github.com/users/smuzaffar/following{/other_user}","gists_url":"https://api.github.com/users/smuzaffar/gists{/gist_id}","starred_url":"https://api.github.com/users/smuzaffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smuzaffar/subscriptions","organizations_url":"https://api.github.com/users/smuzaffar/orgs","repos_url":"https://api.github.com/users/smuzaffar/repos","events_url":"https://api.github.com/users/smuzaffar/events{/privacy}","received_events_url":"https://api.github.com/users/smuzaffar/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":712,"state":"open","created_at":"2015-10-18T08:35:44Z","updated_at":"2016-02-10T15:06:45Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-02-10T15:06:27Z","updated_at":"2016-02-10T15:09:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/13244","html_url":"https://github.com/cms-sw/cmssw/pull/13244","diff_url":"https://github.com/cms-sw/cmssw/pull/13244.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/13244.patch"},"body":"The `clone` and `Modifier.toModify` methods have been extended to allow further modifications to the parameters after they have been copied.\r\n1) Specify `None` as the value of the parameter will cause the parameter to be removed from the configuration\r\n2) Parameters within embedded PSets can now be modified using a python dict as the value. The keys of the dictionary are the parameter\r\n    names and the values are the new values to use.\r\nThe `clone` and `Modifier.toModify` both call the same helper function to do the work of modifying the copied parameters.\r\n\r\nThis also fixed the problem with the previous pull request for this feature."},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/182415337","html_url":"https://github.com/cms-sw/cmssw/pull/13244#issuecomment-182415337","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/13244","id":182415337,"user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T15:09:12Z","updated_at":"2016-02-10T15:09:12Z","body":"please test\r\n"}}