{"action":"created","comment":{"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/comments/37175935","id":37175935,"diff_hunk":"@@ -213,11 +213,15 @@ def replace_measurement_with_deviation_from_central( central_measurement, dictio\n     \n     # set up lists for systematics\n     ttbar_generator_systematics_list = [ttbar_theory_systematic_prefix + systematic for systematic in measurement_config.generator_systematics]\n+    # Remove hadronisation systematic from this list\n+    # ttbar_generator_systematics_list.remove(ttbar_theory_systematic_prefix + 'hadronisation')\n     ### vjets_generator_systematics_list = [vjets_theory_systematic_prefix + systematic for systematic in measurement_config.generator_systematics]\n \n+    print(ttbar_generator_systematics_list)","path":"src/cross_section_measurement/03_calculate_systematics.py","position":17,"original_position":17,"commit_id":"b736773c8c4d62605e9daee8a5a0e8b6bc79b09a","original_commit_id":"b736773c8c4d62605e9daee8a5a0e8b6bc79b09a","user":{"login":"kreczko","id":1213276,"avatar_url":"https://avatars.githubusercontent.com/u/1213276?v=3","gravatar_id":"","url":"https://api.github.com/users/kreczko","html_url":"https://github.com/kreczko","followers_url":"https://api.github.com/users/kreczko/followers","following_url":"https://api.github.com/users/kreczko/following{/other_user}","gists_url":"https://api.github.com/users/kreczko/gists{/gist_id}","starred_url":"https://api.github.com/users/kreczko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreczko/subscriptions","organizations_url":"https://api.github.com/users/kreczko/orgs","repos_url":"https://api.github.com/users/kreczko/repos","events_url":"https://api.github.com/users/kreczko/events{/privacy}","received_events_url":"https://api.github.com/users/kreczko/received_events","type":"User","site_admin":false},"body":"print.\r\nTry using the logging module \r\n```\r\nlog.debug(ttbar_generator_systematics_list)\r\n```\r\nso such statements can stay in\r\n","created_at":"2015-08-17T10:44:23Z","updated_at":"2015-08-17T10:44:23Z","html_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259#discussion_r37175935","pull_request_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259","_links":{"self":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/comments/37175935"},"html":{"href":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259#discussion_r37175935"},"pull_request":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259","id":42571342,"html_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259","diff_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259.diff","patch_url":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259.patch","issue_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/259","number":259,"state":"open","locked":false,"title":"Up to preapproval","user":{"login":"EmyrClement","id":4438699,"avatar_url":"https://avatars.githubusercontent.com/u/4438699?v=3","gravatar_id":"","url":"https://api.github.com/users/EmyrClement","html_url":"https://github.com/EmyrClement","followers_url":"https://api.github.com/users/EmyrClement/followers","following_url":"https://api.github.com/users/EmyrClement/following{/other_user}","gists_url":"https://api.github.com/users/EmyrClement/gists{/gist_id}","starred_url":"https://api.github.com/users/EmyrClement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmyrClement/subscriptions","organizations_url":"https://api.github.com/users/EmyrClement/orgs","repos_url":"https://api.github.com/users/EmyrClement/repos","events_url":"https://api.github.com/users/EmyrClement/events{/privacy}","received_events_url":"https://api.github.com/users/EmyrClement/received_events","type":"User","site_admin":false},"body":"- abs lepton eta\r\n- hadronisation sample and systematic\r\n- New tau values\r\n- Same bins in full as in visible phase space\r\n- Bug fix.  Full phase space bins were used in places for visible phase space calculations\r\n- Some tidying.  Remove imports of things that aren't used/needed\r\n- Add basic script that calculates total number of events processed in ntuples","created_at":"2015-08-17T09:56:57Z","updated_at":"2015-08-17T10:44:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea5fd3696ef8737baf408544d1edac4ca6cf575c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259/commits","review_comments_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259/comments","review_comment_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/259/comments","statuses_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/statuses/b736773c8c4d62605e9daee8a5a0e8b6bc79b09a","head":{"label":"EmyrClement:upToPreApproval","ref":"upToPreApproval","sha":"b736773c8c4d62605e9daee8a5a0e8b6bc79b09a","user":{"login":"EmyrClement","id":4438699,"avatar_url":"https://avatars.githubusercontent.com/u/4438699?v=3","gravatar_id":"","url":"https://api.github.com/users/EmyrClement","html_url":"https://github.com/EmyrClement","followers_url":"https://api.github.com/users/EmyrClement/followers","following_url":"https://api.github.com/users/EmyrClement/following{/other_user}","gists_url":"https://api.github.com/users/EmyrClement/gists{/gist_id}","starred_url":"https://api.github.com/users/EmyrClement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmyrClement/subscriptions","organizations_url":"https://api.github.com/users/EmyrClement/orgs","repos_url":"https://api.github.com/users/EmyrClement/repos","events_url":"https://api.github.com/users/EmyrClement/events{/privacy}","received_events_url":"https://api.github.com/users/EmyrClement/received_events","type":"User","site_admin":false},"repo":{"id":19745962,"name":"DailyPythonScripts","full_name":"EmyrClement/DailyPythonScripts","owner":{"login":"EmyrClement","id":4438699,"avatar_url":"https://avatars.githubusercontent.com/u/4438699?v=3","gravatar_id":"","url":"https://api.github.com/users/EmyrClement","html_url":"https://github.com/EmyrClement","followers_url":"https://api.github.com/users/EmyrClement/followers","following_url":"https://api.github.com/users/EmyrClement/following{/other_user}","gists_url":"https://api.github.com/users/EmyrClement/gists{/gist_id}","starred_url":"https://api.github.com/users/EmyrClement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmyrClement/subscriptions","organizations_url":"https://api.github.com/users/EmyrClement/orgs","repos_url":"https://api.github.com/users/EmyrClement/repos","events_url":"https://api.github.com/users/EmyrClement/events{/privacy}","received_events_url":"https://api.github.com/users/EmyrClement/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EmyrClement/DailyPythonScripts","description":"Python scripts for the daily tasks in particle physics","fork":true,"url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts","forks_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/forks","keys_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/teams","hooks_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/hooks","issue_events_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/issues/events{/number}","events_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/events","assignees_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/assignees{/user}","branches_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/branches{/branch}","tags_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/tags","blobs_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/languages","stargazers_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/stargazers","contributors_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/contributors","subscribers_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/subscribers","subscription_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/subscription","commits_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/contents/{+path}","compare_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/merges","archive_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/downloads","issues_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/issues{/number}","pulls_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/labels{/name}","releases_url":"https://api.github.com/repos/EmyrClement/DailyPythonScripts/releases{/id}","created_at":"2014-05-13T16:04:24Z","updated_at":"2015-04-30T10:52:05Z","pushed_at":"2015-08-17T09:59:04Z","git_url":"git://github.com/EmyrClement/DailyPythonScripts.git","ssh_url":"git@github.com:EmyrClement/DailyPythonScripts.git","clone_url":"https://github.com/EmyrClement/DailyPythonScripts.git","svn_url":"https://github.com/EmyrClement/DailyPythonScripts","homepage":"","size":28155,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BristolTopGroup:master","ref":"master","sha":"1a8352a120617126fe0e4b57d4a305b2c8464969","user":{"login":"BristolTopGroup","id":2865412,"avatar_url":"https://avatars.githubusercontent.com/u/2865412?v=3","gravatar_id":"","url":"https://api.github.com/users/BristolTopGroup","html_url":"https://github.com/BristolTopGroup","followers_url":"https://api.github.com/users/BristolTopGroup/followers","following_url":"https://api.github.com/users/BristolTopGroup/following{/other_user}","gists_url":"https://api.github.com/users/BristolTopGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/BristolTopGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BristolTopGroup/subscriptions","organizations_url":"https://api.github.com/users/BristolTopGroup/orgs","repos_url":"https://api.github.com/users/BristolTopGroup/repos","events_url":"https://api.github.com/users/BristolTopGroup/events{/privacy}","received_events_url":"https://api.github.com/users/BristolTopGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":4138650,"name":"DailyPythonScripts","full_name":"BristolTopGroup/DailyPythonScripts","owner":{"login":"BristolTopGroup","id":2865412,"avatar_url":"https://avatars.githubusercontent.com/u/2865412?v=3","gravatar_id":"","url":"https://api.github.com/users/BristolTopGroup","html_url":"https://github.com/BristolTopGroup","followers_url":"https://api.github.com/users/BristolTopGroup/followers","following_url":"https://api.github.com/users/BristolTopGroup/following{/other_user}","gists_url":"https://api.github.com/users/BristolTopGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/BristolTopGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BristolTopGroup/subscriptions","organizations_url":"https://api.github.com/users/BristolTopGroup/orgs","repos_url":"https://api.github.com/users/BristolTopGroup/repos","events_url":"https://api.github.com/users/BristolTopGroup/events{/privacy}","received_events_url":"https://api.github.com/users/BristolTopGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BristolTopGroup/DailyPythonScripts","description":"Python scripts for the daily tasks in particle physics","fork":false,"url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts","forks_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/forks","keys_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/teams","hooks_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/hooks","issue_events_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/events{/number}","events_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/events","assignees_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/assignees{/user}","branches_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/branches{/branch}","tags_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/tags","blobs_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/languages","stargazers_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/stargazers","contributors_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/contributors","subscribers_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/subscribers","subscription_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/subscription","commits_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/contents/{+path}","compare_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/merges","archive_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/downloads","issues_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues{/number}","pulls_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/labels{/name}","releases_url":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/releases{/id}","created_at":"2012-04-25T16:29:22Z","updated_at":"2015-05-07T13:10:32Z","pushed_at":"2015-08-17T09:59:05Z","git_url":"git://github.com/BristolTopGroup/DailyPythonScripts.git","ssh_url":"git@github.com:BristolTopGroup/DailyPythonScripts.git","clone_url":"https://github.com/BristolTopGroup/DailyPythonScripts.git","svn_url":"https://github.com/BristolTopGroup/DailyPythonScripts","homepage":"","size":29154,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259"},"html":{"href":"https://github.com/BristolTopGroup/DailyPythonScripts/pull/259"},"issue":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/259"},"comments":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/BristolTopGroup/DailyPythonScripts/statuses/b736773c8c4d62605e9daee8a5a0e8b6bc79b09a"}}}}