{"action":"created","comment":{"url":"https://api.github.com/repos/ga4gh/server/pulls/comments/44064902","id":44064902,"diff_hunk":"@@ -0,0 +1,82 @@\n+\"\"\"\n+Support for Ontologies.\n+FIXME: this is currently hard-coded for the GENCODE set as a short-term hack\n+to support BRCA changeling.\n+\"\"\"\n+from __future__ import division\n+from __future__ import print_function\n+from __future__ import unicode_literals\n+\n+import ga4gh.protocol as protocol\n+\n+\n+class OntologyTermSet(object):","path":"ga4gh/datamodel/ontologies.py","position":13,"original_position":13,"commit_id":"9b08ef5f9cf78cd0f3c3fce2e182d91454428c18","original_commit_id":"9b08ef5f9cf78cd0f3c3fce2e182d91454428c18","user":{"login":"jeromekelleher","id":2664569,"avatar_url":"https://avatars.githubusercontent.com/u/2664569?v=3","gravatar_id":"","url":"https://api.github.com/users/jeromekelleher","html_url":"https://github.com/jeromekelleher","followers_url":"https://api.github.com/users/jeromekelleher/followers","following_url":"https://api.github.com/users/jeromekelleher/following{/other_user}","gists_url":"https://api.github.com/users/jeromekelleher/gists{/gist_id}","starred_url":"https://api.github.com/users/jeromekelleher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeromekelleher/subscriptions","organizations_url":"https://api.github.com/users/jeromekelleher/orgs","repos_url":"https://api.github.com/users/jeromekelleher/repos","events_url":"https://api.github.com/users/jeromekelleher/events{/privacy}","received_events_url":"https://api.github.com/users/jeromekelleher/received_events","type":"User","site_admin":false},"body":"We should inherit from ``datamodel.DatamodelObject`` here, That way, we'll inherit a lot of useful functionality, particularly dealing with compound ids.","created_at":"2015-11-05T20:30:00Z","updated_at":"2015-11-05T20:30:00Z","html_url":"https://github.com/ga4gh/server/pull/780#discussion_r44064902","pull_request_url":"https://api.github.com/repos/ga4gh/server/pulls/780","_links":{"self":{"href":"https://api.github.com/repos/ga4gh/server/pulls/comments/44064902"},"html":{"href":"https://github.com/ga4gh/server/pull/780#discussion_r44064902"},"pull_request":{"href":"https://api.github.com/repos/ga4gh/server/pulls/780"}}},"pull_request":{"url":"https://api.github.com/repos/ga4gh/server/pulls/780","id":49609338,"html_url":"https://github.com/ga4gh/server/pull/780","diff_url":"https://github.com/ga4gh/server/pull/780.diff","patch_url":"https://github.com/ga4gh/server/pull/780.patch","issue_url":"https://api.github.com/repos/ga4gh/server/issues/780","number":780,"state":"open","locked":false,"title":"non-merge RNA API comment hunting PR","user":{"login":"saupchurch","id":1863477,"avatar_url":"https://avatars.githubusercontent.com/u/1863477?v=3","gravatar_id":"","url":"https://api.github.com/users/saupchurch","html_url":"https://github.com/saupchurch","followers_url":"https://api.github.com/users/saupchurch/followers","following_url":"https://api.github.com/users/saupchurch/following{/other_user}","gists_url":"https://api.github.com/users/saupchurch/gists{/gist_id}","starred_url":"https://api.github.com/users/saupchurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saupchurch/subscriptions","organizations_url":"https://api.github.com/users/saupchurch/orgs","repos_url":"https://api.github.com/users/saupchurch/repos","events_url":"https://api.github.com/users/saupchurch/events{/privacy}","received_events_url":"https://api.github.com/users/saupchurch/received_events","type":"User","site_admin":false},"body":"This is a preview of the RNA API server code and not intended for merging.  Due to the size of the PR I wanted to get started on the review and comment phase while I finish up the last few TODO's.\r\n\r\nKnown issues:\r\nTODOs concerning compoundId (backend.py) - currently in progress\r\n_protocol_definitions.py - was manually edited, will generate with script for real PR\r\n59K additions are in the data files for the tests - will trim these down for real PR","created_at":"2015-11-03T20:45:26Z","updated_at":"2015-11-05T20:30:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga4gh/server/pulls/780/commits","review_comments_url":"https://api.github.com/repos/ga4gh/server/pulls/780/comments","review_comment_url":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga4gh/server/issues/780/comments","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/9b08ef5f9cf78cd0f3c3fce2e182d91454428c18","head":{"label":"saupchurch:rna_api","ref":"rna_api","sha":"9b08ef5f9cf78cd0f3c3fce2e182d91454428c18","user":{"login":"saupchurch","id":1863477,"avatar_url":"https://avatars.githubusercontent.com/u/1863477?v=3","gravatar_id":"","url":"https://api.github.com/users/saupchurch","html_url":"https://github.com/saupchurch","followers_url":"https://api.github.com/users/saupchurch/followers","following_url":"https://api.github.com/users/saupchurch/following{/other_user}","gists_url":"https://api.github.com/users/saupchurch/gists{/gist_id}","starred_url":"https://api.github.com/users/saupchurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saupchurch/subscriptions","organizations_url":"https://api.github.com/users/saupchurch/orgs","repos_url":"https://api.github.com/users/saupchurch/repos","events_url":"https://api.github.com/users/saupchurch/events{/privacy}","received_events_url":"https://api.github.com/users/saupchurch/received_events","type":"User","site_admin":false},"repo":{"id":30314975,"name":"server","full_name":"saupchurch/server","owner":{"login":"saupchurch","id":1863477,"avatar_url":"https://avatars.githubusercontent.com/u/1863477?v=3","gravatar_id":"","url":"https://api.github.com/users/saupchurch","html_url":"https://github.com/saupchurch","followers_url":"https://api.github.com/users/saupchurch/followers","following_url":"https://api.github.com/users/saupchurch/following{/other_user}","gists_url":"https://api.github.com/users/saupchurch/gists{/gist_id}","starred_url":"https://api.github.com/users/saupchurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saupchurch/subscriptions","organizations_url":"https://api.github.com/users/saupchurch/orgs","repos_url":"https://api.github.com/users/saupchurch/repos","events_url":"https://api.github.com/users/saupchurch/events{/privacy}","received_events_url":"https://api.github.com/users/saupchurch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saupchurch/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":true,"url":"https://api.github.com/repos/saupchurch/server","forks_url":"https://api.github.com/repos/saupchurch/server/forks","keys_url":"https://api.github.com/repos/saupchurch/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saupchurch/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saupchurch/server/teams","hooks_url":"https://api.github.com/repos/saupchurch/server/hooks","issue_events_url":"https://api.github.com/repos/saupchurch/server/issues/events{/number}","events_url":"https://api.github.com/repos/saupchurch/server/events","assignees_url":"https://api.github.com/repos/saupchurch/server/assignees{/user}","branches_url":"https://api.github.com/repos/saupchurch/server/branches{/branch}","tags_url":"https://api.github.com/repos/saupchurch/server/tags","blobs_url":"https://api.github.com/repos/saupchurch/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saupchurch/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saupchurch/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/saupchurch/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saupchurch/server/statuses/{sha}","languages_url":"https://api.github.com/repos/saupchurch/server/languages","stargazers_url":"https://api.github.com/repos/saupchurch/server/stargazers","contributors_url":"https://api.github.com/repos/saupchurch/server/contributors","subscribers_url":"https://api.github.com/repos/saupchurch/server/subscribers","subscription_url":"https://api.github.com/repos/saupchurch/server/subscription","commits_url":"https://api.github.com/repos/saupchurch/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/saupchurch/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/saupchurch/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/saupchurch/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/saupchurch/server/contents/{+path}","compare_url":"https://api.github.com/repos/saupchurch/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saupchurch/server/merges","archive_url":"https://api.github.com/repos/saupchurch/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saupchurch/server/downloads","issues_url":"https://api.github.com/repos/saupchurch/server/issues{/number}","pulls_url":"https://api.github.com/repos/saupchurch/server/pulls{/number}","milestones_url":"https://api.github.com/repos/saupchurch/server/milestones{/number}","notifications_url":"https://api.github.com/repos/saupchurch/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saupchurch/server/labels{/name}","releases_url":"https://api.github.com/repos/saupchurch/server/releases{/id}","created_at":"2015-02-04T18:48:26Z","updated_at":"2015-04-30T15:37:52Z","pushed_at":"2015-11-03T23:36:24Z","git_url":"git://github.com/saupchurch/server.git","ssh_url":"git@github.com:saupchurch/server.git","clone_url":"https://github.com/saupchurch/server.git","svn_url":"https://github.com/saupchurch/server","homepage":null,"size":3979,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga4gh:develop","ref":"develop","sha":"37253cbbbffb677c5124646710d1a25fd0131c29","user":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":22882621,"name":"server","full_name":"ga4gh/server","owner":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":false,"url":"https://api.github.com/repos/ga4gh/server","forks_url":"https://api.github.com/repos/ga4gh/server/forks","keys_url":"https://api.github.com/repos/ga4gh/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/server/teams","hooks_url":"https://api.github.com/repos/ga4gh/server/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/server/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/server/events","assignees_url":"https://api.github.com/repos/ga4gh/server/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/server/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/server/tags","blobs_url":"https://api.github.com/repos/ga4gh/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/server/languages","stargazers_url":"https://api.github.com/repos/ga4gh/server/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/server/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/server/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/server/subscription","commits_url":"https://api.github.com/repos/ga4gh/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/server/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/server/merges","archive_url":"https://api.github.com/repos/ga4gh/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/server/downloads","issues_url":"https://api.github.com/repos/ga4gh/server/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/server/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/server/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/server/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/server/releases{/id}","created_at":"2014-08-12T15:31:49Z","updated_at":"2015-11-05T07:19:09Z","pushed_at":"2015-11-05T20:05:32Z","git_url":"git://github.com/ga4gh/server.git","ssh_url":"git@github.com:ga4gh/server.git","clone_url":"https://github.com/ga4gh/server.git","svn_url":"https://github.com/ga4gh/server","homepage":null,"size":7577,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":92,"forks":67,"open_issues":92,"watchers":43,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ga4gh/server/pulls/780"},"html":{"href":"https://github.com/ga4gh/server/pull/780"},"issue":{"href":"https://api.github.com/repos/ga4gh/server/issues/780"},"comments":{"href":"https://api.github.com/repos/ga4gh/server/issues/780/comments"},"review_comments":{"href":"https://api.github.com/repos/ga4gh/server/pulls/780/comments"},"review_comment":{"href":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga4gh/server/pulls/780/commits"},"statuses":{"href":"https://api.github.com/repos/ga4gh/server/statuses/9b08ef5f9cf78cd0f3c3fce2e182d91454428c18"}}}}