{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/hdetering/DendroPy/pulls/1","id":58775652,"html_url":"https://github.com/hdetering/DendroPy/pull/1","diff_url":"https://github.com/hdetering/DendroPy/pull/1.diff","patch_url":"https://github.com/hdetering/DendroPy/pull/1.patch","issue_url":"https://api.github.com/repos/hdetering/DendroPy/issues/1","number":1,"state":"closed","locked":false,"title":"Avoid ZeroDivisionError comparing non-overlapping sequences","user":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"body":"\r\nIf the input alignment contains a pair of **sequences that do not overlap** (except in gaps) a `ZeroDivisionError` will occur at in `_count_differences` (popgenstat.py:66).\r\nA possible silent (and correct?) way to handle it is to report 0 differences.\r\n\r\nTry [this alignment](https://github.com/hdetering/DendroPy/files/123378/412825_coding.fasta.txt) to reproduce the error.","created_at":"2016-02-09T16:53:26Z","updated_at":"2016-02-09T17:00:19Z","closed_at":"2016-02-09T17:00:19Z","merged_at":"2016-02-09T17:00:19Z","merge_commit_sha":"aa2297a51b2491e947a060b2eb848320f8a8547b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hdetering/DendroPy/pulls/1/commits","review_comments_url":"https://api.github.com/repos/hdetering/DendroPy/pulls/1/comments","review_comment_url":"https://api.github.com/repos/hdetering/DendroPy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hdetering/DendroPy/issues/1/comments","statuses_url":"https://api.github.com/repos/hdetering/DendroPy/statuses/78e535f8a0fd5810a18b4b732497e3ec73c57ddd","head":{"label":"hdetering:hdetering-patch-1","ref":"hdetering-patch-1","sha":"78e535f8a0fd5810a18b4b732497e3ec73c57ddd","user":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"repo":{"id":51380434,"name":"DendroPy","full_name":"hdetering/DendroPy","owner":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hdetering/DendroPy","description":"A Python library for phylogenetic scripting, simulation, data processing and manipulation.","fork":true,"url":"https://api.github.com/repos/hdetering/DendroPy","forks_url":"https://api.github.com/repos/hdetering/DendroPy/forks","keys_url":"https://api.github.com/repos/hdetering/DendroPy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hdetering/DendroPy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hdetering/DendroPy/teams","hooks_url":"https://api.github.com/repos/hdetering/DendroPy/hooks","issue_events_url":"https://api.github.com/repos/hdetering/DendroPy/issues/events{/number}","events_url":"https://api.github.com/repos/hdetering/DendroPy/events","assignees_url":"https://api.github.com/repos/hdetering/DendroPy/assignees{/user}","branches_url":"https://api.github.com/repos/hdetering/DendroPy/branches{/branch}","tags_url":"https://api.github.com/repos/hdetering/DendroPy/tags","blobs_url":"https://api.github.com/repos/hdetering/DendroPy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hdetering/DendroPy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hdetering/DendroPy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hdetering/DendroPy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hdetering/DendroPy/statuses/{sha}","languages_url":"https://api.github.com/repos/hdetering/DendroPy/languages","stargazers_url":"https://api.github.com/repos/hdetering/DendroPy/stargazers","contributors_url":"https://api.github.com/repos/hdetering/DendroPy/contributors","subscribers_url":"https://api.github.com/repos/hdetering/DendroPy/subscribers","subscription_url":"https://api.github.com/repos/hdetering/DendroPy/subscription","commits_url":"https://api.github.com/repos/hdetering/DendroPy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hdetering/DendroPy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hdetering/DendroPy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hdetering/DendroPy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hdetering/DendroPy/contents/{+path}","compare_url":"https://api.github.com/repos/hdetering/DendroPy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hdetering/DendroPy/merges","archive_url":"https://api.github.com/repos/hdetering/DendroPy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hdetering/DendroPy/downloads","issues_url":"https://api.github.com/repos/hdetering/DendroPy/issues{/number}","pulls_url":"https://api.github.com/repos/hdetering/DendroPy/pulls{/number}","milestones_url":"https://api.github.com/repos/hdetering/DendroPy/milestones{/number}","notifications_url":"https://api.github.com/repos/hdetering/DendroPy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hdetering/DendroPy/labels{/name}","releases_url":"https://api.github.com/repos/hdetering/DendroPy/releases{/id}","deployments_url":"https://api.github.com/repos/hdetering/DendroPy/deployments","created_at":"2016-02-09T16:38:29Z","updated_at":"2016-02-09T16:38:36Z","pushed_at":"2016-02-09T17:00:19Z","git_url":"git://github.com/hdetering/DendroPy.git","ssh_url":"git@github.com:hdetering/DendroPy.git","clone_url":"https://github.com/hdetering/DendroPy.git","svn_url":"https://github.com/hdetering/DendroPy","homepage":"http://packages.python.org/DendroPy/","size":50260,"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":"hdetering:master","ref":"master","sha":"4f792a14ec4dcc0695fbdc51a4f8fa4e5635e7e5","user":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"repo":{"id":51380434,"name":"DendroPy","full_name":"hdetering/DendroPy","owner":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hdetering/DendroPy","description":"A Python library for phylogenetic scripting, simulation, data processing and manipulation.","fork":true,"url":"https://api.github.com/repos/hdetering/DendroPy","forks_url":"https://api.github.com/repos/hdetering/DendroPy/forks","keys_url":"https://api.github.com/repos/hdetering/DendroPy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hdetering/DendroPy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hdetering/DendroPy/teams","hooks_url":"https://api.github.com/repos/hdetering/DendroPy/hooks","issue_events_url":"https://api.github.com/repos/hdetering/DendroPy/issues/events{/number}","events_url":"https://api.github.com/repos/hdetering/DendroPy/events","assignees_url":"https://api.github.com/repos/hdetering/DendroPy/assignees{/user}","branches_url":"https://api.github.com/repos/hdetering/DendroPy/branches{/branch}","tags_url":"https://api.github.com/repos/hdetering/DendroPy/tags","blobs_url":"https://api.github.com/repos/hdetering/DendroPy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hdetering/DendroPy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hdetering/DendroPy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hdetering/DendroPy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hdetering/DendroPy/statuses/{sha}","languages_url":"https://api.github.com/repos/hdetering/DendroPy/languages","stargazers_url":"https://api.github.com/repos/hdetering/DendroPy/stargazers","contributors_url":"https://api.github.com/repos/hdetering/DendroPy/contributors","subscribers_url":"https://api.github.com/repos/hdetering/DendroPy/subscribers","subscription_url":"https://api.github.com/repos/hdetering/DendroPy/subscription","commits_url":"https://api.github.com/repos/hdetering/DendroPy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hdetering/DendroPy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hdetering/DendroPy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hdetering/DendroPy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hdetering/DendroPy/contents/{+path}","compare_url":"https://api.github.com/repos/hdetering/DendroPy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hdetering/DendroPy/merges","archive_url":"https://api.github.com/repos/hdetering/DendroPy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hdetering/DendroPy/downloads","issues_url":"https://api.github.com/repos/hdetering/DendroPy/issues{/number}","pulls_url":"https://api.github.com/repos/hdetering/DendroPy/pulls{/number}","milestones_url":"https://api.github.com/repos/hdetering/DendroPy/milestones{/number}","notifications_url":"https://api.github.com/repos/hdetering/DendroPy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hdetering/DendroPy/labels{/name}","releases_url":"https://api.github.com/repos/hdetering/DendroPy/releases{/id}","deployments_url":"https://api.github.com/repos/hdetering/DendroPy/deployments","created_at":"2016-02-09T16:38:29Z","updated_at":"2016-02-09T16:38:36Z","pushed_at":"2016-02-09T17:00:19Z","git_url":"git://github.com/hdetering/DendroPy.git","ssh_url":"git@github.com:hdetering/DendroPy.git","clone_url":"https://github.com/hdetering/DendroPy.git","svn_url":"https://github.com/hdetering/DendroPy","homepage":"http://packages.python.org/DendroPy/","size":50260,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/hdetering/DendroPy/pulls/1"},"html":{"href":"https://github.com/hdetering/DendroPy/pull/1"},"issue":{"href":"https://api.github.com/repos/hdetering/DendroPy/issues/1"},"comments":{"href":"https://api.github.com/repos/hdetering/DendroPy/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/hdetering/DendroPy/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/hdetering/DendroPy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hdetering/DendroPy/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/hdetering/DendroPy/statuses/78e535f8a0fd5810a18b4b732497e3ec73c57ddd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hdetering","id":3660197,"avatar_url":"https://avatars.githubusercontent.com/u/3660197?v=3","gravatar_id":"","url":"https://api.github.com/users/hdetering","html_url":"https://github.com/hdetering","followers_url":"https://api.github.com/users/hdetering/followers","following_url":"https://api.github.com/users/hdetering/following{/other_user}","gists_url":"https://api.github.com/users/hdetering/gists{/gist_id}","starred_url":"https://api.github.com/users/hdetering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdetering/subscriptions","organizations_url":"https://api.github.com/users/hdetering/orgs","repos_url":"https://api.github.com/users/hdetering/repos","events_url":"https://api.github.com/users/hdetering/events{/privacy}","received_events_url":"https://api.github.com/users/hdetering/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}