{"action":"created","comment":{"url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments/51024306","id":51024306,"diff_hunk":"@@ -346,18 +346,18 @@ def audit_biosample_part_of_consistency(value, system):\n \n         ontology = system['registry']['ontology']\n         if (term_id in ontology) and (part_of_term_id in ontology):\n-            ontology_child = ontology[term_id]\n+            # ontology_child = ontology[term_id]\n             ontology_parent = ontology[part_of_term_id]\n             if 'name' in ontology_parent and ontology_parent['name'] == 'multi-cellular organism':\n                 return\n-\n+            '''\n             if 'organs' in ontology_child and 'organs' in ontology_parent:\n                 child_organs = ontology_child['organs']","path":"src/encoded/audit/biosample.py","position":21,"original_position":21,"commit_id":"c3b2b547d287bb3b5e190c7eaedd6ec5a362f553","original_commit_id":"c3b2b547d287bb3b5e190c7eaedd6ec5a362f553","user":{"login":"hitz","id":288823,"avatar_url":"https://avatars.githubusercontent.com/u/288823?v=3","gravatar_id":"","url":"https://api.github.com/users/hitz","html_url":"https://github.com/hitz","followers_url":"https://api.github.com/users/hitz/followers","following_url":"https://api.github.com/users/hitz/following{/other_user}","gists_url":"https://api.github.com/users/hitz/gists{/gist_id}","starred_url":"https://api.github.com/users/hitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitz/subscriptions","organizations_url":"https://api.github.com/users/hitz/orgs","repos_url":"https://api.github.com/users/hitz/repos","events_url":"https://api.github.com/users/hitz/events{/privacy}","received_events_url":"https://api.github.com/users/hitz/received_events","type":"User","site_admin":false},"body":"I don't think you should comment out this code unless you plan on bringing it back very soon.","created_at":"2016-01-27T18:12:45Z","updated_at":"2016-01-27T18:12:45Z","html_url":"https://github.com/ENCODE-DCC/encoded/pull/1126#discussion_r51024306","pull_request_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126","_links":{"self":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments/51024306"},"html":{"href":"https://github.com/ENCODE-DCC/encoded/pull/1126#discussion_r51024306"},"pull_request":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126"}}},"pull_request":{"url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126","id":57306885,"html_url":"https://github.com/ENCODE-DCC/encoded/pull/1126","diff_url":"https://github.com/ENCODE-DCC/encoded/pull/1126.diff","patch_url":"https://github.com/ENCODE-DCC/encoded/pull/1126.patch","issue_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/1126","number":1126,"state":"open","locked":false,"title":"3586 3578 3594 3603","user":{"login":"gabdank","id":10551548,"avatar_url":"https://avatars.githubusercontent.com/u/10551548?v=3","gravatar_id":"","url":"https://api.github.com/users/gabdank","html_url":"https://github.com/gabdank","followers_url":"https://api.github.com/users/gabdank/followers","following_url":"https://api.github.com/users/gabdank/following{/other_user}","gists_url":"https://api.github.com/users/gabdank/gists{/gist_id}","starred_url":"https://api.github.com/users/gabdank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabdank/subscriptions","organizations_url":"https://api.github.com/users/gabdank/orgs","repos_url":"https://api.github.com/users/gabdank/repos","events_url":"https://api.github.com/users/gabdank/events{/privacy}","received_events_url":"https://api.github.com/users/gabdank/received_events","type":"User","site_admin":false},"body":"3605 - support Infinity\n3586 - use ontology in part_of audit\n3578 - duplicated NTR messages\n3594 - spearman correlation STD fix","created_at":"2016-01-27T02:50:18Z","updated_at":"2016-01-27T18:12:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dc407e52b925c280eb683d385b9f6a881237ab2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126/commits","review_comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126/comments","review_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/1126/comments","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/c3b2b547d287bb3b5e190c7eaedd6ec5a362f553","head":{"label":"ENCODE-DCC:3586-3578-3594-fix","ref":"3586-3578-3594-fix","sha":"c3b2b547d287bb3b5e190c7eaedd6ec5a362f553","user":{"login":"ENCODE-DCC","id":1713898,"avatar_url":"https://avatars.githubusercontent.com/u/1713898?v=3","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"repo":{"id":7045549,"name":"encoded","full_name":"ENCODE-DCC/encoded","owner":{"login":"ENCODE-DCC","id":1713898,"avatar_url":"https://avatars.githubusercontent.com/u/1713898?v=3","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ENCODE-DCC/encoded","description":"Metadata database for ENCODE 3","fork":false,"url":"https://api.github.com/repos/ENCODE-DCC/encoded","forks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/forks","keys_url":"https://api.github.com/repos/ENCODE-DCC/encoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ENCODE-DCC/encoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ENCODE-DCC/encoded/teams","hooks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/hooks","issue_events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/events{/number}","events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/events","assignees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/assignees{/user}","branches_url":"https://api.github.com/repos/ENCODE-DCC/encoded/branches{/branch}","tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/tags","blobs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ENCODE-DCC/encoded/languages","stargazers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/stargazers","contributors_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contributors","subscribers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscribers","subscription_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscription","commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contents/{+path}","compare_url":"https://api.github.com/repos/ENCODE-DCC/encoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ENCODE-DCC/encoded/merges","archive_url":"https://api.github.com/repos/ENCODE-DCC/encoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ENCODE-DCC/encoded/downloads","issues_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues{/number}","pulls_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ENCODE-DCC/encoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ENCODE-DCC/encoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ENCODE-DCC/encoded/labels{/name}","releases_url":"https://api.github.com/repos/ENCODE-DCC/encoded/releases{/id}","deployments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/deployments","created_at":"2012-12-07T00:52:21Z","updated_at":"2016-01-11T08:06:10Z","pushed_at":"2016-01-27T18:09:27Z","git_url":"git://github.com/ENCODE-DCC/encoded.git","ssh_url":"git@github.com:ENCODE-DCC/encoded.git","clone_url":"https://github.com/ENCODE-DCC/encoded.git","svn_url":"https://github.com/ENCODE-DCC/encoded","homepage":"https://www.encodeproject.org","size":141377,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"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":24,"default_branch":"master"}},"base":{"label":"ENCODE-DCC:master","ref":"master","sha":"b3d6f75f66436f76d1d95313af4455f46f4ee2c5","user":{"login":"ENCODE-DCC","id":1713898,"avatar_url":"https://avatars.githubusercontent.com/u/1713898?v=3","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"repo":{"id":7045549,"name":"encoded","full_name":"ENCODE-DCC/encoded","owner":{"login":"ENCODE-DCC","id":1713898,"avatar_url":"https://avatars.githubusercontent.com/u/1713898?v=3","gravatar_id":"","url":"https://api.github.com/users/ENCODE-DCC","html_url":"https://github.com/ENCODE-DCC","followers_url":"https://api.github.com/users/ENCODE-DCC/followers","following_url":"https://api.github.com/users/ENCODE-DCC/following{/other_user}","gists_url":"https://api.github.com/users/ENCODE-DCC/gists{/gist_id}","starred_url":"https://api.github.com/users/ENCODE-DCC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENCODE-DCC/subscriptions","organizations_url":"https://api.github.com/users/ENCODE-DCC/orgs","repos_url":"https://api.github.com/users/ENCODE-DCC/repos","events_url":"https://api.github.com/users/ENCODE-DCC/events{/privacy}","received_events_url":"https://api.github.com/users/ENCODE-DCC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ENCODE-DCC/encoded","description":"Metadata database for ENCODE 3","fork":false,"url":"https://api.github.com/repos/ENCODE-DCC/encoded","forks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/forks","keys_url":"https://api.github.com/repos/ENCODE-DCC/encoded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ENCODE-DCC/encoded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ENCODE-DCC/encoded/teams","hooks_url":"https://api.github.com/repos/ENCODE-DCC/encoded/hooks","issue_events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/events{/number}","events_url":"https://api.github.com/repos/ENCODE-DCC/encoded/events","assignees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/assignees{/user}","branches_url":"https://api.github.com/repos/ENCODE-DCC/encoded/branches{/branch}","tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/tags","blobs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/refs{/sha}","trees_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/{sha}","languages_url":"https://api.github.com/repos/ENCODE-DCC/encoded/languages","stargazers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/stargazers","contributors_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contributors","subscribers_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscribers","subscription_url":"https://api.github.com/repos/ENCODE-DCC/encoded/subscription","commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/commits{/sha}","git_commits_url":"https://api.github.com/repos/ENCODE-DCC/encoded/git/commits{/sha}","comments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/comments{/number}","issue_comment_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/comments{/number}","contents_url":"https://api.github.com/repos/ENCODE-DCC/encoded/contents/{+path}","compare_url":"https://api.github.com/repos/ENCODE-DCC/encoded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ENCODE-DCC/encoded/merges","archive_url":"https://api.github.com/repos/ENCODE-DCC/encoded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ENCODE-DCC/encoded/downloads","issues_url":"https://api.github.com/repos/ENCODE-DCC/encoded/issues{/number}","pulls_url":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls{/number}","milestones_url":"https://api.github.com/repos/ENCODE-DCC/encoded/milestones{/number}","notifications_url":"https://api.github.com/repos/ENCODE-DCC/encoded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ENCODE-DCC/encoded/labels{/name}","releases_url":"https://api.github.com/repos/ENCODE-DCC/encoded/releases{/id}","deployments_url":"https://api.github.com/repos/ENCODE-DCC/encoded/deployments","created_at":"2012-12-07T00:52:21Z","updated_at":"2016-01-11T08:06:10Z","pushed_at":"2016-01-27T18:09:27Z","git_url":"git://github.com/ENCODE-DCC/encoded.git","ssh_url":"git@github.com:ENCODE-DCC/encoded.git","clone_url":"https://github.com/ENCODE-DCC/encoded.git","svn_url":"https://github.com/ENCODE-DCC/encoded","homepage":"https://www.encodeproject.org","size":141377,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"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":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126"},"html":{"href":"https://github.com/ENCODE-DCC/encoded/pull/1126"},"issue":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/1126"},"comments":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/issues/1126/comments"},"review_comments":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126/comments"},"review_comment":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/pulls/1126/commits"},"statuses":{"href":"https://api.github.com/repos/ENCODE-DCC/encoded/statuses/c3b2b547d287bb3b5e190c7eaedd6ec5a362f553"}}}}