{"action":"closed","number":2193,"pull_request":{"url":"https://api.github.com/repos/gwastro/pycbc/pulls/2193","id":193702663,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzAyNjYz","html_url":"https://github.com/gwastro/pycbc/pull/2193","diff_url":"https://github.com/gwastro/pycbc/pull/2193.diff","patch_url":"https://github.com/gwastro/pycbc/pull/2193.patch","issue_url":"https://api.github.com/repos/gwastro/pycbc/issues/2193","number":2193,"state":"closed","locked":false,"title":"PyCBC Live: reorganize GraceDB I/O code","user":{"login":"titodalcanton","id":11317236,"node_id":"MDQ6VXNlcjExMzE3MjM2","avatar_url":"https://avatars1.githubusercontent.com/u/11317236?v=4","gravatar_id":"","url":"https://api.github.com/users/titodalcanton","html_url":"https://github.com/titodalcanton","followers_url":"https://api.github.com/users/titodalcanton/followers","following_url":"https://api.github.com/users/titodalcanton/following{/other_user}","gists_url":"https://api.github.com/users/titodalcanton/gists{/gist_id}","starred_url":"https://api.github.com/users/titodalcanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titodalcanton/subscriptions","organizations_url":"https://api.github.com/users/titodalcanton/orgs","repos_url":"https://api.github.com/users/titodalcanton/repos","events_url":"https://api.github.com/users/titodalcanton/events{/privacy}","received_events_url":"https://api.github.com/users/titodalcanton/received_events","type":"User","site_admin":false},"body":"Several changes related to PyCBC Live and in particular the SingleCoincForGraceDB class.\r\n\r\n* Make the class easily reusable by third party scripts as a simpler interface to GraceDB and BAYESTAR. In particular, the calculation of the SNR series is moved away from the `pycbc.io.live` module and into `pycbc_live` itself. The API is also simplified—at least in my opinion ;)\r\n* Add a unit test for the class trying different combinations of detectors.\r\n* Switch from having the event and PSDs in separate XML files to having them all in the same file. A copy of the single XML file is still uploaded as a separate `psd.xml` file, to avoid breaking things in GraceDB and follow-up processes. We can remove that redundant file once the rest of the chain is ready. Note that BAYESTAR is already able to take a single XML file as input (just with a slightly awkward command line).\r\n* Fix an error related to module `six`.\r\n\r\nTested with simulated data and a few combinations of detectors.","created_at":"2018-06-08T19:24:40Z","updated_at":"2018-06-20T18:12:15Z","closed_at":"2018-06-20T18:12:15Z","merged_at":"2018-06-20T18:12:15Z","merge_commit_sha":"7bb8a17db9ca1c82feb0387560ca9457557dc361","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gwastro/pycbc/pulls/2193/commits","review_comments_url":"https://api.github.com/repos/gwastro/pycbc/pulls/2193/comments","review_comment_url":"https://api.github.com/repos/gwastro/pycbc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gwastro/pycbc/issues/2193/comments","statuses_url":"https://api.github.com/repos/gwastro/pycbc/statuses/48da87f1ab742694afadc25a0e1b819585fdecbd","head":{"label":"titodalcanton:live_snr_series_reorganization","ref":"live_snr_series_reorganization","sha":"48da87f1ab742694afadc25a0e1b819585fdecbd","user":{"login":"titodalcanton","id":11317236,"node_id":"MDQ6VXNlcjExMzE3MjM2","avatar_url":"https://avatars1.githubusercontent.com/u/11317236?v=4","gravatar_id":"","url":"https://api.github.com/users/titodalcanton","html_url":"https://github.com/titodalcanton","followers_url":"https://api.github.com/users/titodalcanton/followers","following_url":"https://api.github.com/users/titodalcanton/following{/other_user}","gists_url":"https://api.github.com/users/titodalcanton/gists{/gist_id}","starred_url":"https://api.github.com/users/titodalcanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titodalcanton/subscriptions","organizations_url":"https://api.github.com/users/titodalcanton/orgs","repos_url":"https://api.github.com/users/titodalcanton/repos","events_url":"https://api.github.com/users/titodalcanton/events{/privacy}","received_events_url":"https://api.github.com/users/titodalcanton/received_events","type":"User","site_admin":false},"repo":{"id":36690301,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY5MDMwMQ==","name":"pycbc","full_name":"titodalcanton/pycbc","owner":{"login":"titodalcanton","id":11317236,"node_id":"MDQ6VXNlcjExMzE3MjM2","avatar_url":"https://avatars1.githubusercontent.com/u/11317236?v=4","gravatar_id":"","url":"https://api.github.com/users/titodalcanton","html_url":"https://github.com/titodalcanton","followers_url":"https://api.github.com/users/titodalcanton/followers","following_url":"https://api.github.com/users/titodalcanton/following{/other_user}","gists_url":"https://api.github.com/users/titodalcanton/gists{/gist_id}","starred_url":"https://api.github.com/users/titodalcanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titodalcanton/subscriptions","organizations_url":"https://api.github.com/users/titodalcanton/orgs","repos_url":"https://api.github.com/users/titodalcanton/repos","events_url":"https://api.github.com/users/titodalcanton/events{/privacy}","received_events_url":"https://api.github.com/users/titodalcanton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/titodalcanton/pycbc","description":"Python CBC Tools","fork":true,"url":"https://api.github.com/repos/titodalcanton/pycbc","forks_url":"https://api.github.com/repos/titodalcanton/pycbc/forks","keys_url":"https://api.github.com/repos/titodalcanton/pycbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/titodalcanton/pycbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/titodalcanton/pycbc/teams","hooks_url":"https://api.github.com/repos/titodalcanton/pycbc/hooks","issue_events_url":"https://api.github.com/repos/titodalcanton/pycbc/issues/events{/number}","events_url":"https://api.github.com/repos/titodalcanton/pycbc/events","assignees_url":"https://api.github.com/repos/titodalcanton/pycbc/assignees{/user}","branches_url":"https://api.github.com/repos/titodalcanton/pycbc/branches{/branch}","tags_url":"https://api.github.com/repos/titodalcanton/pycbc/tags","blobs_url":"https://api.github.com/repos/titodalcanton/pycbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/titodalcanton/pycbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/titodalcanton/pycbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/titodalcanton/pycbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/titodalcanton/pycbc/statuses/{sha}","languages_url":"https://api.github.com/repos/titodalcanton/pycbc/languages","stargazers_url":"https://api.github.com/repos/titodalcanton/pycbc/stargazers","contributors_url":"https://api.github.com/repos/titodalcanton/pycbc/contributors","subscribers_url":"https://api.github.com/repos/titodalcanton/pycbc/subscribers","subscription_url":"https://api.github.com/repos/titodalcanton/pycbc/subscription","commits_url":"https://api.github.com/repos/titodalcanton/pycbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/titodalcanton/pycbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/titodalcanton/pycbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/titodalcanton/pycbc/issues/comments{/number}","contents_url":"https://api.github.com/repos/titodalcanton/pycbc/contents/{+path}","compare_url":"https://api.github.com/repos/titodalcanton/pycbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/titodalcanton/pycbc/merges","archive_url":"https://api.github.com/repos/titodalcanton/pycbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/titodalcanton/pycbc/downloads","issues_url":"https://api.github.com/repos/titodalcanton/pycbc/issues{/number}","pulls_url":"https://api.github.com/repos/titodalcanton/pycbc/pulls{/number}","milestones_url":"https://api.github.com/repos/titodalcanton/pycbc/milestones{/number}","notifications_url":"https://api.github.com/repos/titodalcanton/pycbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/titodalcanton/pycbc/labels{/name}","releases_url":"https://api.github.com/repos/titodalcanton/pycbc/releases{/id}","deployments_url":"https://api.github.com/repos/titodalcanton/pycbc/deployments","created_at":"2015-06-01T21:34:18Z","updated_at":"2015-06-01T21:34:19Z","pushed_at":"2018-06-20T15:38:30Z","git_url":"git://github.com/titodalcanton/pycbc.git","ssh_url":"git@github.com:titodalcanton/pycbc.git","clone_url":"https://github.com/titodalcanton/pycbc.git","svn_url":"https://github.com/titodalcanton/pycbc","homepage":null,"size":37286,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gwastro:master","ref":"master","sha":"f9ff70c82de8cfc198da7455e0a03a9edd13d43f","user":{"login":"gwastro","id":11262917,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjYyOTE3","avatar_url":"https://avatars3.githubusercontent.com/u/11262917?v=4","gravatar_id":"","url":"https://api.github.com/users/gwastro","html_url":"https://github.com/gwastro","followers_url":"https://api.github.com/users/gwastro/followers","following_url":"https://api.github.com/users/gwastro/following{/other_user}","gists_url":"https://api.github.com/users/gwastro/gists{/gist_id}","starred_url":"https://api.github.com/users/gwastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwastro/subscriptions","organizations_url":"https://api.github.com/users/gwastro/orgs","repos_url":"https://api.github.com/users/gwastro/repos","events_url":"https://api.github.com/users/gwastro/events{/privacy}","received_events_url":"https://api.github.com/users/gwastro/received_events","type":"Organization","site_admin":false},"repo":{"id":31596861,"node_id":"MDEwOlJlcG9zaXRvcnkzMTU5Njg2MQ==","name":"pycbc","full_name":"gwastro/pycbc","owner":{"login":"gwastro","id":11262917,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjYyOTE3","avatar_url":"https://avatars3.githubusercontent.com/u/11262917?v=4","gravatar_id":"","url":"https://api.github.com/users/gwastro","html_url":"https://github.com/gwastro","followers_url":"https://api.github.com/users/gwastro/followers","following_url":"https://api.github.com/users/gwastro/following{/other_user}","gists_url":"https://api.github.com/users/gwastro/gists{/gist_id}","starred_url":"https://api.github.com/users/gwastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwastro/subscriptions","organizations_url":"https://api.github.com/users/gwastro/orgs","repos_url":"https://api.github.com/users/gwastro/repos","events_url":"https://api.github.com/users/gwastro/events{/privacy}","received_events_url":"https://api.github.com/users/gwastro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gwastro/pycbc","description":"Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.  ","fork":false,"url":"https://api.github.com/repos/gwastro/pycbc","forks_url":"https://api.github.com/repos/gwastro/pycbc/forks","keys_url":"https://api.github.com/repos/gwastro/pycbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gwastro/pycbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gwastro/pycbc/teams","hooks_url":"https://api.github.com/repos/gwastro/pycbc/hooks","issue_events_url":"https://api.github.com/repos/gwastro/pycbc/issues/events{/number}","events_url":"https://api.github.com/repos/gwastro/pycbc/events","assignees_url":"https://api.github.com/repos/gwastro/pycbc/assignees{/user}","branches_url":"https://api.github.com/repos/gwastro/pycbc/branches{/branch}","tags_url":"https://api.github.com/repos/gwastro/pycbc/tags","blobs_url":"https://api.github.com/repos/gwastro/pycbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gwastro/pycbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gwastro/pycbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/gwastro/pycbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gwastro/pycbc/statuses/{sha}","languages_url":"https://api.github.com/repos/gwastro/pycbc/languages","stargazers_url":"https://api.github.com/repos/gwastro/pycbc/stargazers","contributors_url":"https://api.github.com/repos/gwastro/pycbc/contributors","subscribers_url":"https://api.github.com/repos/gwastro/pycbc/subscribers","subscription_url":"https://api.github.com/repos/gwastro/pycbc/subscription","commits_url":"https://api.github.com/repos/gwastro/pycbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/gwastro/pycbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/gwastro/pycbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/gwastro/pycbc/issues/comments{/number}","contents_url":"https://api.github.com/repos/gwastro/pycbc/contents/{+path}","compare_url":"https://api.github.com/repos/gwastro/pycbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gwastro/pycbc/merges","archive_url":"https://api.github.com/repos/gwastro/pycbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gwastro/pycbc/downloads","issues_url":"https://api.github.com/repos/gwastro/pycbc/issues{/number}","pulls_url":"https://api.github.com/repos/gwastro/pycbc/pulls{/number}","milestones_url":"https://api.github.com/repos/gwastro/pycbc/milestones{/number}","notifications_url":"https://api.github.com/repos/gwastro/pycbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gwastro/pycbc/labels{/name}","releases_url":"https://api.github.com/repos/gwastro/pycbc/releases{/id}","deployments_url":"https://api.github.com/repos/gwastro/pycbc/deployments","created_at":"2015-03-03T12:19:19Z","updated_at":"2018-06-20T16:24:20Z","pushed_at":"2018-06-20T18:12:15Z","git_url":"git://github.com/gwastro/pycbc.git","ssh_url":"git@github.com:gwastro/pycbc.git","clone_url":"https://github.com/gwastro/pycbc.git","svn_url":"https://github.com/gwastro/pycbc","homepage":"http://pycbc.org","size":339421,"stargazers_count":80,"watchers_count":80,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":130,"mirror_url":null,"archived":false,"open_issues_count":78,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":130,"open_issues":78,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gwastro/pycbc/pulls/2193"},"html":{"href":"https://github.com/gwastro/pycbc/pull/2193"},"issue":{"href":"https://api.github.com/repos/gwastro/pycbc/issues/2193"},"comments":{"href":"https://api.github.com/repos/gwastro/pycbc/issues/2193/comments"},"review_comments":{"href":"https://api.github.com/repos/gwastro/pycbc/pulls/2193/comments"},"review_comment":{"href":"https://api.github.com/repos/gwastro/pycbc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gwastro/pycbc/pulls/2193/commits"},"statuses":{"href":"https://api.github.com/repos/gwastro/pycbc/statuses/48da87f1ab742694afadc25a0e1b819585fdecbd"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ahnitz","id":2206534,"node_id":"MDQ6VXNlcjIyMDY1MzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2206534?v=4","gravatar_id":"","url":"https://api.github.com/users/ahnitz","html_url":"https://github.com/ahnitz","followers_url":"https://api.github.com/users/ahnitz/followers","following_url":"https://api.github.com/users/ahnitz/following{/other_user}","gists_url":"https://api.github.com/users/ahnitz/gists{/gist_id}","starred_url":"https://api.github.com/users/ahnitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahnitz/subscriptions","organizations_url":"https://api.github.com/users/ahnitz/orgs","repos_url":"https://api.github.com/users/ahnitz/repos","events_url":"https://api.github.com/users/ahnitz/events{/privacy}","received_events_url":"https://api.github.com/users/ahnitz/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"maintainer_can_modify":false,"commits":25,"additions":334,"deletions":181,"changed_files":4}}
{"actor":{"display_login":"ahnitz"}}