{"action":"created","comment":{"url":"https://api.github.com/repos/AIFDR/inasafe/pulls/comments/34664860","id":34664860,"diff_hunk":"@@ -144,13 +144,10 @@ def run(self):\n \n         displacement_rate = self.hardcoded_parameters['displacement_rate']\n \n-        # Extract input layers\n-        intensity = self.hazard\n-        population = self.exposure\n-\n         # Extract data grids\n-        hazard = intensity.get_data()   # Ground Shaking\n-        exposure = population.get_data(scaling=True)  # Population Density\n+        hazard = self.hazard.layer.get_data()   # Ground Shaking","path":"safe/impact_functions/earthquake/itb_earthquake_fatality_model/impact_function.py","position":11,"original_position":11,"commit_id":"0c816ff6d8c44665b216cbc6fa3a56bfe9649a6b","original_commit_id":"0c816ff6d8c44665b216cbc6fa3a56bfe9649a6b","user":{"login":"lucernae","id":831865,"avatar_url":"https://avatars.githubusercontent.com/u/831865?v=3","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"body":"Some part of the java world :) . hahaha...\r\nThis is just for discussion, but what about ```get_``` prefixes in global method, not as an object getter/setter? Is it also pythonic to leave the ```get_``` out?","created_at":"2015-07-15T10:18:56Z","updated_at":"2015-07-15T10:18:56Z","html_url":"https://github.com/AIFDR/inasafe/pull/2127#discussion_r34664860","pull_request_url":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127","_links":{"self":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/comments/34664860"},"html":{"href":"https://github.com/AIFDR/inasafe/pull/2127#discussion_r34664860"},"pull_request":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127"}}},"pull_request":{"url":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127","id":39886815,"html_url":"https://github.com/AIFDR/inasafe/pull/2127","diff_url":"https://github.com/AIFDR/inasafe/pull/2127.diff","patch_url":"https://github.com/AIFDR/inasafe/pull/2127.patch","issue_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2127","number":2127,"state":"open","locked":false,"title":"Safe layer migration","user":{"login":"ismailsunni","id":1421861,"avatar_url":"https://avatars.githubusercontent.com/u/1421861?v=3","gravatar_id":"","url":"https://api.github.com/users/ismailsunni","html_url":"https://github.com/ismailsunni","followers_url":"https://api.github.com/users/ismailsunni/followers","following_url":"https://api.github.com/users/ismailsunni/following{/other_user}","gists_url":"https://api.github.com/users/ismailsunni/gists{/gist_id}","starred_url":"https://api.github.com/users/ismailsunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismailsunni/subscriptions","organizations_url":"https://api.github.com/users/ismailsunni/orgs","repos_url":"https://api.github.com/users/ismailsunni/repos","events_url":"https://api.github.com/users/ismailsunni/events{/privacy}","received_events_url":"https://api.github.com/users/ismailsunni/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-14T06:55:50Z","updated_at":"2015-07-15T10:18:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21de4dec197739ffedb8cf8e4818c03ab15d85f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127/commits","review_comments_url":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127/comments","review_comment_url":"https://api.github.com/repos/AIFDR/inasafe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2127/comments","statuses_url":"https://api.github.com/repos/AIFDR/inasafe/statuses/0c816ff6d8c44665b216cbc6fa3a56bfe9649a6b","head":{"label":"ismailsunni:safe_layer_migration","ref":"safe_layer_migration","sha":"0c816ff6d8c44665b216cbc6fa3a56bfe9649a6b","user":{"login":"ismailsunni","id":1421861,"avatar_url":"https://avatars.githubusercontent.com/u/1421861?v=3","gravatar_id":"","url":"https://api.github.com/users/ismailsunni","html_url":"https://github.com/ismailsunni","followers_url":"https://api.github.com/users/ismailsunni/followers","following_url":"https://api.github.com/users/ismailsunni/following{/other_user}","gists_url":"https://api.github.com/users/ismailsunni/gists{/gist_id}","starred_url":"https://api.github.com/users/ismailsunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismailsunni/subscriptions","organizations_url":"https://api.github.com/users/ismailsunni/orgs","repos_url":"https://api.github.com/users/ismailsunni/repos","events_url":"https://api.github.com/users/ismailsunni/events{/privacy}","received_events_url":"https://api.github.com/users/ismailsunni/received_events","type":"User","site_admin":false},"repo":{"id":17427551,"name":"inasafe","full_name":"ismailsunni/inasafe","owner":{"login":"ismailsunni","id":1421861,"avatar_url":"https://avatars.githubusercontent.com/u/1421861?v=3","gravatar_id":"","url":"https://api.github.com/users/ismailsunni","html_url":"https://github.com/ismailsunni","followers_url":"https://api.github.com/users/ismailsunni/followers","following_url":"https://api.github.com/users/ismailsunni/following{/other_user}","gists_url":"https://api.github.com/users/ismailsunni/gists{/gist_id}","starred_url":"https://api.github.com/users/ismailsunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismailsunni/subscriptions","organizations_url":"https://api.github.com/users/ismailsunni/orgs","repos_url":"https://api.github.com/users/ismailsunni/repos","events_url":"https://api.github.com/users/ismailsunni/events{/privacy}","received_events_url":"https://api.github.com/users/ismailsunni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ismailsunni/inasafe","description":"InaSAFE - QGIS plugin for estimating impact from natural disasters","fork":true,"url":"https://api.github.com/repos/ismailsunni/inasafe","forks_url":"https://api.github.com/repos/ismailsunni/inasafe/forks","keys_url":"https://api.github.com/repos/ismailsunni/inasafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ismailsunni/inasafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ismailsunni/inasafe/teams","hooks_url":"https://api.github.com/repos/ismailsunni/inasafe/hooks","issue_events_url":"https://api.github.com/repos/ismailsunni/inasafe/issues/events{/number}","events_url":"https://api.github.com/repos/ismailsunni/inasafe/events","assignees_url":"https://api.github.com/repos/ismailsunni/inasafe/assignees{/user}","branches_url":"https://api.github.com/repos/ismailsunni/inasafe/branches{/branch}","tags_url":"https://api.github.com/repos/ismailsunni/inasafe/tags","blobs_url":"https://api.github.com/repos/ismailsunni/inasafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ismailsunni/inasafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ismailsunni/inasafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/ismailsunni/inasafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ismailsunni/inasafe/statuses/{sha}","languages_url":"https://api.github.com/repos/ismailsunni/inasafe/languages","stargazers_url":"https://api.github.com/repos/ismailsunni/inasafe/stargazers","contributors_url":"https://api.github.com/repos/ismailsunni/inasafe/contributors","subscribers_url":"https://api.github.com/repos/ismailsunni/inasafe/subscribers","subscription_url":"https://api.github.com/repos/ismailsunni/inasafe/subscription","commits_url":"https://api.github.com/repos/ismailsunni/inasafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/ismailsunni/inasafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/ismailsunni/inasafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/ismailsunni/inasafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/ismailsunni/inasafe/contents/{+path}","compare_url":"https://api.github.com/repos/ismailsunni/inasafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ismailsunni/inasafe/merges","archive_url":"https://api.github.com/repos/ismailsunni/inasafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ismailsunni/inasafe/downloads","issues_url":"https://api.github.com/repos/ismailsunni/inasafe/issues{/number}","pulls_url":"https://api.github.com/repos/ismailsunni/inasafe/pulls{/number}","milestones_url":"https://api.github.com/repos/ismailsunni/inasafe/milestones{/number}","notifications_url":"https://api.github.com/repos/ismailsunni/inasafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ismailsunni/inasafe/labels{/name}","releases_url":"https://api.github.com/repos/ismailsunni/inasafe/releases{/id}","created_at":"2014-03-05T04:07:33Z","updated_at":"2015-02-03T10:32:46Z","pushed_at":"2015-07-15T00:54:51Z","git_url":"git://github.com/ismailsunni/inasafe.git","ssh_url":"git@github.com:ismailsunni/inasafe.git","clone_url":"https://github.com/ismailsunni/inasafe.git","svn_url":"https://github.com/ismailsunni/inasafe","homepage":"www.inasafe.org","size":139838,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"AIFDR:develop","ref":"develop","sha":"76c8889264f66ecd88ebf02663085000b62a55a6","user":{"login":"AIFDR","id":582004,"avatar_url":"https://avatars.githubusercontent.com/u/582004?v=3","gravatar_id":"","url":"https://api.github.com/users/AIFDR","html_url":"https://github.com/AIFDR","followers_url":"https://api.github.com/users/AIFDR/followers","following_url":"https://api.github.com/users/AIFDR/following{/other_user}","gists_url":"https://api.github.com/users/AIFDR/gists{/gist_id}","starred_url":"https://api.github.com/users/AIFDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AIFDR/subscriptions","organizations_url":"https://api.github.com/users/AIFDR/orgs","repos_url":"https://api.github.com/users/AIFDR/repos","events_url":"https://api.github.com/users/AIFDR/events{/privacy}","received_events_url":"https://api.github.com/users/AIFDR/received_events","type":"Organization","site_admin":false},"repo":{"id":3135721,"name":"inasafe","full_name":"AIFDR/inasafe","owner":{"login":"AIFDR","id":582004,"avatar_url":"https://avatars.githubusercontent.com/u/582004?v=3","gravatar_id":"","url":"https://api.github.com/users/AIFDR","html_url":"https://github.com/AIFDR","followers_url":"https://api.github.com/users/AIFDR/followers","following_url":"https://api.github.com/users/AIFDR/following{/other_user}","gists_url":"https://api.github.com/users/AIFDR/gists{/gist_id}","starred_url":"https://api.github.com/users/AIFDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AIFDR/subscriptions","organizations_url":"https://api.github.com/users/AIFDR/orgs","repos_url":"https://api.github.com/users/AIFDR/repos","events_url":"https://api.github.com/users/AIFDR/events{/privacy}","received_events_url":"https://api.github.com/users/AIFDR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AIFDR/inasafe","description":"InaSAFE - QGIS plugin for estimating impact from natural disasters","fork":false,"url":"https://api.github.com/repos/AIFDR/inasafe","forks_url":"https://api.github.com/repos/AIFDR/inasafe/forks","keys_url":"https://api.github.com/repos/AIFDR/inasafe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AIFDR/inasafe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AIFDR/inasafe/teams","hooks_url":"https://api.github.com/repos/AIFDR/inasafe/hooks","issue_events_url":"https://api.github.com/repos/AIFDR/inasafe/issues/events{/number}","events_url":"https://api.github.com/repos/AIFDR/inasafe/events","assignees_url":"https://api.github.com/repos/AIFDR/inasafe/assignees{/user}","branches_url":"https://api.github.com/repos/AIFDR/inasafe/branches{/branch}","tags_url":"https://api.github.com/repos/AIFDR/inasafe/tags","blobs_url":"https://api.github.com/repos/AIFDR/inasafe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AIFDR/inasafe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AIFDR/inasafe/git/refs{/sha}","trees_url":"https://api.github.com/repos/AIFDR/inasafe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AIFDR/inasafe/statuses/{sha}","languages_url":"https://api.github.com/repos/AIFDR/inasafe/languages","stargazers_url":"https://api.github.com/repos/AIFDR/inasafe/stargazers","contributors_url":"https://api.github.com/repos/AIFDR/inasafe/contributors","subscribers_url":"https://api.github.com/repos/AIFDR/inasafe/subscribers","subscription_url":"https://api.github.com/repos/AIFDR/inasafe/subscription","commits_url":"https://api.github.com/repos/AIFDR/inasafe/commits{/sha}","git_commits_url":"https://api.github.com/repos/AIFDR/inasafe/git/commits{/sha}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/comments{/number}","issue_comment_url":"https://api.github.com/repos/AIFDR/inasafe/issues/comments{/number}","contents_url":"https://api.github.com/repos/AIFDR/inasafe/contents/{+path}","compare_url":"https://api.github.com/repos/AIFDR/inasafe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AIFDR/inasafe/merges","archive_url":"https://api.github.com/repos/AIFDR/inasafe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AIFDR/inasafe/downloads","issues_url":"https://api.github.com/repos/AIFDR/inasafe/issues{/number}","pulls_url":"https://api.github.com/repos/AIFDR/inasafe/pulls{/number}","milestones_url":"https://api.github.com/repos/AIFDR/inasafe/milestones{/number}","notifications_url":"https://api.github.com/repos/AIFDR/inasafe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AIFDR/inasafe/labels{/name}","releases_url":"https://api.github.com/repos/AIFDR/inasafe/releases{/id}","created_at":"2012-01-09T10:34:29Z","updated_at":"2015-06-24T23:09:40Z","pushed_at":"2015-07-15T00:54:51Z","git_url":"git://github.com/AIFDR/inasafe.git","ssh_url":"git@github.com:AIFDR/inasafe.git","clone_url":"https://github.com/AIFDR/inasafe.git","svn_url":"https://github.com/AIFDR/inasafe","homepage":"www.inasafe.org","size":159419,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":262,"forks":72,"open_issues":262,"watchers":71,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127"},"html":{"href":"https://github.com/AIFDR/inasafe/pull/2127"},"issue":{"href":"https://api.github.com/repos/AIFDR/inasafe/issues/2127"},"comments":{"href":"https://api.github.com/repos/AIFDR/inasafe/issues/2127/comments"},"review_comments":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127/comments"},"review_comment":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AIFDR/inasafe/pulls/2127/commits"},"statuses":{"href":"https://api.github.com/repos/AIFDR/inasafe/statuses/0c816ff6d8c44665b216cbc6fa3a56bfe9649a6b"}}}}