{"action":"opened","number":803,"pull_request":{"url":"https://api.github.com/repos/biocore/scikit-bio/pulls/803","id":27143651,"html_url":"https://github.com/biocore/scikit-bio/pull/803","diff_url":"https://github.com/biocore/scikit-bio/pull/803.diff","patch_url":"https://github.com/biocore/scikit-bio/pull/803.patch","issue_url":"https://api.github.com/repos/biocore/scikit-bio/issues/803","number":803,"state":"open","locked":false,"title":"BUG: Fix floating point precision bugs in alignment and sequence frequency calculations","user":{"login":"jairideout","id":1847232,"avatar_url":"https://avatars.githubusercontent.com/u/1847232?v=3","gravatar_id":"","url":"https://api.github.com/users/jairideout","html_url":"https://github.com/jairideout","followers_url":"https://api.github.com/users/jairideout/followers","following_url":"https://api.github.com/users/jairideout/following{/other_user}","gists_url":"https://api.github.com/users/jairideout/gists{/gist_id}","starred_url":"https://api.github.com/users/jairideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairideout/subscriptions","organizations_url":"https://api.github.com/users/jairideout/orgs","repos_url":"https://api.github.com/users/jairideout/repos","events_url":"https://api.github.com/users/jairideout/events{/privacy}","received_events_url":"https://api.github.com/users/jairideout/received_events","type":"User","site_admin":false},"body":"Fixed floating point precision bugs in the following methods (and added unit tests):\r\n\r\n- ``Alignment.position_frequencies``\r\n- ``Alignment.position_entropies``\r\n- ``Alignment.omit_gap_positions``\r\n- ``Alignment.omit_gap_sequences``\r\n- ``BiologicalSequence.k_word_frequencies``\r\n- ``SequenceCollection.k_word_frequencies``\r\n\r\nAlso fixed the return types in ``BiologicalSequence.k_word_frequencies`` and ``SequenceCollection.k_word_frequencies`` to be `defaultdict(float)` instead of `defaultdict(int)`.\r\n\r\nRemoved unnecessary docstrings from `skbio/alignment/tests/test_alignment`.\r\n\r\nFixed a few documentation errors in `skbio/alignment/_alignment.py`.\r\n\r\nFixes #801.\r\n\r\n@gregcaporaso can you please review?","created_at":"2015-01-10T03:29:04Z","updated_at":"2015-01-10T03:29:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/803/commits","review_comments_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/803/comments","review_comment_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments/{number}","comments_url":"https://api.github.com/repos/biocore/scikit-bio/issues/803/comments","statuses_url":"https://api.github.com/repos/biocore/scikit-bio/statuses/3ccb91cef59ea015da37e1d7aa876020754ec541","head":{"label":"jairideout:issue-801","ref":"issue-801","sha":"3ccb91cef59ea015da37e1d7aa876020754ec541","user":{"login":"jairideout","id":1847232,"avatar_url":"https://avatars.githubusercontent.com/u/1847232?v=3","gravatar_id":"","url":"https://api.github.com/users/jairideout","html_url":"https://github.com/jairideout","followers_url":"https://api.github.com/users/jairideout/followers","following_url":"https://api.github.com/users/jairideout/following{/other_user}","gists_url":"https://api.github.com/users/jairideout/gists{/gist_id}","starred_url":"https://api.github.com/users/jairideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairideout/subscriptions","organizations_url":"https://api.github.com/users/jairideout/orgs","repos_url":"https://api.github.com/users/jairideout/repos","events_url":"https://api.github.com/users/jairideout/events{/privacy}","received_events_url":"https://api.github.com/users/jairideout/received_events","type":"User","site_admin":false},"repo":{"id":15536482,"name":"scikit-bio","full_name":"jairideout/scikit-bio","owner":{"login":"jairideout","id":1847232,"avatar_url":"https://avatars.githubusercontent.com/u/1847232?v=3","gravatar_id":"","url":"https://api.github.com/users/jairideout","html_url":"https://github.com/jairideout","followers_url":"https://api.github.com/users/jairideout/followers","following_url":"https://api.github.com/users/jairideout/following{/other_user}","gists_url":"https://api.github.com/users/jairideout/gists{/gist_id}","starred_url":"https://api.github.com/users/jairideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairideout/subscriptions","organizations_url":"https://api.github.com/users/jairideout/orgs","repos_url":"https://api.github.com/users/jairideout/repos","events_url":"https://api.github.com/users/jairideout/events{/privacy}","received_events_url":"https://api.github.com/users/jairideout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jairideout/scikit-bio","description":"Core objects, functions and statistics for working with biological data in Python.","fork":true,"url":"https://api.github.com/repos/jairideout/scikit-bio","forks_url":"https://api.github.com/repos/jairideout/scikit-bio/forks","keys_url":"https://api.github.com/repos/jairideout/scikit-bio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jairideout/scikit-bio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jairideout/scikit-bio/teams","hooks_url":"https://api.github.com/repos/jairideout/scikit-bio/hooks","issue_events_url":"https://api.github.com/repos/jairideout/scikit-bio/issues/events{/number}","events_url":"https://api.github.com/repos/jairideout/scikit-bio/events","assignees_url":"https://api.github.com/repos/jairideout/scikit-bio/assignees{/user}","branches_url":"https://api.github.com/repos/jairideout/scikit-bio/branches{/branch}","tags_url":"https://api.github.com/repos/jairideout/scikit-bio/tags","blobs_url":"https://api.github.com/repos/jairideout/scikit-bio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jairideout/scikit-bio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jairideout/scikit-bio/git/refs{/sha}","trees_url":"https://api.github.com/repos/jairideout/scikit-bio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jairideout/scikit-bio/statuses/{sha}","languages_url":"https://api.github.com/repos/jairideout/scikit-bio/languages","stargazers_url":"https://api.github.com/repos/jairideout/scikit-bio/stargazers","contributors_url":"https://api.github.com/repos/jairideout/scikit-bio/contributors","subscribers_url":"https://api.github.com/repos/jairideout/scikit-bio/subscribers","subscription_url":"https://api.github.com/repos/jairideout/scikit-bio/subscription","commits_url":"https://api.github.com/repos/jairideout/scikit-bio/commits{/sha}","git_commits_url":"https://api.github.com/repos/jairideout/scikit-bio/git/commits{/sha}","comments_url":"https://api.github.com/repos/jairideout/scikit-bio/comments{/number}","issue_comment_url":"https://api.github.com/repos/jairideout/scikit-bio/issues/comments/{number}","contents_url":"https://api.github.com/repos/jairideout/scikit-bio/contents/{+path}","compare_url":"https://api.github.com/repos/jairideout/scikit-bio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jairideout/scikit-bio/merges","archive_url":"https://api.github.com/repos/jairideout/scikit-bio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jairideout/scikit-bio/downloads","issues_url":"https://api.github.com/repos/jairideout/scikit-bio/issues{/number}","pulls_url":"https://api.github.com/repos/jairideout/scikit-bio/pulls{/number}","milestones_url":"https://api.github.com/repos/jairideout/scikit-bio/milestones{/number}","notifications_url":"https://api.github.com/repos/jairideout/scikit-bio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jairideout/scikit-bio/labels{/name}","releases_url":"https://api.github.com/repos/jairideout/scikit-bio/releases{/id}","created_at":"2013-12-30T20:58:41Z","updated_at":"2014-07-11T04:59:27Z","pushed_at":"2015-01-10T03:21:22Z","git_url":"git://github.com/jairideout/scikit-bio.git","ssh_url":"git@github.com:jairideout/scikit-bio.git","clone_url":"https://github.com/jairideout/scikit-bio.git","svn_url":"https://github.com/jairideout/scikit-bio","homepage":"https://github.com/biocore/scikit-bio","size":19904,"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":"biocore:master","ref":"master","sha":"7b60cc2727ae6300f040634d30442a8d9b372cf6","user":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"repo":{"id":15168264,"name":"scikit-bio","full_name":"biocore/scikit-bio","owner":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biocore/scikit-bio","description":"Core objects, functions and statistics for working with biological data in Python.","fork":false,"url":"https://api.github.com/repos/biocore/scikit-bio","forks_url":"https://api.github.com/repos/biocore/scikit-bio/forks","keys_url":"https://api.github.com/repos/biocore/scikit-bio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biocore/scikit-bio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biocore/scikit-bio/teams","hooks_url":"https://api.github.com/repos/biocore/scikit-bio/hooks","issue_events_url":"https://api.github.com/repos/biocore/scikit-bio/issues/events{/number}","events_url":"https://api.github.com/repos/biocore/scikit-bio/events","assignees_url":"https://api.github.com/repos/biocore/scikit-bio/assignees{/user}","branches_url":"https://api.github.com/repos/biocore/scikit-bio/branches{/branch}","tags_url":"https://api.github.com/repos/biocore/scikit-bio/tags","blobs_url":"https://api.github.com/repos/biocore/scikit-bio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biocore/scikit-bio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biocore/scikit-bio/git/refs{/sha}","trees_url":"https://api.github.com/repos/biocore/scikit-bio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biocore/scikit-bio/statuses/{sha}","languages_url":"https://api.github.com/repos/biocore/scikit-bio/languages","stargazers_url":"https://api.github.com/repos/biocore/scikit-bio/stargazers","contributors_url":"https://api.github.com/repos/biocore/scikit-bio/contributors","subscribers_url":"https://api.github.com/repos/biocore/scikit-bio/subscribers","subscription_url":"https://api.github.com/repos/biocore/scikit-bio/subscription","commits_url":"https://api.github.com/repos/biocore/scikit-bio/commits{/sha}","git_commits_url":"https://api.github.com/repos/biocore/scikit-bio/git/commits{/sha}","comments_url":"https://api.github.com/repos/biocore/scikit-bio/comments{/number}","issue_comment_url":"https://api.github.com/repos/biocore/scikit-bio/issues/comments/{number}","contents_url":"https://api.github.com/repos/biocore/scikit-bio/contents/{+path}","compare_url":"https://api.github.com/repos/biocore/scikit-bio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biocore/scikit-bio/merges","archive_url":"https://api.github.com/repos/biocore/scikit-bio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biocore/scikit-bio/downloads","issues_url":"https://api.github.com/repos/biocore/scikit-bio/issues{/number}","pulls_url":"https://api.github.com/repos/biocore/scikit-bio/pulls{/number}","milestones_url":"https://api.github.com/repos/biocore/scikit-bio/milestones{/number}","notifications_url":"https://api.github.com/repos/biocore/scikit-bio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biocore/scikit-bio/labels{/name}","releases_url":"https://api.github.com/repos/biocore/scikit-bio/releases{/id}","created_at":"2013-12-13T16:24:41Z","updated_at":"2015-01-07T03:11:43Z","pushed_at":"2014-12-27T23:35:35Z","git_url":"git://github.com/biocore/scikit-bio.git","ssh_url":"git@github.com:biocore/scikit-bio.git","clone_url":"https://github.com/biocore/scikit-bio.git","svn_url":"https://github.com/biocore/scikit-bio","homepage":"http://scikit-bio.org","size":34588,"stargazers_count":87,"watchers_count":87,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"open_issues_count":103,"forks":51,"open_issues":103,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/803"},"html":{"href":"https://github.com/biocore/scikit-bio/pull/803"},"issue":{"href":"https://api.github.com/repos/biocore/scikit-bio/issues/803"},"comments":{"href":"https://api.github.com/repos/biocore/scikit-bio/issues/803/comments"},"review_comments":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/803/comments"},"review_comment":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/803/commits"},"statuses":{"href":"https://api.github.com/repos/biocore/scikit-bio/statuses/3ccb91cef59ea015da37e1d7aa876020754ec541"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":141,"deletions":182,"changed_files":5}}