GitHub PullRequestReviewCommentEvent at 2014-09-23 10:30:31
Repository: iris
Actor: esc24
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/iris/pulls/comments/17900907","id":17900907,"diff_hunk":"@@ -93,7 +101,16 @@ def lines(self):\n         msg = '\\tGenerating phenomenon translation {!r}.'\n         print msg.format(self.mapping_name)\n         lines = ['\\n%s = {\\n' % self.mapping_name]\n-        payload = [self.encode(mapping) for mapping in self.mappings]\n+\n+        for mapping in self.mappings:\n+            try:\n+                self.encode(mapping, fuseki_process)\n+            except Exception, e:\n+                import pdb; pdb.set_trace()","path":"tools/translator/__init__.py","position":63,"original_position":63,"commit_id":"e2726ccb7beb93c2f3bacfea3e30e5706596ee0c","original_commit_id":"e2726ccb7beb93c2f3bacfea3e30e5706596ee0c","user":{"login":"esc24","id":1634089,"avatar_url":"https://avatars.githubusercontent.com/u/1634089?v=2","gravatar_id":"","url":"https://api.github.com/users/esc24","html_url":"https://github.com/esc24","followers_url":"https://api.github.com/users/esc24/followers","following_url":"https://api.github.com/users/esc24/following{/other_user}","gists_url":"https://api.github.com/users/esc24/gists{/gist_id}","starred_url":"https://api.github.com/users/esc24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esc24/subscriptions","organizations_url":"https://api.github.com/users/esc24/orgs","repos_url":"https://api.github.com/users/esc24/repos","events_url":"https://api.github.com/users/esc24/events{/privacy}","received_events_url":"https://api.github.com/users/esc24/received_events","type":"User","site_admin":false},"body":"Leftover from debugging.","created_at":"2014-09-23T10:30:31Z","updated_at":"2014-09-23T10:30:31Z","html_url":"https://github.com/SciTools/iris/pull/1311#discussion_r17900907","pull_request_url":"https://api.github.com/repos/SciTools/iris/pulls/1311","_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/17900907"},"html":{"href":"https://github.com/SciTools/iris/pull/1311#discussion_r17900907"},"pull_request":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1311"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1311","id":21086751,"html_url":"https://github.com/SciTools/iris/pull/1311","diff_url":"https://github.com/SciTools/iris/pull/1311.diff","patch_url":"https://github.com/SciTools/iris/pull/1311.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1311","number":1311,"state":"open","locked":false,"title":"Metarelate Types","user":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=2","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"body":"Gen translations is updated to use the newly released Metarelate API.\r\n\r\nThis reproduces \r\niris.fileformats.um_cf_map \r\nand \r\niris.fileformats.grib._grib_cf_map\r\n\r\nwith one exception: a mistake in um_cf_map caused a line to be written twice, which should not occur; this pull request removes that repeat line","created_at":"2014-09-11T13:20:29Z","updated_at":"2014-09-23T10:30:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2e95a09251584ba32a21ea3a18478a7e78b7546","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/1311/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/1311/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1311/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/e2726ccb7beb93c2f3bacfea3e30e5706596ee0c","head":{"label":"marqh:mrtypes","ref":"mrtypes","sha":"e2726ccb7beb93c2f3bacfea3e30e5706596ee0c","user":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=2","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"repo":{"id":5371453,"name":"iris","full_name":"marqh/iris","owner":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=2","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marqh/iris","description":"","fork":true,"url":"https://api.github.com/repos/marqh/iris","forks_url":"https://api.github.com/repos/marqh/iris/forks","keys_url":"https://api.github.com/repos/marqh/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marqh/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marqh/iris/teams","hooks_url":"https://api.github.com/repos/marqh/iris/hooks","issue_events_url":"https://api.github.com/repos/marqh/iris/issues/events{/number}","events_url":"https://api.github.com/repos/marqh/iris/events","assignees_url":"https://api.github.com/repos/marqh/iris/assignees{/user}","branches_url":"https://api.github.com/repos/marqh/iris/branches{/branch}","tags_url":"https://api.github.com/repos/marqh/iris/tags","blobs_url":"https://api.github.com/repos/marqh/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marqh/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marqh/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/marqh/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marqh/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/marqh/iris/languages","stargazers_url":"https://api.github.com/repos/marqh/iris/stargazers","contributors_url":"https://api.github.com/repos/marqh/iris/contributors","subscribers_url":"https://api.github.com/repos/marqh/iris/subscribers","subscription_url":"https://api.github.com/repos/marqh/iris/subscription","commits_url":"https://api.github.com/repos/marqh/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/marqh/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/marqh/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/marqh/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/marqh/iris/contents/{+path}","compare_url":"https://api.github.com/repos/marqh/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marqh/iris/merges","archive_url":"https://api.github.com/repos/marqh/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marqh/iris/downloads","issues_url":"https://api.github.com/repos/marqh/iris/issues{/number}","pulls_url":"https://api.github.com/repos/marqh/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/marqh/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/marqh/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marqh/iris/labels{/name}","releases_url":"https://api.github.com/repos/marqh/iris/releases{/id}","created_at":"2012-08-10T16:11:56Z","updated_at":"2014-08-27T07:35:23Z","pushed_at":"2014-09-11T13:17:55Z","git_url":"git://github.com/marqh/iris.git","ssh_url":"git@github.com:marqh/iris.git","clone_url":"https://github.com/marqh/iris.git","svn_url":"https://github.com/marqh/iris","homepage":"http://scitools.github.com/iris","size":157964,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"1744b1623b5215353b4cb392592986967e85632f","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=2","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":5312648,"name":"iris","full_name":"SciTools/iris","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=2","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/iris","description":"A powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets.","fork":false,"url":"https://api.github.com/repos/SciTools/iris","forks_url":"https://api.github.com/repos/SciTools/iris/forks","keys_url":"https://api.github.com/repos/SciTools/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/iris/teams","hooks_url":"https://api.github.com/repos/SciTools/iris/hooks","issue_events_url":"https://api.github.com/repos/SciTools/iris/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/iris/events","assignees_url":"https://api.github.com/repos/SciTools/iris/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/iris/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/iris/tags","blobs_url":"https://api.github.com/repos/SciTools/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/iris/languages","stargazers_url":"https://api.github.com/repos/SciTools/iris/stargazers","contributors_url":"https://api.github.com/repos/SciTools/iris/contributors","subscribers_url":"https://api.github.com/repos/SciTools/iris/subscribers","subscription_url":"https://api.github.com/repos/SciTools/iris/subscription","commits_url":"https://api.github.com/repos/SciTools/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/SciTools/iris/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/iris/merges","archive_url":"https://api.github.com/repos/SciTools/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/iris/downloads","issues_url":"https://api.github.com/repos/SciTools/iris/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/iris/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/iris/releases{/id}","created_at":"2012-08-06T10:09:14Z","updated_at":"2014-09-03T15:45:46Z","pushed_at":"2014-09-22T11:00:48Z","git_url":"git://github.com/SciTools/iris.git","ssh_url":"git@github.com:SciTools/iris.git","clone_url":"https://github.com/SciTools/iris.git","svn_url":"https://github.com/SciTools/iris","homepage":"http://scitools.org.uk/iris/","size":144285,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":143,"forks":61,"open_issues":143,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1311"},"html":{"href":"https://github.com/SciTools/iris/pull/1311"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/1311"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/1311/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1311/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1311/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/e2726ccb7beb93c2f3bacfea3e30e5706596ee0c"}}}}