{"action":"created","comment":{"url":"https://api.github.com/repos/UT-CHG/BET/pulls/comments/57085722","id":57085722,"diff_hunk":"@@ -101,6 +114,68 @@ def set_kdtree(self):\n     def get_kdtree(self):\n         return self._kdtree\n \n+    def set_values_local(self, values_local):\n+        self._values_local = values_local\n+        pass\n+        \n+    def get_values_local(self):\n+        return self._values_local\n+\n+    def set_volumes_local(self, volumes_local):\n+        self._volumes_local = volumes_local\n+        pass\n+\n+    def get_volumes_local(self):\n+        return self._volumes_local\n+\n+    def set_probabilities_local(self, probabilities_local):\n+        self._probabilities_local = probabilities_local\n+        pass\n+\n+    def get_probabilities_local(self):\n+        return self._probabilities_local\n+\n+    def set_jacobians_local(self, jacobians_local):\n+        self._jacobians_local = jacobians_local\n+        pass\n+\n+    def get_jacobians_local(self):\n+        return self._jacobians_local\n+\n+    def set_error_estimates_local(self, error_estimates_local):\n+        self._error_estimates_local = error_estimates_local\n+        pass\n+\n+    def get_error_estimates_local(self):\n+        return self._error_estimates_local\n+\n+    def local_to_global(self):\n+        num = self.check_num_local()\n+        local = comm.rank*np.ones((num,), dytpe='np.int')","path":"bet/sample.py","position":76,"original_position":76,"commit_id":"08000bea1343baa3823dcf888d9d1c762a83c4b1","original_commit_id":"08000bea1343baa3823dcf888d9d1c762a83c4b1","user":{"login":"lcgraham","id":3008749,"avatar_url":"https://avatars.githubusercontent.com/u/3008749?v=3","gravatar_id":"","url":"https://api.github.com/users/lcgraham","html_url":"https://github.com/lcgraham","followers_url":"https://api.github.com/users/lcgraham/followers","following_url":"https://api.github.com/users/lcgraham/following{/other_user}","gists_url":"https://api.github.com/users/lcgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/lcgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcgraham/subscriptions","organizations_url":"https://api.github.com/users/lcgraham/orgs","repos_url":"https://api.github.com/users/lcgraham/repos","events_url":"https://api.github.com/users/lcgraham/events{/privacy}","received_events_url":"https://api.github.com/users/lcgraham/received_events","type":"User","site_admin":false},"body":"Here local has no way of knowing what the global_num is. Do we really need to make self._local_index here? It doesn't seem to make sense.","created_at":"2016-03-22T23:10:02Z","updated_at":"2016-03-22T23:10:02Z","html_url":"https://github.com/UT-CHG/BET/pull/168#discussion_r57085722","pull_request_url":"https://api.github.com/repos/UT-CHG/BET/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/comments/57085722"},"html":{"href":"https://github.com/UT-CHG/BET/pull/168#discussion_r57085722"},"pull_request":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/UT-CHG/BET/pulls/168","id":63804385,"html_url":"https://github.com/UT-CHG/BET/pull/168","diff_url":"https://github.com/UT-CHG/BET/pull/168.diff","patch_url":"https://github.com/UT-CHG/BET/pull/168.patch","issue_url":"https://api.github.com/repos/UT-CHG/BET/issues/168","number":168,"state":"open","locked":false,"title":"adds parallelism to sample.py","user":{"login":"smattis","id":997385,"avatar_url":"https://avatars.githubusercontent.com/u/997385?v=3","gravatar_id":"","url":"https://api.github.com/users/smattis","html_url":"https://github.com/smattis","followers_url":"https://api.github.com/users/smattis/followers","following_url":"https://api.github.com/users/smattis/following{/other_user}","gists_url":"https://api.github.com/users/smattis/gists{/gist_id}","starred_url":"https://api.github.com/users/smattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smattis/subscriptions","organizations_url":"https://api.github.com/users/smattis/orgs","repos_url":"https://api.github.com/users/smattis/repos","events_url":"https://api.github.com/users/smattis/events{/privacy}","received_events_url":"https://api.github.com/users/smattis/received_events","type":"User","site_admin":false},"body":"Adds localization to sample.py for parallelism.","created_at":"2016-03-22T22:34:29Z","updated_at":"2016-03-22T23:10:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a626698f1ffa2c81aad2d756a98f96df41cc9d1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UT-CHG/BET/pulls/168/commits","review_comments_url":"https://api.github.com/repos/UT-CHG/BET/pulls/168/comments","review_comment_url":"https://api.github.com/repos/UT-CHG/BET/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UT-CHG/BET/issues/168/comments","statuses_url":"https://api.github.com/repos/UT-CHG/BET/statuses/08000bea1343baa3823dcf888d9d1c762a83c4b1","head":{"label":"smattis:v2_master2","ref":"v2_master2","sha":"08000bea1343baa3823dcf888d9d1c762a83c4b1","user":{"login":"smattis","id":997385,"avatar_url":"https://avatars.githubusercontent.com/u/997385?v=3","gravatar_id":"","url":"https://api.github.com/users/smattis","html_url":"https://github.com/smattis","followers_url":"https://api.github.com/users/smattis/followers","following_url":"https://api.github.com/users/smattis/following{/other_user}","gists_url":"https://api.github.com/users/smattis/gists{/gist_id}","starred_url":"https://api.github.com/users/smattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smattis/subscriptions","organizations_url":"https://api.github.com/users/smattis/orgs","repos_url":"https://api.github.com/users/smattis/repos","events_url":"https://api.github.com/users/smattis/events{/privacy}","received_events_url":"https://api.github.com/users/smattis/received_events","type":"User","site_admin":false},"repo":{"id":31750830,"name":"BET-1","full_name":"smattis/BET-1","owner":{"login":"smattis","id":997385,"avatar_url":"https://avatars.githubusercontent.com/u/997385?v=3","gravatar_id":"","url":"https://api.github.com/users/smattis","html_url":"https://github.com/smattis","followers_url":"https://api.github.com/users/smattis/followers","following_url":"https://api.github.com/users/smattis/following{/other_user}","gists_url":"https://api.github.com/users/smattis/gists{/gist_id}","starred_url":"https://api.github.com/users/smattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smattis/subscriptions","organizations_url":"https://api.github.com/users/smattis/orgs","repos_url":"https://api.github.com/users/smattis/repos","events_url":"https://api.github.com/users/smattis/events{/privacy}","received_events_url":"https://api.github.com/users/smattis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smattis/BET-1","description":"Butler, Estep, Tavener Method - A python based package for measure-theoretic stochastic inverse and forward problems.","fork":true,"url":"https://api.github.com/repos/smattis/BET-1","forks_url":"https://api.github.com/repos/smattis/BET-1/forks","keys_url":"https://api.github.com/repos/smattis/BET-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smattis/BET-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smattis/BET-1/teams","hooks_url":"https://api.github.com/repos/smattis/BET-1/hooks","issue_events_url":"https://api.github.com/repos/smattis/BET-1/issues/events{/number}","events_url":"https://api.github.com/repos/smattis/BET-1/events","assignees_url":"https://api.github.com/repos/smattis/BET-1/assignees{/user}","branches_url":"https://api.github.com/repos/smattis/BET-1/branches{/branch}","tags_url":"https://api.github.com/repos/smattis/BET-1/tags","blobs_url":"https://api.github.com/repos/smattis/BET-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smattis/BET-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smattis/BET-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/smattis/BET-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smattis/BET-1/statuses/{sha}","languages_url":"https://api.github.com/repos/smattis/BET-1/languages","stargazers_url":"https://api.github.com/repos/smattis/BET-1/stargazers","contributors_url":"https://api.github.com/repos/smattis/BET-1/contributors","subscribers_url":"https://api.github.com/repos/smattis/BET-1/subscribers","subscription_url":"https://api.github.com/repos/smattis/BET-1/subscription","commits_url":"https://api.github.com/repos/smattis/BET-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/smattis/BET-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/smattis/BET-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/smattis/BET-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/smattis/BET-1/contents/{+path}","compare_url":"https://api.github.com/repos/smattis/BET-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smattis/BET-1/merges","archive_url":"https://api.github.com/repos/smattis/BET-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smattis/BET-1/downloads","issues_url":"https://api.github.com/repos/smattis/BET-1/issues{/number}","pulls_url":"https://api.github.com/repos/smattis/BET-1/pulls{/number}","milestones_url":"https://api.github.com/repos/smattis/BET-1/milestones{/number}","notifications_url":"https://api.github.com/repos/smattis/BET-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smattis/BET-1/labels{/name}","releases_url":"https://api.github.com/repos/smattis/BET-1/releases{/id}","deployments_url":"https://api.github.com/repos/smattis/BET-1/deployments","created_at":"2015-03-06T03:31:06Z","updated_at":"2015-04-06T17:05:23Z","pushed_at":"2016-03-22T22:51:36Z","git_url":"git://github.com/smattis/BET-1.git","ssh_url":"git@github.com:smattis/BET-1.git","clone_url":"https://github.com/smattis/BET-1.git","svn_url":"https://github.com/smattis/BET-1","homepage":"http://ut-chg.github.io/BET","size":37977,"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":"UT-CHG:v2_master","ref":"v2_master","sha":"ceddb662879a6640ae0e4ed448411a9784449956","user":{"login":"UT-CHG","id":8753973,"avatar_url":"https://avatars.githubusercontent.com/u/8753973?v=3","gravatar_id":"","url":"https://api.github.com/users/UT-CHG","html_url":"https://github.com/UT-CHG","followers_url":"https://api.github.com/users/UT-CHG/followers","following_url":"https://api.github.com/users/UT-CHG/following{/other_user}","gists_url":"https://api.github.com/users/UT-CHG/gists{/gist_id}","starred_url":"https://api.github.com/users/UT-CHG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UT-CHG/subscriptions","organizations_url":"https://api.github.com/users/UT-CHG/orgs","repos_url":"https://api.github.com/users/UT-CHG/repos","events_url":"https://api.github.com/users/UT-CHG/events{/privacy}","received_events_url":"https://api.github.com/users/UT-CHG/received_events","type":"Organization","site_admin":false},"repo":{"id":18813599,"name":"BET","full_name":"UT-CHG/BET","owner":{"login":"UT-CHG","id":8753973,"avatar_url":"https://avatars.githubusercontent.com/u/8753973?v=3","gravatar_id":"","url":"https://api.github.com/users/UT-CHG","html_url":"https://github.com/UT-CHG","followers_url":"https://api.github.com/users/UT-CHG/followers","following_url":"https://api.github.com/users/UT-CHG/following{/other_user}","gists_url":"https://api.github.com/users/UT-CHG/gists{/gist_id}","starred_url":"https://api.github.com/users/UT-CHG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UT-CHG/subscriptions","organizations_url":"https://api.github.com/users/UT-CHG/orgs","repos_url":"https://api.github.com/users/UT-CHG/repos","events_url":"https://api.github.com/users/UT-CHG/events{/privacy}","received_events_url":"https://api.github.com/users/UT-CHG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UT-CHG/BET","description":"Butler, Estep, Tavener Method - A python based package for measure-theoretic stochastic inverse and forward problems.","fork":false,"url":"https://api.github.com/repos/UT-CHG/BET","forks_url":"https://api.github.com/repos/UT-CHG/BET/forks","keys_url":"https://api.github.com/repos/UT-CHG/BET/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UT-CHG/BET/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UT-CHG/BET/teams","hooks_url":"https://api.github.com/repos/UT-CHG/BET/hooks","issue_events_url":"https://api.github.com/repos/UT-CHG/BET/issues/events{/number}","events_url":"https://api.github.com/repos/UT-CHG/BET/events","assignees_url":"https://api.github.com/repos/UT-CHG/BET/assignees{/user}","branches_url":"https://api.github.com/repos/UT-CHG/BET/branches{/branch}","tags_url":"https://api.github.com/repos/UT-CHG/BET/tags","blobs_url":"https://api.github.com/repos/UT-CHG/BET/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UT-CHG/BET/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UT-CHG/BET/git/refs{/sha}","trees_url":"https://api.github.com/repos/UT-CHG/BET/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UT-CHG/BET/statuses/{sha}","languages_url":"https://api.github.com/repos/UT-CHG/BET/languages","stargazers_url":"https://api.github.com/repos/UT-CHG/BET/stargazers","contributors_url":"https://api.github.com/repos/UT-CHG/BET/contributors","subscribers_url":"https://api.github.com/repos/UT-CHG/BET/subscribers","subscription_url":"https://api.github.com/repos/UT-CHG/BET/subscription","commits_url":"https://api.github.com/repos/UT-CHG/BET/commits{/sha}","git_commits_url":"https://api.github.com/repos/UT-CHG/BET/git/commits{/sha}","comments_url":"https://api.github.com/repos/UT-CHG/BET/comments{/number}","issue_comment_url":"https://api.github.com/repos/UT-CHG/BET/issues/comments{/number}","contents_url":"https://api.github.com/repos/UT-CHG/BET/contents/{+path}","compare_url":"https://api.github.com/repos/UT-CHG/BET/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UT-CHG/BET/merges","archive_url":"https://api.github.com/repos/UT-CHG/BET/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UT-CHG/BET/downloads","issues_url":"https://api.github.com/repos/UT-CHG/BET/issues{/number}","pulls_url":"https://api.github.com/repos/UT-CHG/BET/pulls{/number}","milestones_url":"https://api.github.com/repos/UT-CHG/BET/milestones{/number}","notifications_url":"https://api.github.com/repos/UT-CHG/BET/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UT-CHG/BET/labels{/name}","releases_url":"https://api.github.com/repos/UT-CHG/BET/releases{/id}","deployments_url":"https://api.github.com/repos/UT-CHG/BET/deployments","created_at":"2014-04-15T19:51:31Z","updated_at":"2016-02-01T08:05:19Z","pushed_at":"2016-03-22T22:51:37Z","git_url":"git://github.com/UT-CHG/BET.git","ssh_url":"git@github.com:UT-CHG/BET.git","clone_url":"https://github.com/UT-CHG/BET.git","svn_url":"https://github.com/UT-CHG/BET","homepage":"http://ut-chg.github.io/BET","size":8948,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":15,"forks":10,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/168"},"html":{"href":"https://github.com/UT-CHG/BET/pull/168"},"issue":{"href":"https://api.github.com/repos/UT-CHG/BET/issues/168"},"comments":{"href":"https://api.github.com/repos/UT-CHG/BET/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UT-CHG/BET/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/UT-CHG/BET/statuses/08000bea1343baa3823dcf888d9d1c762a83c4b1"}}}}