{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8","id":36109293,"html_url":"https://github.com/BioJulia/IntervalTrees.jl/pull/8","diff_url":"https://github.com/BioJulia/IntervalTrees.jl/pull/8.diff","patch_url":"https://github.com/BioJulia/IntervalTrees.jl/pull/8.patch","issue_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/8","number":8,"state":"open","locked":false,"title":"Pull request/a9a8d91c","user":{"login":"phaverty","id":8205867,"avatar_url":"https://avatars.githubusercontent.com/u/8205867?v=3","gravatar_id":"","url":"https://api.github.com/users/phaverty","html_url":"https://github.com/phaverty","followers_url":"https://api.github.com/users/phaverty/followers","following_url":"https://api.github.com/users/phaverty/following{/other_user}","gists_url":"https://api.github.com/users/phaverty/gists{/gist_id}","starred_url":"https://api.github.com/users/phaverty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phaverty/subscriptions","organizations_url":"https://api.github.com/users/phaverty/orgs","repos_url":"https://api.github.com/users/phaverty/repos","events_url":"https://api.github.com/users/phaverty/events{/privacy}","received_events_url":"https://api.github.com/users/phaverty/received_events","type":"User","site_admin":false},"body":"This pull request suggests some additional pretty printing for IntervalTrees.  For IntervalTrees with a length > 6 I print an abbreviated output. I did some hacky stuff to iterate over parts of the tree. It would be lovely to have `getindex`. Since you have `length` and `sort!`, I think `getindex` would make sense, especially if this is to be used like R's IRanges.\r\n","created_at":"2015-05-24T22:13:52Z","updated_at":"2015-05-24T22:13:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8/commits","review_comments_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8/comments","review_comment_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/8/comments","statuses_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/statuses/a9a8d91c65ba4cd9c5fac27bf8634a90c2d241ed","head":{"label":"phaverty:pull-request/a9a8d91c","ref":"pull-request/a9a8d91c","sha":"a9a8d91c65ba4cd9c5fac27bf8634a90c2d241ed","user":{"login":"phaverty","id":8205867,"avatar_url":"https://avatars.githubusercontent.com/u/8205867?v=3","gravatar_id":"","url":"https://api.github.com/users/phaverty","html_url":"https://github.com/phaverty","followers_url":"https://api.github.com/users/phaverty/followers","following_url":"https://api.github.com/users/phaverty/following{/other_user}","gists_url":"https://api.github.com/users/phaverty/gists{/gist_id}","starred_url":"https://api.github.com/users/phaverty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phaverty/subscriptions","organizations_url":"https://api.github.com/users/phaverty/orgs","repos_url":"https://api.github.com/users/phaverty/repos","events_url":"https://api.github.com/users/phaverty/events{/privacy}","received_events_url":"https://api.github.com/users/phaverty/received_events","type":"User","site_admin":false},"repo":{"id":36149523,"name":"IntervalTrees.jl","full_name":"phaverty/IntervalTrees.jl","owner":{"login":"phaverty","id":8205867,"avatar_url":"https://avatars.githubusercontent.com/u/8205867?v=3","gravatar_id":"","url":"https://api.github.com/users/phaverty","html_url":"https://github.com/phaverty","followers_url":"https://api.github.com/users/phaverty/followers","following_url":"https://api.github.com/users/phaverty/following{/other_user}","gists_url":"https://api.github.com/users/phaverty/gists{/gist_id}","starred_url":"https://api.github.com/users/phaverty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phaverty/subscriptions","organizations_url":"https://api.github.com/users/phaverty/orgs","repos_url":"https://api.github.com/users/phaverty/repos","events_url":"https://api.github.com/users/phaverty/events{/privacy}","received_events_url":"https://api.github.com/users/phaverty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phaverty/IntervalTrees.jl","description":"A data structure for efficient manipulation of sets of intervals","fork":true,"url":"https://api.github.com/repos/phaverty/IntervalTrees.jl","forks_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/forks","keys_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/teams","hooks_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/hooks","issue_events_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/issues/events{/number}","events_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/events","assignees_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/assignees{/user}","branches_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/branches{/branch}","tags_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/tags","blobs_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/languages","stargazers_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/stargazers","contributors_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/contributors","subscribers_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/subscribers","subscription_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/subscription","commits_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/contents/{+path}","compare_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/merges","archive_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/downloads","issues_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/issues{/number}","pulls_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/labels{/name}","releases_url":"https://api.github.com/repos/phaverty/IntervalTrees.jl/releases{/id}","created_at":"2015-05-24T00:55:40Z","updated_at":"2015-05-24T00:55:43Z","pushed_at":"2015-05-24T22:10:37Z","git_url":"git://github.com/phaverty/IntervalTrees.jl.git","ssh_url":"git@github.com:phaverty/IntervalTrees.jl.git","clone_url":"https://github.com/phaverty/IntervalTrees.jl.git","svn_url":"https://github.com/phaverty/IntervalTrees.jl","homepage":null,"size":340,"stargazers_count":0,"watchers_count":0,"language":"Julia","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":"BioJulia:master","ref":"master","sha":"af6ff52706d70273abc3345352cd5828fac68c45","user":{"login":"BioJulia","id":6486271,"avatar_url":"https://avatars.githubusercontent.com/u/6486271?v=3","gravatar_id":"","url":"https://api.github.com/users/BioJulia","html_url":"https://github.com/BioJulia","followers_url":"https://api.github.com/users/BioJulia/followers","following_url":"https://api.github.com/users/BioJulia/following{/other_user}","gists_url":"https://api.github.com/users/BioJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/BioJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BioJulia/subscriptions","organizations_url":"https://api.github.com/users/BioJulia/orgs","repos_url":"https://api.github.com/users/BioJulia/repos","events_url":"https://api.github.com/users/BioJulia/events{/privacy}","received_events_url":"https://api.github.com/users/BioJulia/received_events","type":"Organization","site_admin":false},"repo":{"id":18823725,"name":"IntervalTrees.jl","full_name":"BioJulia/IntervalTrees.jl","owner":{"login":"BioJulia","id":6486271,"avatar_url":"https://avatars.githubusercontent.com/u/6486271?v=3","gravatar_id":"","url":"https://api.github.com/users/BioJulia","html_url":"https://github.com/BioJulia","followers_url":"https://api.github.com/users/BioJulia/followers","following_url":"https://api.github.com/users/BioJulia/following{/other_user}","gists_url":"https://api.github.com/users/BioJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/BioJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BioJulia/subscriptions","organizations_url":"https://api.github.com/users/BioJulia/orgs","repos_url":"https://api.github.com/users/BioJulia/repos","events_url":"https://api.github.com/users/BioJulia/events{/privacy}","received_events_url":"https://api.github.com/users/BioJulia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BioJulia/IntervalTrees.jl","description":"A data structure for efficient manipulation of sets of intervals","fork":false,"url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl","forks_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/forks","keys_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/teams","hooks_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/hooks","issue_events_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/events{/number}","events_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/events","assignees_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/assignees{/user}","branches_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/branches{/branch}","tags_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/tags","blobs_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/languages","stargazers_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/stargazers","contributors_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/contributors","subscribers_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/subscribers","subscription_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/subscription","commits_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/contents/{+path}","compare_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/merges","archive_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/downloads","issues_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues{/number}","pulls_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/labels{/name}","releases_url":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/releases{/id}","created_at":"2014-04-16T02:16:02Z","updated_at":"2015-04-22T02:32:18Z","pushed_at":"2015-05-24T19:10:08Z","git_url":"git://github.com/BioJulia/IntervalTrees.jl.git","ssh_url":"git@github.com:BioJulia/IntervalTrees.jl.git","clone_url":"https://github.com/BioJulia/IntervalTrees.jl.git","svn_url":"https://github.com/BioJulia/IntervalTrees.jl","homepage":null,"size":340,"stargazers_count":4,"watchers_count":4,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8"},"html":{"href":"https://github.com/BioJulia/IntervalTrees.jl/pull/8"},"issue":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/8"},"comments":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/BioJulia/IntervalTrees.jl/statuses/a9a8d91c65ba4cd9c5fac27bf8634a90c2d241ed"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":49,"deletions":1,"changed_files":2}}