{"action":"created","comment":{"url":"https://api.github.com/repos/ontohub/ontohub/pulls/comments/53317262","id":53317262,"diff_hunk":"@@ -18,7 +18,9 @@ def index\n     if ontology && (ontology.is?('OWL2') || ontology.is?('OWL'))\n       begin\n         symbols = ontology.symbol_groups\n+        extra_notes = ontology.symbol_groups.where('id NOT IN (SELECT DISTINCT(parent_id) FROM e_edges UNION SELECT DISTINCT(child_id) FROM e_edges)')","path":"app/controllers/symbols_controller.rb","position":4,"original_position":4,"commit_id":"769e9e12ef7af653bef900e51283e5f2d6d28f60","original_commit_id":"769e9e12ef7af653bef900e51283e5f2d6d28f60","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [150/80]","created_at":"2016-02-18T14:07:38Z","updated_at":"2016-02-18T14:07:38Z","html_url":"https://github.com/ontohub/ontohub/pull/1600#discussion_r53317262","pull_request_url":"https://api.github.com/repos/ontohub/ontohub/pulls/1600","_links":{"self":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/comments/53317262"},"html":{"href":"https://github.com/ontohub/ontohub/pull/1600#discussion_r53317262"},"pull_request":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/1600"}}},"pull_request":{"url":"https://api.github.com/repos/ontohub/ontohub/pulls/1600","id":59802974,"html_url":"https://github.com/ontohub/ontohub/pull/1600","diff_url":"https://github.com/ontohub/ontohub/pull/1600.diff","patch_url":"https://github.com/ontohub/ontohub/pull/1600.patch","issue_url":"https://api.github.com/repos/ontohub/ontohub/issues/1600","number":1600,"state":"open","locked":false,"title":"1184 wrong class hierachy tree is displayed","user":{"login":"SGraef","id":630027,"avatar_url":"https://avatars.githubusercontent.com/u/630027?v=3","gravatar_id":"","url":"https://api.github.com/users/SGraef","html_url":"https://github.com/SGraef","followers_url":"https://api.github.com/users/SGraef/followers","following_url":"https://api.github.com/users/SGraef/following{/other_user}","gists_url":"https://api.github.com/users/SGraef/gists{/gist_id}","starred_url":"https://api.github.com/users/SGraef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SGraef/subscriptions","organizations_url":"https://api.github.com/users/SGraef/orgs","repos_url":"https://api.github.com/users/SGraef/repos","events_url":"https://api.github.com/users/SGraef/events{/privacy}","received_events_url":"https://api.github.com/users/SGraef/received_events","type":"User","site_admin":false},"body":"should fix #1184 ","created_at":"2016-02-18T14:07:31Z","updated_at":"2016-02-18T14:07:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f8bd26e7c904cba77071d6750edce3c6740d78a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ontohub/ontohub/pulls/1600/commits","review_comments_url":"https://api.github.com/repos/ontohub/ontohub/pulls/1600/comments","review_comment_url":"https://api.github.com/repos/ontohub/ontohub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ontohub/ontohub/issues/1600/comments","statuses_url":"https://api.github.com/repos/ontohub/ontohub/statuses/769e9e12ef7af653bef900e51283e5f2d6d28f60","head":{"label":"ontohub:1184-wrong_class_hierachy_tree_is_displayed","ref":"1184-wrong_class_hierachy_tree_is_displayed","sha":"769e9e12ef7af653bef900e51283e5f2d6d28f60","user":{"login":"ontohub","id":1575984,"avatar_url":"https://avatars.githubusercontent.com/u/1575984?v=3","gravatar_id":"","url":"https://api.github.com/users/ontohub","html_url":"https://github.com/ontohub","followers_url":"https://api.github.com/users/ontohub/followers","following_url":"https://api.github.com/users/ontohub/following{/other_user}","gists_url":"https://api.github.com/users/ontohub/gists{/gist_id}","starred_url":"https://api.github.com/users/ontohub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontohub/subscriptions","organizations_url":"https://api.github.com/users/ontohub/orgs","repos_url":"https://api.github.com/users/ontohub/repos","events_url":"https://api.github.com/users/ontohub/events{/privacy}","received_events_url":"https://api.github.com/users/ontohub/received_events","type":"Organization","site_admin":false},"repo":{"id":3643206,"name":"ontohub","full_name":"ontohub/ontohub","owner":{"login":"ontohub","id":1575984,"avatar_url":"https://avatars.githubusercontent.com/u/1575984?v=3","gravatar_id":"","url":"https://api.github.com/users/ontohub","html_url":"https://github.com/ontohub","followers_url":"https://api.github.com/users/ontohub/followers","following_url":"https://api.github.com/users/ontohub/following{/other_user}","gists_url":"https://api.github.com/users/ontohub/gists{/gist_id}","starred_url":"https://api.github.com/users/ontohub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontohub/subscriptions","organizations_url":"https://api.github.com/users/ontohub/orgs","repos_url":"https://api.github.com/users/ontohub/repos","events_url":"https://api.github.com/users/ontohub/events{/privacy}","received_events_url":"https://api.github.com/users/ontohub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ontohub/ontohub","description":"A web-based repository for distributed ontologies.","fork":false,"url":"https://api.github.com/repos/ontohub/ontohub","forks_url":"https://api.github.com/repos/ontohub/ontohub/forks","keys_url":"https://api.github.com/repos/ontohub/ontohub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ontohub/ontohub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ontohub/ontohub/teams","hooks_url":"https://api.github.com/repos/ontohub/ontohub/hooks","issue_events_url":"https://api.github.com/repos/ontohub/ontohub/issues/events{/number}","events_url":"https://api.github.com/repos/ontohub/ontohub/events","assignees_url":"https://api.github.com/repos/ontohub/ontohub/assignees{/user}","branches_url":"https://api.github.com/repos/ontohub/ontohub/branches{/branch}","tags_url":"https://api.github.com/repos/ontohub/ontohub/tags","blobs_url":"https://api.github.com/repos/ontohub/ontohub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ontohub/ontohub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ontohub/ontohub/git/refs{/sha}","trees_url":"https://api.github.com/repos/ontohub/ontohub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ontohub/ontohub/statuses/{sha}","languages_url":"https://api.github.com/repos/ontohub/ontohub/languages","stargazers_url":"https://api.github.com/repos/ontohub/ontohub/stargazers","contributors_url":"https://api.github.com/repos/ontohub/ontohub/contributors","subscribers_url":"https://api.github.com/repos/ontohub/ontohub/subscribers","subscription_url":"https://api.github.com/repos/ontohub/ontohub/subscription","commits_url":"https://api.github.com/repos/ontohub/ontohub/commits{/sha}","git_commits_url":"https://api.github.com/repos/ontohub/ontohub/git/commits{/sha}","comments_url":"https://api.github.com/repos/ontohub/ontohub/comments{/number}","issue_comment_url":"https://api.github.com/repos/ontohub/ontohub/issues/comments{/number}","contents_url":"https://api.github.com/repos/ontohub/ontohub/contents/{+path}","compare_url":"https://api.github.com/repos/ontohub/ontohub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ontohub/ontohub/merges","archive_url":"https://api.github.com/repos/ontohub/ontohub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ontohub/ontohub/downloads","issues_url":"https://api.github.com/repos/ontohub/ontohub/issues{/number}","pulls_url":"https://api.github.com/repos/ontohub/ontohub/pulls{/number}","milestones_url":"https://api.github.com/repos/ontohub/ontohub/milestones{/number}","notifications_url":"https://api.github.com/repos/ontohub/ontohub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ontohub/ontohub/labels{/name}","releases_url":"https://api.github.com/repos/ontohub/ontohub/releases{/id}","deployments_url":"https://api.github.com/repos/ontohub/ontohub/deployments","created_at":"2012-03-06T22:05:27Z","updated_at":"2016-02-05T09:48:25Z","pushed_at":"2016-02-18T14:07:32Z","git_url":"git://github.com/ontohub/ontohub.git","ssh_url":"git@github.com:ontohub/ontohub.git","clone_url":"https://github.com/ontohub/ontohub.git","svn_url":"https://github.com/ontohub/ontohub","homepage":"","size":20785,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":309,"forks":6,"open_issues":309,"watchers":21,"default_branch":"staging"}},"base":{"label":"ontohub:staging","ref":"staging","sha":"04fdd336a3a9791165561bf589cbba0c1c046630","user":{"login":"ontohub","id":1575984,"avatar_url":"https://avatars.githubusercontent.com/u/1575984?v=3","gravatar_id":"","url":"https://api.github.com/users/ontohub","html_url":"https://github.com/ontohub","followers_url":"https://api.github.com/users/ontohub/followers","following_url":"https://api.github.com/users/ontohub/following{/other_user}","gists_url":"https://api.github.com/users/ontohub/gists{/gist_id}","starred_url":"https://api.github.com/users/ontohub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontohub/subscriptions","organizations_url":"https://api.github.com/users/ontohub/orgs","repos_url":"https://api.github.com/users/ontohub/repos","events_url":"https://api.github.com/users/ontohub/events{/privacy}","received_events_url":"https://api.github.com/users/ontohub/received_events","type":"Organization","site_admin":false},"repo":{"id":3643206,"name":"ontohub","full_name":"ontohub/ontohub","owner":{"login":"ontohub","id":1575984,"avatar_url":"https://avatars.githubusercontent.com/u/1575984?v=3","gravatar_id":"","url":"https://api.github.com/users/ontohub","html_url":"https://github.com/ontohub","followers_url":"https://api.github.com/users/ontohub/followers","following_url":"https://api.github.com/users/ontohub/following{/other_user}","gists_url":"https://api.github.com/users/ontohub/gists{/gist_id}","starred_url":"https://api.github.com/users/ontohub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontohub/subscriptions","organizations_url":"https://api.github.com/users/ontohub/orgs","repos_url":"https://api.github.com/users/ontohub/repos","events_url":"https://api.github.com/users/ontohub/events{/privacy}","received_events_url":"https://api.github.com/users/ontohub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ontohub/ontohub","description":"A web-based repository for distributed ontologies.","fork":false,"url":"https://api.github.com/repos/ontohub/ontohub","forks_url":"https://api.github.com/repos/ontohub/ontohub/forks","keys_url":"https://api.github.com/repos/ontohub/ontohub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ontohub/ontohub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ontohub/ontohub/teams","hooks_url":"https://api.github.com/repos/ontohub/ontohub/hooks","issue_events_url":"https://api.github.com/repos/ontohub/ontohub/issues/events{/number}","events_url":"https://api.github.com/repos/ontohub/ontohub/events","assignees_url":"https://api.github.com/repos/ontohub/ontohub/assignees{/user}","branches_url":"https://api.github.com/repos/ontohub/ontohub/branches{/branch}","tags_url":"https://api.github.com/repos/ontohub/ontohub/tags","blobs_url":"https://api.github.com/repos/ontohub/ontohub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ontohub/ontohub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ontohub/ontohub/git/refs{/sha}","trees_url":"https://api.github.com/repos/ontohub/ontohub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ontohub/ontohub/statuses/{sha}","languages_url":"https://api.github.com/repos/ontohub/ontohub/languages","stargazers_url":"https://api.github.com/repos/ontohub/ontohub/stargazers","contributors_url":"https://api.github.com/repos/ontohub/ontohub/contributors","subscribers_url":"https://api.github.com/repos/ontohub/ontohub/subscribers","subscription_url":"https://api.github.com/repos/ontohub/ontohub/subscription","commits_url":"https://api.github.com/repos/ontohub/ontohub/commits{/sha}","git_commits_url":"https://api.github.com/repos/ontohub/ontohub/git/commits{/sha}","comments_url":"https://api.github.com/repos/ontohub/ontohub/comments{/number}","issue_comment_url":"https://api.github.com/repos/ontohub/ontohub/issues/comments{/number}","contents_url":"https://api.github.com/repos/ontohub/ontohub/contents/{+path}","compare_url":"https://api.github.com/repos/ontohub/ontohub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ontohub/ontohub/merges","archive_url":"https://api.github.com/repos/ontohub/ontohub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ontohub/ontohub/downloads","issues_url":"https://api.github.com/repos/ontohub/ontohub/issues{/number}","pulls_url":"https://api.github.com/repos/ontohub/ontohub/pulls{/number}","milestones_url":"https://api.github.com/repos/ontohub/ontohub/milestones{/number}","notifications_url":"https://api.github.com/repos/ontohub/ontohub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ontohub/ontohub/labels{/name}","releases_url":"https://api.github.com/repos/ontohub/ontohub/releases{/id}","deployments_url":"https://api.github.com/repos/ontohub/ontohub/deployments","created_at":"2012-03-06T22:05:27Z","updated_at":"2016-02-05T09:48:25Z","pushed_at":"2016-02-18T14:07:32Z","git_url":"git://github.com/ontohub/ontohub.git","ssh_url":"git@github.com:ontohub/ontohub.git","clone_url":"https://github.com/ontohub/ontohub.git","svn_url":"https://github.com/ontohub/ontohub","homepage":"","size":20785,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":309,"forks":6,"open_issues":309,"watchers":21,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/1600"},"html":{"href":"https://github.com/ontohub/ontohub/pull/1600"},"issue":{"href":"https://api.github.com/repos/ontohub/ontohub/issues/1600"},"comments":{"href":"https://api.github.com/repos/ontohub/ontohub/issues/1600/comments"},"review_comments":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/1600/comments"},"review_comment":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ontohub/ontohub/pulls/1600/commits"},"statuses":{"href":"https://api.github.com/repos/ontohub/ontohub/statuses/769e9e12ef7af653bef900e51283e5f2d6d28f60"}}}}