{"action":"created","comment":{"url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/comments/91771941","pull_request_review_id":12284479,"id":91771941,"diff_hunk":"@@ -168,39 +168,39 @@ let Gene = (() => {\n               disease_type: c.project.disease_type,\n               cancer_type: c.project.cancer_type || 'tbd',\n               site: c.project.primary_site,\n-              cases: cases,\n+              cases,\n               ssms: [...new Set([...(acc[c.project.project_id] || { ssms: [] }).ssms, ...c.ssm.map(m => m.ssm_id)])],\n-              freq: cases.length/allCasesAggByProject[c.project.project_id],\n-            }\n+              freq: cases.length / allCasesAggByProject[c.project.project_id],\n+            },\n           };\n         }, {});\n \n       const sortedCancerDistData = Object.keys(cancerDistData)\n-        .map(k => ({project_id: k, ...cancerDistData[k]}))\n+        .map(k => ({ project_id: k, ...cancerDistData[k] }))\n         .sort((a, b) => b.freq - a.freq);\n \n       const totalNumCases = Object.keys(allCasesAggByProject).reduce((sum, b) => sum + allCasesAggByProject[b], 0);\n \n       const frequentMutations = fm.map(x => {\n-        let consequence = x.consequence.find(x => x.transcript.is_canonical);\n+        const consequence = x.consequence.find(x => x.transcript.is_canonical);\n         return {\n           ...x,\n           num_affected_cases_all: x.occurrence.length,\n           num_affected_cases_by_project: x.occurrence.reduce((acc, o) => ({\n             ...acc,\n-            [o.case.project.project_id]: acc[o.case.project.project_id] ? acc[o.case.project.project_id] + 1 : 1\n+            [o.case.project.project_id]: acc[o.case.project.project_id] ? acc[o.case.project.project_id] + 1 : 1,\n           }), {}),\n           impact: consequence.transcript.annotation.impact,\n           consequence_type:\n-            <span>\n-              <b>{_.startCase(consequence.transcript.consequence_type.replace('variant', ''))}</b>\n-              <span style={{marginLeft:'5px'}}>\n-                <a href={`/genes/${consequence.transcript.gene.gene_id}`}>{consequence.transcript.gene_symbol}</a>\n-              </span>\n-              <span style={{marginLeft:'5px', color: impactColors[consequence.transcript.annotation.impact] || 'inherit'}}>\n-                {consequence.transcript.aa_change}\n-              </span>\n-            </span>\n+  <span>","path":"app/react-components/Gene.js","position":115,"original_position":115,"commit_id":"28c12299e9397911602bbb33fa25a7d5993ab9f1","original_commit_id":"28c12299e9397911602bbb33fa25a7d5993ab9f1","user":{"login":"Jephuff","id":3953093,"avatar_url":"https://avatars.githubusercontent.com/u/3953093?v=3","gravatar_id":"","url":"https://api.github.com/users/Jephuff","html_url":"https://github.com/Jephuff","followers_url":"https://api.github.com/users/Jephuff/followers","following_url":"https://api.github.com/users/Jephuff/following{/other_user}","gists_url":"https://api.github.com/users/Jephuff/gists{/gist_id}","starred_url":"https://api.github.com/users/Jephuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jephuff/subscriptions","organizations_url":"https://api.github.com/users/Jephuff/orgs","repos_url":"https://api.github.com/users/Jephuff/repos","events_url":"https://api.github.com/users/Jephuff/events{/privacy}","received_events_url":"https://api.github.com/users/Jephuff/received_events","type":"User","site_admin":false},"body":"Is this indenting in the eslint rules? do we like it?","created_at":"2016-12-09T18:49:31Z","updated_at":"2016-12-09T18:52:19Z","html_url":"https://github.com/NCI-GDC/portal-ui/pull/1177#discussion_r91771941","pull_request_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177","_links":{"self":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/comments/91771941"},"html":{"href":"https://github.com/NCI-GDC/portal-ui/pull/1177#discussion_r91771941"},"pull_request":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177"}}},"pull_request":{"url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177","id":97352940,"html_url":"https://github.com/NCI-GDC/portal-ui/pull/1177","diff_url":"https://github.com/NCI-GDC/portal-ui/pull/1177.diff","patch_url":"https://github.com/NCI-GDC/portal-ui/pull/1177.patch","issue_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/1177","number":1177,"state":"open","locked":false,"title":":memo::art: knit/socks-eslint + fix","user":{"login":"alex-wilmer","id":2880089,"avatar_url":"https://avatars.githubusercontent.com/u/2880089?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-wilmer","html_url":"https://github.com/alex-wilmer","followers_url":"https://api.github.com/users/alex-wilmer/followers","following_url":"https://api.github.com/users/alex-wilmer/following{/other_user}","gists_url":"https://api.github.com/users/alex-wilmer/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-wilmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-wilmer/subscriptions","organizations_url":"https://api.github.com/users/alex-wilmer/orgs","repos_url":"https://api.github.com/users/alex-wilmer/repos","events_url":"https://api.github.com/users/alex-wilmer/events{/privacy}","received_events_url":"https://api.github.com/users/alex-wilmer/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-09T17:58:36Z","updated_at":"2016-12-09T18:52:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97e9ec34e206cc10e972710f2bb9327b7aad1160","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177/commits","review_comments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177/comments","review_comment_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/1177/comments","statuses_url":"https://api.github.com/repos/NCI-GDC/portal-ui/statuses/28c12299e9397911602bbb33fa25a7d5993ab9f1","head":{"label":"NCI-GDC:chore/knit-eslint","ref":"chore/knit-eslint","sha":"28c12299e9397911602bbb33fa25a7d5993ab9f1","user":{"login":"NCI-GDC","id":7882952,"avatar_url":"https://avatars.githubusercontent.com/u/7882952?v=3","gravatar_id":"","url":"https://api.github.com/users/NCI-GDC","html_url":"https://github.com/NCI-GDC","followers_url":"https://api.github.com/users/NCI-GDC/followers","following_url":"https://api.github.com/users/NCI-GDC/following{/other_user}","gists_url":"https://api.github.com/users/NCI-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/NCI-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCI-GDC/subscriptions","organizations_url":"https://api.github.com/users/NCI-GDC/orgs","repos_url":"https://api.github.com/users/NCI-GDC/repos","events_url":"https://api.github.com/users/NCI-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/NCI-GDC/received_events","type":"Organization","site_admin":false},"repo":{"id":24725091,"name":"portal-ui","full_name":"NCI-GDC/portal-ui","owner":{"login":"NCI-GDC","id":7882952,"avatar_url":"https://avatars.githubusercontent.com/u/7882952?v=3","gravatar_id":"","url":"https://api.github.com/users/NCI-GDC","html_url":"https://github.com/NCI-GDC","followers_url":"https://api.github.com/users/NCI-GDC/followers","following_url":"https://api.github.com/users/NCI-GDC/following{/other_user}","gists_url":"https://api.github.com/users/NCI-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/NCI-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCI-GDC/subscriptions","organizations_url":"https://api.github.com/users/NCI-GDC/orgs","repos_url":"https://api.github.com/users/NCI-GDC/repos","events_url":"https://api.github.com/users/NCI-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/NCI-GDC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCI-GDC/portal-ui","description":"GDC Data Portal UI","fork":false,"url":"https://api.github.com/repos/NCI-GDC/portal-ui","forks_url":"https://api.github.com/repos/NCI-GDC/portal-ui/forks","keys_url":"https://api.github.com/repos/NCI-GDC/portal-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCI-GDC/portal-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCI-GDC/portal-ui/teams","hooks_url":"https://api.github.com/repos/NCI-GDC/portal-ui/hooks","issue_events_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/events{/number}","events_url":"https://api.github.com/repos/NCI-GDC/portal-ui/events","assignees_url":"https://api.github.com/repos/NCI-GDC/portal-ui/assignees{/user}","branches_url":"https://api.github.com/repos/NCI-GDC/portal-ui/branches{/branch}","tags_url":"https://api.github.com/repos/NCI-GDC/portal-ui/tags","blobs_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCI-GDC/portal-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/NCI-GDC/portal-ui/languages","stargazers_url":"https://api.github.com/repos/NCI-GDC/portal-ui/stargazers","contributors_url":"https://api.github.com/repos/NCI-GDC/portal-ui/contributors","subscribers_url":"https://api.github.com/repos/NCI-GDC/portal-ui/subscribers","subscription_url":"https://api.github.com/repos/NCI-GDC/portal-ui/subscription","commits_url":"https://api.github.com/repos/NCI-GDC/portal-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCI-GDC/portal-ui/contents/{+path}","compare_url":"https://api.github.com/repos/NCI-GDC/portal-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCI-GDC/portal-ui/merges","archive_url":"https://api.github.com/repos/NCI-GDC/portal-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCI-GDC/portal-ui/downloads","issues_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues{/number}","pulls_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/NCI-GDC/portal-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/NCI-GDC/portal-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCI-GDC/portal-ui/labels{/name}","releases_url":"https://api.github.com/repos/NCI-GDC/portal-ui/releases{/id}","deployments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/deployments","created_at":"2014-10-02T15:39:36Z","updated_at":"2016-12-08T21:50:25Z","pushed_at":"2016-12-09T17:58:36Z","git_url":"git://github.com/NCI-GDC/portal-ui.git","ssh_url":"git@github.com:NCI-GDC/portal-ui.git","clone_url":"https://github.com/NCI-GDC/portal-ui.git","svn_url":"https://github.com/NCI-GDC/portal-ui","homepage":"https://gdc-portal.nci.nih.gov/","size":5739,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":5,"default_branch":"next"}},"base":{"label":"NCI-GDC:next","ref":"next","sha":"509419c3fbef163ee72be0a04fc086b8109acba8","user":{"login":"NCI-GDC","id":7882952,"avatar_url":"https://avatars.githubusercontent.com/u/7882952?v=3","gravatar_id":"","url":"https://api.github.com/users/NCI-GDC","html_url":"https://github.com/NCI-GDC","followers_url":"https://api.github.com/users/NCI-GDC/followers","following_url":"https://api.github.com/users/NCI-GDC/following{/other_user}","gists_url":"https://api.github.com/users/NCI-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/NCI-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCI-GDC/subscriptions","organizations_url":"https://api.github.com/users/NCI-GDC/orgs","repos_url":"https://api.github.com/users/NCI-GDC/repos","events_url":"https://api.github.com/users/NCI-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/NCI-GDC/received_events","type":"Organization","site_admin":false},"repo":{"id":24725091,"name":"portal-ui","full_name":"NCI-GDC/portal-ui","owner":{"login":"NCI-GDC","id":7882952,"avatar_url":"https://avatars.githubusercontent.com/u/7882952?v=3","gravatar_id":"","url":"https://api.github.com/users/NCI-GDC","html_url":"https://github.com/NCI-GDC","followers_url":"https://api.github.com/users/NCI-GDC/followers","following_url":"https://api.github.com/users/NCI-GDC/following{/other_user}","gists_url":"https://api.github.com/users/NCI-GDC/gists{/gist_id}","starred_url":"https://api.github.com/users/NCI-GDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCI-GDC/subscriptions","organizations_url":"https://api.github.com/users/NCI-GDC/orgs","repos_url":"https://api.github.com/users/NCI-GDC/repos","events_url":"https://api.github.com/users/NCI-GDC/events{/privacy}","received_events_url":"https://api.github.com/users/NCI-GDC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCI-GDC/portal-ui","description":"GDC Data Portal UI","fork":false,"url":"https://api.github.com/repos/NCI-GDC/portal-ui","forks_url":"https://api.github.com/repos/NCI-GDC/portal-ui/forks","keys_url":"https://api.github.com/repos/NCI-GDC/portal-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCI-GDC/portal-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCI-GDC/portal-ui/teams","hooks_url":"https://api.github.com/repos/NCI-GDC/portal-ui/hooks","issue_events_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/events{/number}","events_url":"https://api.github.com/repos/NCI-GDC/portal-ui/events","assignees_url":"https://api.github.com/repos/NCI-GDC/portal-ui/assignees{/user}","branches_url":"https://api.github.com/repos/NCI-GDC/portal-ui/branches{/branch}","tags_url":"https://api.github.com/repos/NCI-GDC/portal-ui/tags","blobs_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCI-GDC/portal-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/NCI-GDC/portal-ui/languages","stargazers_url":"https://api.github.com/repos/NCI-GDC/portal-ui/stargazers","contributors_url":"https://api.github.com/repos/NCI-GDC/portal-ui/contributors","subscribers_url":"https://api.github.com/repos/NCI-GDC/portal-ui/subscribers","subscription_url":"https://api.github.com/repos/NCI-GDC/portal-ui/subscription","commits_url":"https://api.github.com/repos/NCI-GDC/portal-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCI-GDC/portal-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCI-GDC/portal-ui/contents/{+path}","compare_url":"https://api.github.com/repos/NCI-GDC/portal-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCI-GDC/portal-ui/merges","archive_url":"https://api.github.com/repos/NCI-GDC/portal-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCI-GDC/portal-ui/downloads","issues_url":"https://api.github.com/repos/NCI-GDC/portal-ui/issues{/number}","pulls_url":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/NCI-GDC/portal-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/NCI-GDC/portal-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCI-GDC/portal-ui/labels{/name}","releases_url":"https://api.github.com/repos/NCI-GDC/portal-ui/releases{/id}","deployments_url":"https://api.github.com/repos/NCI-GDC/portal-ui/deployments","created_at":"2014-10-02T15:39:36Z","updated_at":"2016-12-08T21:50:25Z","pushed_at":"2016-12-09T17:58:36Z","git_url":"git://github.com/NCI-GDC/portal-ui.git","ssh_url":"git@github.com:NCI-GDC/portal-ui.git","clone_url":"https://github.com/NCI-GDC/portal-ui.git","svn_url":"https://github.com/NCI-GDC/portal-ui","homepage":"https://gdc-portal.nci.nih.gov/","size":5739,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":5,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177"},"html":{"href":"https://github.com/NCI-GDC/portal-ui/pull/1177"},"issue":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/1177"},"comments":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/issues/1177/comments"},"review_comments":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177/comments"},"review_comment":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/pulls/1177/commits"},"statuses":{"href":"https://api.github.com/repos/NCI-GDC/portal-ui/statuses/28c12299e9397911602bbb33fa25a7d5993ab9f1"}}}}
{"actor":{"display_login":"Jephuff"}}