{"action":"created","comment":{"url":"https://api.github.com/repos/biota/sourcetracker2/pulls/comments/69192119","id":69192119,"diff_hunk":"@@ -961,6 +961,11 @@ def _gibbs(source_df, sink_df, alpha1, alpha2, beta, restarts,\n     >>> mp, mps = _gibbs(source_df, sink_df, alpha1, alpha2, beta, restarts,\n                          draws_per_restart, burnin, delay, cluster=c)\n     '''\n+    if source_df.isnull().any().any() or sink_df.isnull().any().any():","path":"sourcetracker/_sourcetracker.py","position":13,"original_position":13,"commit_id":"0e6f2d909aeef3a0a2b42e01ccad2a1351a6d8cc","original_commit_id":"0e6f2d909aeef3a0a2b42e01ccad2a1351a6d8cc","user":{"login":"johnchase","id":2243771,"avatar_url":"https://avatars.githubusercontent.com/u/2243771?v=3","gravatar_id":"","url":"https://api.github.com/users/johnchase","html_url":"https://github.com/johnchase","followers_url":"https://api.github.com/users/johnchase/followers","following_url":"https://api.github.com/users/johnchase/following{/other_user}","gists_url":"https://api.github.com/users/johnchase/gists{/gist_id}","starred_url":"https://api.github.com/users/johnchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnchase/subscriptions","organizations_url":"https://api.github.com/users/johnchase/orgs","repos_url":"https://api.github.com/users/johnchase/repos","events_url":"https://api.github.com/users/johnchase/events{/privacy}","received_events_url":"https://api.github.com/users/johnchase/received_events","type":"User","site_admin":false},"body":"`df.isnull().values.sum()` will be a bit faster. Probably a bit prematurely optimizing but it it's an easy change","created_at":"2016-06-30T19:08:43Z","updated_at":"2016-06-30T19:08:43Z","html_url":"https://github.com/biota/sourcetracker2/pull/47#discussion_r69192119","pull_request_url":"https://api.github.com/repos/biota/sourcetracker2/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/comments/69192119"},"html":{"href":"https://github.com/biota/sourcetracker2/pull/47#discussion_r69192119"},"pull_request":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/biota/sourcetracker2/pulls/47","id":75872230,"html_url":"https://github.com/biota/sourcetracker2/pull/47","diff_url":"https://github.com/biota/sourcetracker2/pull/47.diff","patch_url":"https://github.com/biota/sourcetracker2/pull/47.patch","issue_url":"https://api.github.com/repos/biota/sourcetracker2/issues/47","number":47,"state":"open","locked":false,"title":"Issue46","user":{"login":"wdwvt1","id":1048569,"avatar_url":"https://avatars.githubusercontent.com/u/1048569?v=3","gravatar_id":"","url":"https://api.github.com/users/wdwvt1","html_url":"https://github.com/wdwvt1","followers_url":"https://api.github.com/users/wdwvt1/followers","following_url":"https://api.github.com/users/wdwvt1/following{/other_user}","gists_url":"https://api.github.com/users/wdwvt1/gists{/gist_id}","starred_url":"https://api.github.com/users/wdwvt1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdwvt1/subscriptions","organizations_url":"https://api.github.com/users/wdwvt1/orgs","repos_url":"https://api.github.com/users/wdwvt1/repos","events_url":"https://api.github.com/users/wdwvt1/events{/privacy}","received_events_url":"https://api.github.com/users/wdwvt1/received_events","type":"User","site_admin":false},"body":"This should resolve #46. ","created_at":"2016-06-30T18:57:55Z","updated_at":"2016-06-30T19:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d9e23d35181305d53b0329521d6502e178fc18d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/biota/sourcetracker2/pulls/47/commits","review_comments_url":"https://api.github.com/repos/biota/sourcetracker2/pulls/47/comments","review_comment_url":"https://api.github.com/repos/biota/sourcetracker2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biota/sourcetracker2/issues/47/comments","statuses_url":"https://api.github.com/repos/biota/sourcetracker2/statuses/0e6f2d909aeef3a0a2b42e01ccad2a1351a6d8cc","head":{"label":"biota:issue46","ref":"issue46","sha":"0e6f2d909aeef3a0a2b42e01ccad2a1351a6d8cc","user":{"login":"biota","id":10524089,"avatar_url":"https://avatars.githubusercontent.com/u/10524089?v=3","gravatar_id":"","url":"https://api.github.com/users/biota","html_url":"https://github.com/biota","followers_url":"https://api.github.com/users/biota/followers","following_url":"https://api.github.com/users/biota/following{/other_user}","gists_url":"https://api.github.com/users/biota/gists{/gist_id}","starred_url":"https://api.github.com/users/biota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biota/subscriptions","organizations_url":"https://api.github.com/users/biota/orgs","repos_url":"https://api.github.com/users/biota/repos","events_url":"https://api.github.com/users/biota/events{/privacy}","received_events_url":"https://api.github.com/users/biota/received_events","type":"Organization","site_admin":false},"repo":{"id":54203418,"name":"sourcetracker2","full_name":"biota/sourcetracker2","owner":{"login":"biota","id":10524089,"avatar_url":"https://avatars.githubusercontent.com/u/10524089?v=3","gravatar_id":"","url":"https://api.github.com/users/biota","html_url":"https://github.com/biota","followers_url":"https://api.github.com/users/biota/followers","following_url":"https://api.github.com/users/biota/following{/other_user}","gists_url":"https://api.github.com/users/biota/gists{/gist_id}","starred_url":"https://api.github.com/users/biota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biota/subscriptions","organizations_url":"https://api.github.com/users/biota/orgs","repos_url":"https://api.github.com/users/biota/repos","events_url":"https://api.github.com/users/biota/events{/privacy}","received_events_url":"https://api.github.com/users/biota/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biota/sourcetracker2","description":"SourceTracker2","fork":false,"url":"https://api.github.com/repos/biota/sourcetracker2","forks_url":"https://api.github.com/repos/biota/sourcetracker2/forks","keys_url":"https://api.github.com/repos/biota/sourcetracker2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biota/sourcetracker2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biota/sourcetracker2/teams","hooks_url":"https://api.github.com/repos/biota/sourcetracker2/hooks","issue_events_url":"https://api.github.com/repos/biota/sourcetracker2/issues/events{/number}","events_url":"https://api.github.com/repos/biota/sourcetracker2/events","assignees_url":"https://api.github.com/repos/biota/sourcetracker2/assignees{/user}","branches_url":"https://api.github.com/repos/biota/sourcetracker2/branches{/branch}","tags_url":"https://api.github.com/repos/biota/sourcetracker2/tags","blobs_url":"https://api.github.com/repos/biota/sourcetracker2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biota/sourcetracker2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biota/sourcetracker2/git/refs{/sha}","trees_url":"https://api.github.com/repos/biota/sourcetracker2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biota/sourcetracker2/statuses/{sha}","languages_url":"https://api.github.com/repos/biota/sourcetracker2/languages","stargazers_url":"https://api.github.com/repos/biota/sourcetracker2/stargazers","contributors_url":"https://api.github.com/repos/biota/sourcetracker2/contributors","subscribers_url":"https://api.github.com/repos/biota/sourcetracker2/subscribers","subscription_url":"https://api.github.com/repos/biota/sourcetracker2/subscription","commits_url":"https://api.github.com/repos/biota/sourcetracker2/commits{/sha}","git_commits_url":"https://api.github.com/repos/biota/sourcetracker2/git/commits{/sha}","comments_url":"https://api.github.com/repos/biota/sourcetracker2/comments{/number}","issue_comment_url":"https://api.github.com/repos/biota/sourcetracker2/issues/comments{/number}","contents_url":"https://api.github.com/repos/biota/sourcetracker2/contents/{+path}","compare_url":"https://api.github.com/repos/biota/sourcetracker2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biota/sourcetracker2/merges","archive_url":"https://api.github.com/repos/biota/sourcetracker2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biota/sourcetracker2/downloads","issues_url":"https://api.github.com/repos/biota/sourcetracker2/issues{/number}","pulls_url":"https://api.github.com/repos/biota/sourcetracker2/pulls{/number}","milestones_url":"https://api.github.com/repos/biota/sourcetracker2/milestones{/number}","notifications_url":"https://api.github.com/repos/biota/sourcetracker2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biota/sourcetracker2/labels{/name}","releases_url":"https://api.github.com/repos/biota/sourcetracker2/releases{/id}","deployments_url":"https://api.github.com/repos/biota/sourcetracker2/deployments","created_at":"2016-03-18T13:33:48Z","updated_at":"2016-05-10T15:24:44Z","pushed_at":"2016-06-30T18:57:55Z","git_url":"git://github.com/biota/sourcetracker2.git","ssh_url":"git@github.com:biota/sourcetracker2.git","clone_url":"https://github.com/biota/sourcetracker2.git","svn_url":"https://github.com/biota/sourcetracker2","homepage":"","size":140,"stargazers_count":2,"watchers_count":2,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":24,"forks":3,"open_issues":24,"watchers":2,"default_branch":"master"}},"base":{"label":"biota:master","ref":"master","sha":"a7cbe058189832a75f44c07f9bce1371aa2eb3da","user":{"login":"biota","id":10524089,"avatar_url":"https://avatars.githubusercontent.com/u/10524089?v=3","gravatar_id":"","url":"https://api.github.com/users/biota","html_url":"https://github.com/biota","followers_url":"https://api.github.com/users/biota/followers","following_url":"https://api.github.com/users/biota/following{/other_user}","gists_url":"https://api.github.com/users/biota/gists{/gist_id}","starred_url":"https://api.github.com/users/biota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biota/subscriptions","organizations_url":"https://api.github.com/users/biota/orgs","repos_url":"https://api.github.com/users/biota/repos","events_url":"https://api.github.com/users/biota/events{/privacy}","received_events_url":"https://api.github.com/users/biota/received_events","type":"Organization","site_admin":false},"repo":{"id":54203418,"name":"sourcetracker2","full_name":"biota/sourcetracker2","owner":{"login":"biota","id":10524089,"avatar_url":"https://avatars.githubusercontent.com/u/10524089?v=3","gravatar_id":"","url":"https://api.github.com/users/biota","html_url":"https://github.com/biota","followers_url":"https://api.github.com/users/biota/followers","following_url":"https://api.github.com/users/biota/following{/other_user}","gists_url":"https://api.github.com/users/biota/gists{/gist_id}","starred_url":"https://api.github.com/users/biota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biota/subscriptions","organizations_url":"https://api.github.com/users/biota/orgs","repos_url":"https://api.github.com/users/biota/repos","events_url":"https://api.github.com/users/biota/events{/privacy}","received_events_url":"https://api.github.com/users/biota/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biota/sourcetracker2","description":"SourceTracker2","fork":false,"url":"https://api.github.com/repos/biota/sourcetracker2","forks_url":"https://api.github.com/repos/biota/sourcetracker2/forks","keys_url":"https://api.github.com/repos/biota/sourcetracker2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biota/sourcetracker2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biota/sourcetracker2/teams","hooks_url":"https://api.github.com/repos/biota/sourcetracker2/hooks","issue_events_url":"https://api.github.com/repos/biota/sourcetracker2/issues/events{/number}","events_url":"https://api.github.com/repos/biota/sourcetracker2/events","assignees_url":"https://api.github.com/repos/biota/sourcetracker2/assignees{/user}","branches_url":"https://api.github.com/repos/biota/sourcetracker2/branches{/branch}","tags_url":"https://api.github.com/repos/biota/sourcetracker2/tags","blobs_url":"https://api.github.com/repos/biota/sourcetracker2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biota/sourcetracker2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biota/sourcetracker2/git/refs{/sha}","trees_url":"https://api.github.com/repos/biota/sourcetracker2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biota/sourcetracker2/statuses/{sha}","languages_url":"https://api.github.com/repos/biota/sourcetracker2/languages","stargazers_url":"https://api.github.com/repos/biota/sourcetracker2/stargazers","contributors_url":"https://api.github.com/repos/biota/sourcetracker2/contributors","subscribers_url":"https://api.github.com/repos/biota/sourcetracker2/subscribers","subscription_url":"https://api.github.com/repos/biota/sourcetracker2/subscription","commits_url":"https://api.github.com/repos/biota/sourcetracker2/commits{/sha}","git_commits_url":"https://api.github.com/repos/biota/sourcetracker2/git/commits{/sha}","comments_url":"https://api.github.com/repos/biota/sourcetracker2/comments{/number}","issue_comment_url":"https://api.github.com/repos/biota/sourcetracker2/issues/comments{/number}","contents_url":"https://api.github.com/repos/biota/sourcetracker2/contents/{+path}","compare_url":"https://api.github.com/repos/biota/sourcetracker2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biota/sourcetracker2/merges","archive_url":"https://api.github.com/repos/biota/sourcetracker2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biota/sourcetracker2/downloads","issues_url":"https://api.github.com/repos/biota/sourcetracker2/issues{/number}","pulls_url":"https://api.github.com/repos/biota/sourcetracker2/pulls{/number}","milestones_url":"https://api.github.com/repos/biota/sourcetracker2/milestones{/number}","notifications_url":"https://api.github.com/repos/biota/sourcetracker2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biota/sourcetracker2/labels{/name}","releases_url":"https://api.github.com/repos/biota/sourcetracker2/releases{/id}","deployments_url":"https://api.github.com/repos/biota/sourcetracker2/deployments","created_at":"2016-03-18T13:33:48Z","updated_at":"2016-05-10T15:24:44Z","pushed_at":"2016-06-30T18:57:55Z","git_url":"git://github.com/biota/sourcetracker2.git","ssh_url":"git@github.com:biota/sourcetracker2.git","clone_url":"https://github.com/biota/sourcetracker2.git","svn_url":"https://github.com/biota/sourcetracker2","homepage":"","size":140,"stargazers_count":2,"watchers_count":2,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":24,"forks":3,"open_issues":24,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/47"},"html":{"href":"https://github.com/biota/sourcetracker2/pull/47"},"issue":{"href":"https://api.github.com/repos/biota/sourcetracker2/issues/47"},"comments":{"href":"https://api.github.com/repos/biota/sourcetracker2/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biota/sourcetracker2/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/biota/sourcetracker2/statuses/0e6f2d909aeef3a0a2b42e01ccad2a1351a6d8cc"}}}}
{"actor":{"display_login":"johnchase"}}