{"action":"created","comment":{"url":"https://api.github.com/repos/greenelab/adage-server/pulls/comments/83025222","pull_request_review_id":3892189,"id":83025222,"diff_hunk":"@@ -0,0 +1,376 @@\n+angular.module('adage.gene.search', [\n+  'adage.gene.resource'\n+])\n+\n+.config(function($stateProvider) {\n+  $stateProvider\n+    .state( 'gene_search', {\n+      url: '/gene_search',\n+      views: {\n+        \"main\": {\n+          templateUrl: 'gene/gene-network.tpl.html',\n+          controller: ['$scope', 'UserFactory',\n+            function($scope, UserFactory) {\n+              UserFactory.getPromise().$promise.then( function() {\n+                $scope.userObj = UserFactory.getUser();\n+              });","path":"interface/src/app/gene/genes.js","position":16,"original_position":16,"commit_id":"cd1ee140ca7c8700c043d68974fe52c122a20352","original_commit_id":"cd1ee140ca7c8700c043d68974fe52c122a20352","user":{"login":"dongbohu","id":15133253,"avatar_url":"https://avatars.githubusercontent.com/u/15133253?v=3","gravatar_id":"","url":"https://api.github.com/users/dongbohu","html_url":"https://github.com/dongbohu","followers_url":"https://api.github.com/users/dongbohu/followers","following_url":"https://api.github.com/users/dongbohu/following{/other_user}","gists_url":"https://api.github.com/users/dongbohu/gists{/gist_id}","starred_url":"https://api.github.com/users/dongbohu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongbohu/subscriptions","organizations_url":"https://api.github.com/users/dongbohu/orgs","repos_url":"https://api.github.com/users/dongbohu/repos","events_url":"https://api.github.com/users/dongbohu/events{/privacy}","received_events_url":"https://api.github.com/users/dongbohu/received_events","type":"User","site_admin":false},"body":"Do we need to provide a error function to then() too, or it is not necessary here?","created_at":"2016-10-12T15:01:32Z","updated_at":"2016-10-12T15:01:32Z","html_url":"https://github.com/greenelab/adage-server/pull/15#discussion_r83025222","pull_request_url":"https://api.github.com/repos/greenelab/adage-server/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/comments/83025222"},"html":{"href":"https://github.com/greenelab/adage-server/pull/15#discussion_r83025222"},"pull_request":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/greenelab/adage-server/pulls/15","id":88904467,"html_url":"https://github.com/greenelab/adage-server/pull/15","diff_url":"https://github.com/greenelab/adage-server/pull/15.diff","patch_url":"https://github.com/greenelab/adage-server/pull/15.patch","issue_url":"https://api.github.com/repos/greenelab/adage-server/issues/15","number":15,"state":"open","locked":false,"title":"Pull request to add gene search functionality for gene network page","user":{"login":"rzelayafavila","id":4641983,"avatar_url":"https://avatars.githubusercontent.com/u/4641983?v=3","gravatar_id":"","url":"https://api.github.com/users/rzelayafavila","html_url":"https://github.com/rzelayafavila","followers_url":"https://api.github.com/users/rzelayafavila/followers","following_url":"https://api.github.com/users/rzelayafavila/following{/other_user}","gists_url":"https://api.github.com/users/rzelayafavila/gists{/gist_id}","starred_url":"https://api.github.com/users/rzelayafavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzelayafavila/subscriptions","organizations_url":"https://api.github.com/users/rzelayafavila/orgs","repos_url":"https://api.github.com/users/rzelayafavila/repos","events_url":"https://api.github.com/users/rzelayafavila/events{/privacy}","received_events_url":"https://api.github.com/users/rzelayafavila/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-11T20:26:09Z","updated_at":"2016-10-12T15:01:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e869cb2aaa3b7fb3014f83f25514486f77f9aea5","assignee":{"login":"mhuyck","id":1151166,"avatar_url":"https://avatars.githubusercontent.com/u/1151166?v=3","gravatar_id":"","url":"https://api.github.com/users/mhuyck","html_url":"https://github.com/mhuyck","followers_url":"https://api.github.com/users/mhuyck/followers","following_url":"https://api.github.com/users/mhuyck/following{/other_user}","gists_url":"https://api.github.com/users/mhuyck/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuyck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuyck/subscriptions","organizations_url":"https://api.github.com/users/mhuyck/orgs","repos_url":"https://api.github.com/users/mhuyck/repos","events_url":"https://api.github.com/users/mhuyck/events{/privacy}","received_events_url":"https://api.github.com/users/mhuyck/received_events","type":"User","site_admin":false},"assignees":[{"login":"mhuyck","id":1151166,"avatar_url":"https://avatars.githubusercontent.com/u/1151166?v=3","gravatar_id":"","url":"https://api.github.com/users/mhuyck","html_url":"https://github.com/mhuyck","followers_url":"https://api.github.com/users/mhuyck/followers","following_url":"https://api.github.com/users/mhuyck/following{/other_user}","gists_url":"https://api.github.com/users/mhuyck/gists{/gist_id}","starred_url":"https://api.github.com/users/mhuyck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhuyck/subscriptions","organizations_url":"https://api.github.com/users/mhuyck/orgs","repos_url":"https://api.github.com/users/mhuyck/repos","events_url":"https://api.github.com/users/mhuyck/events{/privacy}","received_events_url":"https://api.github.com/users/mhuyck/received_events","type":"User","site_admin":false},{"login":"rzelayafavila","id":4641983,"avatar_url":"https://avatars.githubusercontent.com/u/4641983?v=3","gravatar_id":"","url":"https://api.github.com/users/rzelayafavila","html_url":"https://github.com/rzelayafavila","followers_url":"https://api.github.com/users/rzelayafavila/followers","following_url":"https://api.github.com/users/rzelayafavila/following{/other_user}","gists_url":"https://api.github.com/users/rzelayafavila/gists{/gist_id}","starred_url":"https://api.github.com/users/rzelayafavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzelayafavila/subscriptions","organizations_url":"https://api.github.com/users/rzelayafavila/orgs","repos_url":"https://api.github.com/users/rzelayafavila/repos","events_url":"https://api.github.com/users/rzelayafavila/events{/privacy}","received_events_url":"https://api.github.com/users/rzelayafavila/received_events","type":"User","site_admin":false},{"login":"dongbohu","id":15133253,"avatar_url":"https://avatars.githubusercontent.com/u/15133253?v=3","gravatar_id":"","url":"https://api.github.com/users/dongbohu","html_url":"https://github.com/dongbohu","followers_url":"https://api.github.com/users/dongbohu/followers","following_url":"https://api.github.com/users/dongbohu/following{/other_user}","gists_url":"https://api.github.com/users/dongbohu/gists{/gist_id}","starred_url":"https://api.github.com/users/dongbohu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongbohu/subscriptions","organizations_url":"https://api.github.com/users/dongbohu/orgs","repos_url":"https://api.github.com/users/dongbohu/repos","events_url":"https://api.github.com/users/dongbohu/events{/privacy}","received_events_url":"https://api.github.com/users/dongbohu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/greenelab/adage-server/pulls/15/commits","review_comments_url":"https://api.github.com/repos/greenelab/adage-server/pulls/15/comments","review_comment_url":"https://api.github.com/repos/greenelab/adage-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenelab/adage-server/issues/15/comments","statuses_url":"https://api.github.com/repos/greenelab/adage-server/statuses/cd1ee140ca7c8700c043d68974fe52c122a20352","head":{"label":"rzelayafavila:master","ref":"master","sha":"cd1ee140ca7c8700c043d68974fe52c122a20352","user":{"login":"rzelayafavila","id":4641983,"avatar_url":"https://avatars.githubusercontent.com/u/4641983?v=3","gravatar_id":"","url":"https://api.github.com/users/rzelayafavila","html_url":"https://github.com/rzelayafavila","followers_url":"https://api.github.com/users/rzelayafavila/followers","following_url":"https://api.github.com/users/rzelayafavila/following{/other_user}","gists_url":"https://api.github.com/users/rzelayafavila/gists{/gist_id}","starred_url":"https://api.github.com/users/rzelayafavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzelayafavila/subscriptions","organizations_url":"https://api.github.com/users/rzelayafavila/orgs","repos_url":"https://api.github.com/users/rzelayafavila/repos","events_url":"https://api.github.com/users/rzelayafavila/events{/privacy}","received_events_url":"https://api.github.com/users/rzelayafavila/received_events","type":"User","site_admin":false},"repo":{"id":68302994,"name":"adage-server","full_name":"rzelayafavila/adage-server","owner":{"login":"rzelayafavila","id":4641983,"avatar_url":"https://avatars.githubusercontent.com/u/4641983?v=3","gravatar_id":"","url":"https://api.github.com/users/rzelayafavila","html_url":"https://github.com/rzelayafavila","followers_url":"https://api.github.com/users/rzelayafavila/followers","following_url":"https://api.github.com/users/rzelayafavila/following{/other_user}","gists_url":"https://api.github.com/users/rzelayafavila/gists{/gist_id}","starred_url":"https://api.github.com/users/rzelayafavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzelayafavila/subscriptions","organizations_url":"https://api.github.com/users/rzelayafavila/orgs","repos_url":"https://api.github.com/users/rzelayafavila/repos","events_url":"https://api.github.com/users/rzelayafavila/events{/privacy}","received_events_url":"https://api.github.com/users/rzelayafavila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rzelayafavila/adage-server","description":null,"fork":true,"url":"https://api.github.com/repos/rzelayafavila/adage-server","forks_url":"https://api.github.com/repos/rzelayafavila/adage-server/forks","keys_url":"https://api.github.com/repos/rzelayafavila/adage-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rzelayafavila/adage-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rzelayafavila/adage-server/teams","hooks_url":"https://api.github.com/repos/rzelayafavila/adage-server/hooks","issue_events_url":"https://api.github.com/repos/rzelayafavila/adage-server/issues/events{/number}","events_url":"https://api.github.com/repos/rzelayafavila/adage-server/events","assignees_url":"https://api.github.com/repos/rzelayafavila/adage-server/assignees{/user}","branches_url":"https://api.github.com/repos/rzelayafavila/adage-server/branches{/branch}","tags_url":"https://api.github.com/repos/rzelayafavila/adage-server/tags","blobs_url":"https://api.github.com/repos/rzelayafavila/adage-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rzelayafavila/adage-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rzelayafavila/adage-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/rzelayafavila/adage-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rzelayafavila/adage-server/statuses/{sha}","languages_url":"https://api.github.com/repos/rzelayafavila/adage-server/languages","stargazers_url":"https://api.github.com/repos/rzelayafavila/adage-server/stargazers","contributors_url":"https://api.github.com/repos/rzelayafavila/adage-server/contributors","subscribers_url":"https://api.github.com/repos/rzelayafavila/adage-server/subscribers","subscription_url":"https://api.github.com/repos/rzelayafavila/adage-server/subscription","commits_url":"https://api.github.com/repos/rzelayafavila/adage-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/rzelayafavila/adage-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/rzelayafavila/adage-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/rzelayafavila/adage-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/rzelayafavila/adage-server/contents/{+path}","compare_url":"https://api.github.com/repos/rzelayafavila/adage-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rzelayafavila/adage-server/merges","archive_url":"https://api.github.com/repos/rzelayafavila/adage-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rzelayafavila/adage-server/downloads","issues_url":"https://api.github.com/repos/rzelayafavila/adage-server/issues{/number}","pulls_url":"https://api.github.com/repos/rzelayafavila/adage-server/pulls{/number}","milestones_url":"https://api.github.com/repos/rzelayafavila/adage-server/milestones{/number}","notifications_url":"https://api.github.com/repos/rzelayafavila/adage-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rzelayafavila/adage-server/labels{/name}","releases_url":"https://api.github.com/repos/rzelayafavila/adage-server/releases{/id}","deployments_url":"https://api.github.com/repos/rzelayafavila/adage-server/deployments","created_at":"2016-09-15T14:48:22Z","updated_at":"2016-09-15T14:48:24Z","pushed_at":"2016-10-11T20:24:10Z","git_url":"git://github.com/rzelayafavila/adage-server.git","ssh_url":"git@github.com:rzelayafavila/adage-server.git","clone_url":"https://github.com/rzelayafavila/adage-server.git","svn_url":"https://github.com/rzelayafavila/adage-server","homepage":null,"size":7147,"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":"greenelab:master","ref":"master","sha":"d15aaef3152d2ad25a231c0822f30532fa62edf3","user":{"login":"greenelab","id":9607754,"avatar_url":"https://avatars.githubusercontent.com/u/9607754?v=3","gravatar_id":"","url":"https://api.github.com/users/greenelab","html_url":"https://github.com/greenelab","followers_url":"https://api.github.com/users/greenelab/followers","following_url":"https://api.github.com/users/greenelab/following{/other_user}","gists_url":"https://api.github.com/users/greenelab/gists{/gist_id}","starred_url":"https://api.github.com/users/greenelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenelab/subscriptions","organizations_url":"https://api.github.com/users/greenelab/orgs","repos_url":"https://api.github.com/users/greenelab/repos","events_url":"https://api.github.com/users/greenelab/events{/privacy}","received_events_url":"https://api.github.com/users/greenelab/received_events","type":"Organization","site_admin":false},"repo":{"id":67157395,"name":"adage-server","full_name":"greenelab/adage-server","owner":{"login":"greenelab","id":9607754,"avatar_url":"https://avatars.githubusercontent.com/u/9607754?v=3","gravatar_id":"","url":"https://api.github.com/users/greenelab","html_url":"https://github.com/greenelab","followers_url":"https://api.github.com/users/greenelab/followers","following_url":"https://api.github.com/users/greenelab/following{/other_user}","gists_url":"https://api.github.com/users/greenelab/gists{/gist_id}","starred_url":"https://api.github.com/users/greenelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenelab/subscriptions","organizations_url":"https://api.github.com/users/greenelab/orgs","repos_url":"https://api.github.com/users/greenelab/repos","events_url":"https://api.github.com/users/greenelab/events{/privacy}","received_events_url":"https://api.github.com/users/greenelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenelab/adage-server","description":null,"fork":false,"url":"https://api.github.com/repos/greenelab/adage-server","forks_url":"https://api.github.com/repos/greenelab/adage-server/forks","keys_url":"https://api.github.com/repos/greenelab/adage-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenelab/adage-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenelab/adage-server/teams","hooks_url":"https://api.github.com/repos/greenelab/adage-server/hooks","issue_events_url":"https://api.github.com/repos/greenelab/adage-server/issues/events{/number}","events_url":"https://api.github.com/repos/greenelab/adage-server/events","assignees_url":"https://api.github.com/repos/greenelab/adage-server/assignees{/user}","branches_url":"https://api.github.com/repos/greenelab/adage-server/branches{/branch}","tags_url":"https://api.github.com/repos/greenelab/adage-server/tags","blobs_url":"https://api.github.com/repos/greenelab/adage-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenelab/adage-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenelab/adage-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenelab/adage-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenelab/adage-server/statuses/{sha}","languages_url":"https://api.github.com/repos/greenelab/adage-server/languages","stargazers_url":"https://api.github.com/repos/greenelab/adage-server/stargazers","contributors_url":"https://api.github.com/repos/greenelab/adage-server/contributors","subscribers_url":"https://api.github.com/repos/greenelab/adage-server/subscribers","subscription_url":"https://api.github.com/repos/greenelab/adage-server/subscription","commits_url":"https://api.github.com/repos/greenelab/adage-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenelab/adage-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenelab/adage-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenelab/adage-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenelab/adage-server/contents/{+path}","compare_url":"https://api.github.com/repos/greenelab/adage-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenelab/adage-server/merges","archive_url":"https://api.github.com/repos/greenelab/adage-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenelab/adage-server/downloads","issues_url":"https://api.github.com/repos/greenelab/adage-server/issues{/number}","pulls_url":"https://api.github.com/repos/greenelab/adage-server/pulls{/number}","milestones_url":"https://api.github.com/repos/greenelab/adage-server/milestones{/number}","notifications_url":"https://api.github.com/repos/greenelab/adage-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenelab/adage-server/labels{/name}","releases_url":"https://api.github.com/repos/greenelab/adage-server/releases{/id}","deployments_url":"https://api.github.com/repos/greenelab/adage-server/deployments","created_at":"2016-09-01T18:46:19Z","updated_at":"2016-09-21T14:04:00Z","pushed_at":"2016-10-11T20:26:10Z","git_url":"git://github.com/greenelab/adage-server.git","ssh_url":"git@github.com:greenelab/adage-server.git","clone_url":"https://github.com/greenelab/adage-server.git","svn_url":"https://github.com/greenelab/adage-server","homepage":null,"size":7160,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/15"},"html":{"href":"https://github.com/greenelab/adage-server/pull/15"},"issue":{"href":"https://api.github.com/repos/greenelab/adage-server/issues/15"},"comments":{"href":"https://api.github.com/repos/greenelab/adage-server/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenelab/adage-server/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/greenelab/adage-server/statuses/cd1ee140ca7c8700c043d68974fe52c122a20352"}}}}
{"actor":{"display_login":"dongbohu"}}