{"action":"opened","number":922,"pull_request":{"url":"https://api.github.com/repos/ga4gh/server/pulls/922","id":58936600,"html_url":"https://github.com/ga4gh/server/pull/922","diff_url":"https://github.com/ga4gh/server/pull/922.diff","patch_url":"https://github.com/ga4gh/server/pull/922.patch","issue_url":"https://api.github.com/repos/ga4gh/server/issues/922","number":922,"state":"open","locked":false,"title":"Issue #687: Adds tests for reads","user":{"login":"andrewjesaitis","id":575533,"avatar_url":"https://avatars.githubusercontent.com/u/575533?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewjesaitis","html_url":"https://github.com/andrewjesaitis","followers_url":"https://api.github.com/users/andrewjesaitis/followers","following_url":"https://api.github.com/users/andrewjesaitis/following{/other_user}","gists_url":"https://api.github.com/users/andrewjesaitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjesaitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjesaitis/subscriptions","organizations_url":"https://api.github.com/users/andrewjesaitis/orgs","repos_url":"https://api.github.com/users/andrewjesaitis/repos","events_url":"https://api.github.com/users/andrewjesaitis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjesaitis/received_events","type":"User","site_admin":false},"body":"This adds a bunch of tests for `datamodel.reads` that make sure that the SAM spec is followed and that the utility functions work as expected.\r\n\r\nI fixed a couple edge cases in `parseMalformedBamHeader` method and made it robust to correctly parsed headers.","created_at":"2016-02-10T19:00:26Z","updated_at":"2016-02-10T19:00:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga4gh/server/pulls/922/commits","review_comments_url":"https://api.github.com/repos/ga4gh/server/pulls/922/comments","review_comment_url":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga4gh/server/issues/922/comments","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/90d6cd7d713deb6400e3d04219337c714754e279","head":{"label":"andrewjesaitis:issue687","ref":"issue687","sha":"90d6cd7d713deb6400e3d04219337c714754e279","user":{"login":"andrewjesaitis","id":575533,"avatar_url":"https://avatars.githubusercontent.com/u/575533?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewjesaitis","html_url":"https://github.com/andrewjesaitis","followers_url":"https://api.github.com/users/andrewjesaitis/followers","following_url":"https://api.github.com/users/andrewjesaitis/following{/other_user}","gists_url":"https://api.github.com/users/andrewjesaitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjesaitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjesaitis/subscriptions","organizations_url":"https://api.github.com/users/andrewjesaitis/orgs","repos_url":"https://api.github.com/users/andrewjesaitis/repos","events_url":"https://api.github.com/users/andrewjesaitis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjesaitis/received_events","type":"User","site_admin":false},"repo":{"id":49678908,"name":"server","full_name":"andrewjesaitis/server","owner":{"login":"andrewjesaitis","id":575533,"avatar_url":"https://avatars.githubusercontent.com/u/575533?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewjesaitis","html_url":"https://github.com/andrewjesaitis","followers_url":"https://api.github.com/users/andrewjesaitis/followers","following_url":"https://api.github.com/users/andrewjesaitis/following{/other_user}","gists_url":"https://api.github.com/users/andrewjesaitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjesaitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjesaitis/subscriptions","organizations_url":"https://api.github.com/users/andrewjesaitis/orgs","repos_url":"https://api.github.com/users/andrewjesaitis/repos","events_url":"https://api.github.com/users/andrewjesaitis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjesaitis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrewjesaitis/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":true,"url":"https://api.github.com/repos/andrewjesaitis/server","forks_url":"https://api.github.com/repos/andrewjesaitis/server/forks","keys_url":"https://api.github.com/repos/andrewjesaitis/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrewjesaitis/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrewjesaitis/server/teams","hooks_url":"https://api.github.com/repos/andrewjesaitis/server/hooks","issue_events_url":"https://api.github.com/repos/andrewjesaitis/server/issues/events{/number}","events_url":"https://api.github.com/repos/andrewjesaitis/server/events","assignees_url":"https://api.github.com/repos/andrewjesaitis/server/assignees{/user}","branches_url":"https://api.github.com/repos/andrewjesaitis/server/branches{/branch}","tags_url":"https://api.github.com/repos/andrewjesaitis/server/tags","blobs_url":"https://api.github.com/repos/andrewjesaitis/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrewjesaitis/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrewjesaitis/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrewjesaitis/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrewjesaitis/server/statuses/{sha}","languages_url":"https://api.github.com/repos/andrewjesaitis/server/languages","stargazers_url":"https://api.github.com/repos/andrewjesaitis/server/stargazers","contributors_url":"https://api.github.com/repos/andrewjesaitis/server/contributors","subscribers_url":"https://api.github.com/repos/andrewjesaitis/server/subscribers","subscription_url":"https://api.github.com/repos/andrewjesaitis/server/subscription","commits_url":"https://api.github.com/repos/andrewjesaitis/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrewjesaitis/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrewjesaitis/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrewjesaitis/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrewjesaitis/server/contents/{+path}","compare_url":"https://api.github.com/repos/andrewjesaitis/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrewjesaitis/server/merges","archive_url":"https://api.github.com/repos/andrewjesaitis/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrewjesaitis/server/downloads","issues_url":"https://api.github.com/repos/andrewjesaitis/server/issues{/number}","pulls_url":"https://api.github.com/repos/andrewjesaitis/server/pulls{/number}","milestones_url":"https://api.github.com/repos/andrewjesaitis/server/milestones{/number}","notifications_url":"https://api.github.com/repos/andrewjesaitis/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrewjesaitis/server/labels{/name}","releases_url":"https://api.github.com/repos/andrewjesaitis/server/releases{/id}","deployments_url":"https://api.github.com/repos/andrewjesaitis/server/deployments","created_at":"2016-01-14T22:16:54Z","updated_at":"2016-01-14T22:16:55Z","pushed_at":"2016-02-10T18:56:24Z","git_url":"git://github.com/andrewjesaitis/server.git","ssh_url":"git@github.com:andrewjesaitis/server.git","clone_url":"https://github.com/andrewjesaitis/server.git","svn_url":"https://github.com/andrewjesaitis/server","homepage":null,"size":4445,"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":"ga4gh:master","ref":"master","sha":"0be6d08b5673e70a807704b39cd70c45400e086d","user":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":22882621,"name":"server","full_name":"ga4gh/server","owner":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":false,"url":"https://api.github.com/repos/ga4gh/server","forks_url":"https://api.github.com/repos/ga4gh/server/forks","keys_url":"https://api.github.com/repos/ga4gh/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/server/teams","hooks_url":"https://api.github.com/repos/ga4gh/server/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/server/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/server/events","assignees_url":"https://api.github.com/repos/ga4gh/server/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/server/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/server/tags","blobs_url":"https://api.github.com/repos/ga4gh/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/server/languages","stargazers_url":"https://api.github.com/repos/ga4gh/server/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/server/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/server/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/server/subscription","commits_url":"https://api.github.com/repos/ga4gh/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/server/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/server/merges","archive_url":"https://api.github.com/repos/ga4gh/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/server/downloads","issues_url":"https://api.github.com/repos/ga4gh/server/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/server/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/server/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/server/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/server/releases{/id}","deployments_url":"https://api.github.com/repos/ga4gh/server/deployments","created_at":"2014-08-12T15:31:49Z","updated_at":"2016-02-04T08:30:02Z","pushed_at":"2016-02-10T18:49:44Z","git_url":"git://github.com/ga4gh/server.git","ssh_url":"git@github.com:ga4gh/server.git","clone_url":"https://github.com/ga4gh/server.git","svn_url":"https://github.com/ga4gh/server","homepage":null,"size":5300,"stargazers_count":48,"watchers_count":48,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":111,"forks":75,"open_issues":111,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga4gh/server/pulls/922"},"html":{"href":"https://github.com/ga4gh/server/pull/922"},"issue":{"href":"https://api.github.com/repos/ga4gh/server/issues/922"},"comments":{"href":"https://api.github.com/repos/ga4gh/server/issues/922/comments"},"review_comments":{"href":"https://api.github.com/repos/ga4gh/server/pulls/922/comments"},"review_comment":{"href":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga4gh/server/pulls/922/commits"},"statuses":{"href":"https://api.github.com/repos/ga4gh/server/statuses/90d6cd7d713deb6400e3d04219337c714754e279"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":254,"deletions":2,"changed_files":2}}