{"action":"created","comment":{"url":"https://api.github.com/repos/gem/oq-risklib/pulls/comments/30877720","id":30877720,"diff_hunk":"@@ -159,6 +159,9 @@ class ValidNode(LiteralNode):\n         nodalPlane=valid.nodal_plane,\n         occurRates=valid.positivefloats,\n         probs_occur=valid.pmf,\n+        weight=valid.probability,\n+        alongStrike=valid.probability,\n+        downDip=valid.probability,","path":"openquake/commonlib/nrml.py","position":6,"original_position":6,"commit_id":"1c0c44ee59987517588aea2d65911b1601ddace4","original_commit_id":"1c0c44ee59987517588aea2d65911b1601ddace4","user":{"login":"mmpagani","id":318811,"avatar_url":"https://avatars.githubusercontent.com/u/318811?v=3","gravatar_id":"","url":"https://api.github.com/users/mmpagani","html_url":"https://github.com/mmpagani","followers_url":"https://api.github.com/users/mmpagani/followers","following_url":"https://api.github.com/users/mmpagani/following{/other_user}","gists_url":"https://api.github.com/users/mmpagani/gists{/gist_id}","starred_url":"https://api.github.com/users/mmpagani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmpagani/subscriptions","organizations_url":"https://api.github.com/users/mmpagani/orgs","repos_url":"https://api.github.com/users/mmpagani/repos","events_url":"https://api.github.com/users/mmpagani/events{/privacy}","received_events_url":"https://api.github.com/users/mmpagani/received_events","type":"User","site_admin":false},"body":"Can you check if there's a validation for slip? I don't see it here.","created_at":"2015-05-22T08:34:24Z","updated_at":"2015-05-22T08:34:24Z","html_url":"https://github.com/gem/oq-risklib/pull/253#discussion_r30877720","pull_request_url":"https://api.github.com/repos/gem/oq-risklib/pulls/253","_links":{"self":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/comments/30877720"},"html":{"href":"https://github.com/gem/oq-risklib/pull/253#discussion_r30877720"},"pull_request":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/253"}}},"pull_request":{"url":"https://api.github.com/repos/gem/oq-risklib/pulls/253","id":35935730,"html_url":"https://github.com/gem/oq-risklib/pull/253","diff_url":"https://github.com/gem/oq-risklib/pull/253.diff","patch_url":"https://github.com/gem/oq-risklib/pull/253.patch","issue_url":"https://api.github.com/repos/gem/oq-risklib/issues/253","number":253,"state":"open","locked":false,"title":"Extend the XML representation for SimpleFaultSources to include the parameters needed for the directivity model","user":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"body":"See https://bugs.launchpad.net/oq-engine/+bug/1457489.\r\nThe tests are running here: https://ci.openquake.org/job/zdevel_oq-risklib/631","created_at":"2015-05-21T13:55:02Z","updated_at":"2015-05-22T08:34:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8bf2a61c61d82b0cd578e8f1a92513f4211e006","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-risklib/pulls/253/commits","review_comments_url":"https://api.github.com/repos/gem/oq-risklib/pulls/253/comments","review_comment_url":"https://api.github.com/repos/gem/oq-risklib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-risklib/issues/253/comments","statuses_url":"https://api.github.com/repos/gem/oq-risklib/statuses/1c0c44ee59987517588aea2d65911b1601ddace4","head":{"label":"gem:hypolist-sliplist","ref":"hypolist-sliplist","sha":"1c0c44ee59987517588aea2d65911b1601ddace4","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5856509,"name":"oq-risklib","full_name":"gem/oq-risklib","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-risklib","description":"OpenQuake Risk Library","fork":false,"url":"https://api.github.com/repos/gem/oq-risklib","forks_url":"https://api.github.com/repos/gem/oq-risklib/forks","keys_url":"https://api.github.com/repos/gem/oq-risklib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-risklib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-risklib/teams","hooks_url":"https://api.github.com/repos/gem/oq-risklib/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-risklib/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-risklib/events","assignees_url":"https://api.github.com/repos/gem/oq-risklib/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-risklib/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-risklib/tags","blobs_url":"https://api.github.com/repos/gem/oq-risklib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-risklib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-risklib/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-risklib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-risklib/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-risklib/languages","stargazers_url":"https://api.github.com/repos/gem/oq-risklib/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-risklib/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-risklib/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-risklib/subscription","commits_url":"https://api.github.com/repos/gem/oq-risklib/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-risklib/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-risklib/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-risklib/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-risklib/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-risklib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-risklib/merges","archive_url":"https://api.github.com/repos/gem/oq-risklib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-risklib/downloads","issues_url":"https://api.github.com/repos/gem/oq-risklib/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-risklib/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-risklib/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-risklib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-risklib/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-risklib/releases{/id}","created_at":"2012-09-18T13:07:14Z","updated_at":"2015-05-08T14:27:00Z","pushed_at":"2015-05-22T08:11:36Z","git_url":"git://github.com/gem/oq-risklib.git","ssh_url":"git@github.com:gem/oq-risklib.git","clone_url":"https://github.com/gem/oq-risklib.git","svn_url":"https://github.com/gem/oq-risklib","homepage":"http://www.globalquakemodel.org/openquake/","size":28802,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":8,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"b5deb395b4f1bdc5953537d8b192edfb6579a4a1","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5856509,"name":"oq-risklib","full_name":"gem/oq-risklib","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-risklib","description":"OpenQuake Risk Library","fork":false,"url":"https://api.github.com/repos/gem/oq-risklib","forks_url":"https://api.github.com/repos/gem/oq-risklib/forks","keys_url":"https://api.github.com/repos/gem/oq-risklib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-risklib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-risklib/teams","hooks_url":"https://api.github.com/repos/gem/oq-risklib/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-risklib/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-risklib/events","assignees_url":"https://api.github.com/repos/gem/oq-risklib/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-risklib/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-risklib/tags","blobs_url":"https://api.github.com/repos/gem/oq-risklib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-risklib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-risklib/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-risklib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-risklib/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-risklib/languages","stargazers_url":"https://api.github.com/repos/gem/oq-risklib/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-risklib/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-risklib/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-risklib/subscription","commits_url":"https://api.github.com/repos/gem/oq-risklib/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-risklib/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-risklib/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-risklib/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-risklib/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-risklib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-risklib/merges","archive_url":"https://api.github.com/repos/gem/oq-risklib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-risklib/downloads","issues_url":"https://api.github.com/repos/gem/oq-risklib/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-risklib/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-risklib/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-risklib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-risklib/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-risklib/releases{/id}","created_at":"2012-09-18T13:07:14Z","updated_at":"2015-05-08T14:27:00Z","pushed_at":"2015-05-22T08:11:36Z","git_url":"git://github.com/gem/oq-risklib.git","ssh_url":"git@github.com:gem/oq-risklib.git","clone_url":"https://github.com/gem/oq-risklib.git","svn_url":"https://github.com/gem/oq-risklib","homepage":"http://www.globalquakemodel.org/openquake/","size":28802,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/253"},"html":{"href":"https://github.com/gem/oq-risklib/pull/253"},"issue":{"href":"https://api.github.com/repos/gem/oq-risklib/issues/253"},"comments":{"href":"https://api.github.com/repos/gem/oq-risklib/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-risklib/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-risklib/statuses/1c0c44ee59987517588aea2d65911b1601ddace4"}}}}