{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23","id":167598166,"html_url":"https://github.com/ecohealthalliance/EpiTator/pull/23","diff_url":"https://github.com/ecohealthalliance/EpiTator/pull/23.diff","patch_url":"https://github.com/ecohealthalliance/EpiTator/pull/23.patch","issue_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/23","number":23,"state":"closed","locked":false,"title":"Convenience methods","user":{"login":"toph-allen","id":3117884,"avatar_url":"https://avatars0.githubusercontent.com/u/3117884?v=4","gravatar_id":"","url":"https://api.github.com/users/toph-allen","html_url":"https://github.com/toph-allen","followers_url":"https://api.github.com/users/toph-allen/followers","following_url":"https://api.github.com/users/toph-allen/following{/other_user}","gists_url":"https://api.github.com/users/toph-allen/gists{/gist_id}","starred_url":"https://api.github.com/users/toph-allen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toph-allen/subscriptions","organizations_url":"https://api.github.com/users/toph-allen/orgs","repos_url":"https://api.github.com/users/toph-allen/repos","events_url":"https://api.github.com/users/toph-allen/events{/privacy}","received_events_url":"https://api.github.com/users/toph-allen/received_events","type":"User","site_admin":false},"body":"I added two main changes:\r\n\r\n- Two `AnnoTier` methods for returning the spans overlapped and contained by a provided span, respectively.\r\n- A short `__getitem__()` method which lets you index a tier as `tier[1]` and `tier[0:4]` without having to write `tier.spans[0:4]`. This is a small convenience, but it's a mistake I kept making working with the class. It makes it semantically consistent with `for span in tier:`, which works.","created_at":"2018-02-07T04:53:46Z","updated_at":"2018-02-07T17:52:41Z","closed_at":"2018-02-07T17:52:41Z","merged_at":"2018-02-07T17:52:41Z","merge_commit_sha":"6d22395a31a202a3ea134275ee26b680b042b664","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nathanathan","id":710024,"avatar_url":"https://avatars2.githubusercontent.com/u/710024?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanathan","html_url":"https://github.com/nathanathan","followers_url":"https://api.github.com/users/nathanathan/followers","following_url":"https://api.github.com/users/nathanathan/following{/other_user}","gists_url":"https://api.github.com/users/nathanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanathan/subscriptions","organizations_url":"https://api.github.com/users/nathanathan/orgs","repos_url":"https://api.github.com/users/nathanathan/repos","events_url":"https://api.github.com/users/nathanathan/events{/privacy}","received_events_url":"https://api.github.com/users/nathanathan/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23/commits","review_comments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23/comments","review_comment_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/23/comments","statuses_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/statuses/d43975b3081316b7871a2e338b22beff9a89fa07","head":{"label":"ecohealthalliance:convenience-methods","ref":"convenience-methods","sha":"d43975b3081316b7871a2e338b22beff9a89fa07","user":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars2.githubusercontent.com/u/1501231?v=4","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"repo":{"id":90939635,"name":"EpiTator","full_name":"ecohealthalliance/EpiTator","owner":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars2.githubusercontent.com/u/1501231?v=4","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecohealthalliance/EpiTator","description":"EpiTator annotates epidemiological information in text documents. It is the natural language processing framework that powers GRITS and EIDR Connect.","fork":false,"url":"https://api.github.com/repos/ecohealthalliance/EpiTator","forks_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/forks","keys_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/teams","hooks_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/hooks","issue_events_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/events{/number}","events_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/events","assignees_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/assignees{/user}","branches_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/branches{/branch}","tags_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/tags","blobs_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/statuses/{sha}","languages_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/languages","stargazers_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/stargazers","contributors_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/contributors","subscribers_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/subscribers","subscription_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/subscription","commits_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/contents/{+path}","compare_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/merges","archive_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/downloads","issues_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues{/number}","pulls_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls{/number}","milestones_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/milestones{/number}","notifications_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/labels{/name}","releases_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/releases{/id}","deployments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/deployments","created_at":"2017-05-11T05:08:49Z","updated_at":"2018-02-06T17:30:50Z","pushed_at":"2018-02-07T17:52:41Z","git_url":"git://github.com/ecohealthalliance/EpiTator.git","ssh_url":"git@github.com:ecohealthalliance/EpiTator.git","clone_url":"https://github.com/ecohealthalliance/EpiTator.git","svn_url":"https://github.com/ecohealthalliance/EpiTator","homepage":"https://pypi.python.org/pypi/EpiTator","size":552,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"ecohealthalliance:master","ref":"master","sha":"9f1c9ce27aac2b93c500c6fbbfc09a1bfa81a0f4","user":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars2.githubusercontent.com/u/1501231?v=4","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"repo":{"id":90939635,"name":"EpiTator","full_name":"ecohealthalliance/EpiTator","owner":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars2.githubusercontent.com/u/1501231?v=4","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecohealthalliance/EpiTator","description":"EpiTator annotates epidemiological information in text documents. It is the natural language processing framework that powers GRITS and EIDR Connect.","fork":false,"url":"https://api.github.com/repos/ecohealthalliance/EpiTator","forks_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/forks","keys_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/teams","hooks_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/hooks","issue_events_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/events{/number}","events_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/events","assignees_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/assignees{/user}","branches_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/branches{/branch}","tags_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/tags","blobs_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/statuses/{sha}","languages_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/languages","stargazers_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/stargazers","contributors_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/contributors","subscribers_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/subscribers","subscription_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/subscription","commits_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/contents/{+path}","compare_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/merges","archive_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/downloads","issues_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues{/number}","pulls_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls{/number}","milestones_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/milestones{/number}","notifications_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/labels{/name}","releases_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/releases{/id}","deployments_url":"https://api.github.com/repos/ecohealthalliance/EpiTator/deployments","created_at":"2017-05-11T05:08:49Z","updated_at":"2018-02-06T17:30:50Z","pushed_at":"2018-02-07T17:52:41Z","git_url":"git://github.com/ecohealthalliance/EpiTator.git","ssh_url":"git@github.com:ecohealthalliance/EpiTator.git","clone_url":"https://github.com/ecohealthalliance/EpiTator.git","svn_url":"https://github.com/ecohealthalliance/EpiTator","homepage":"https://pypi.python.org/pypi/EpiTator","size":552,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23"},"html":{"href":"https://github.com/ecohealthalliance/EpiTator/pull/23"},"issue":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/23"},"comments":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/ecohealthalliance/EpiTator/statuses/d43975b3081316b7871a2e338b22beff9a89fa07"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nathanathan","id":710024,"avatar_url":"https://avatars2.githubusercontent.com/u/710024?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanathan","html_url":"https://github.com/nathanathan","followers_url":"https://api.github.com/users/nathanathan/followers","following_url":"https://api.github.com/users/nathanathan/following{/other_user}","gists_url":"https://api.github.com/users/nathanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanathan/subscriptions","organizations_url":"https://api.github.com/users/nathanathan/orgs","repos_url":"https://api.github.com/users/nathanathan/repos","events_url":"https://api.github.com/users/nathanathan/events{/privacy}","received_events_url":"https://api.github.com/users/nathanathan/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":38,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"nathanathan"}}