{"action":"closed","number":216,"pull_request":{"url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216","id":50273103,"html_url":"https://github.com/monarch-initiative/phenogrid/pull/216","diff_url":"https://github.com/monarch-initiative/phenogrid/pull/216.diff","patch_url":"https://github.com/monarch-initiative/phenogrid/pull/216.patch","issue_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/216","number":216,"state":"closed","locked":false,"title":"Color scale related fixes","user":{"login":"yuanzhou","id":195873,"avatar_url":"https://avatars.githubusercontent.com/u/195873?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanzhou","html_url":"https://github.com/yuanzhou","followers_url":"https://api.github.com/users/yuanzhou/followers","following_url":"https://api.github.com/users/yuanzhou/following{/other_user}","gists_url":"https://api.github.com/users/yuanzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanzhou/subscriptions","organizations_url":"https://api.github.com/users/yuanzhou/orgs","repos_url":"https://api.github.com/users/yuanzhou/repos","events_url":"https://api.github.com/users/yuanzhou/events{/privacy}","received_events_url":"https://api.github.com/users/yuanzhou/received_events","type":"User","site_admin":false},"body":"@harryhoch FYI, this PR follows Kent's PR: https://github.com/monarch-initiative/monarch-app/pull/1066\r\n\r\nHis PR didn't fully address the `metadata` issue because we use `metadata.maxMaxIC` to generate the color scale for \"Uniqueness\" calculation. Other three calculation methods don't rely this `metadata`.  So I updated the check to this detail. \r\n\r\nAlso inspected the color scale creation functionalities and added comments.\r\n\r\nI'll just go ahead and merge this PR since there's no other changes.","created_at":"2015-11-10T16:09:41Z","updated_at":"2015-11-10T16:15:15Z","closed_at":"2015-11-10T16:15:15Z","merged_at":"2015-11-10T16:15:15Z","merge_commit_sha":"c2c0b1052e571b6898c98b50b6ee67498f960d73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216/commits","review_comments_url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216/comments","review_comment_url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/216/comments","statuses_url":"https://api.github.com/repos/monarch-initiative/phenogrid/statuses/2c354a370831e1d628a9cd25c94c0694c320fce7","head":{"label":"monarch-initiative:metadata.maxMaxIC","ref":"metadata.maxMaxIC","sha":"2c354a370831e1d628a9cd25c94c0694c320fce7","user":{"login":"monarch-initiative","id":5161984,"avatar_url":"https://avatars.githubusercontent.com/u/5161984?v=3","gravatar_id":"","url":"https://api.github.com/users/monarch-initiative","html_url":"https://github.com/monarch-initiative","followers_url":"https://api.github.com/users/monarch-initiative/followers","following_url":"https://api.github.com/users/monarch-initiative/following{/other_user}","gists_url":"https://api.github.com/users/monarch-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/monarch-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monarch-initiative/subscriptions","organizations_url":"https://api.github.com/users/monarch-initiative/orgs","repos_url":"https://api.github.com/users/monarch-initiative/repos","events_url":"https://api.github.com/users/monarch-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/monarch-initiative/received_events","type":"Organization","site_admin":false},"repo":{"id":24310719,"name":"phenogrid","full_name":"monarch-initiative/phenogrid","owner":{"login":"monarch-initiative","id":5161984,"avatar_url":"https://avatars.githubusercontent.com/u/5161984?v=3","gravatar_id":"","url":"https://api.github.com/users/monarch-initiative","html_url":"https://github.com/monarch-initiative","followers_url":"https://api.github.com/users/monarch-initiative/followers","following_url":"https://api.github.com/users/monarch-initiative/following{/other_user}","gists_url":"https://api.github.com/users/monarch-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/monarch-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monarch-initiative/subscriptions","organizations_url":"https://api.github.com/users/monarch-initiative/orgs","repos_url":"https://api.github.com/users/monarch-initiative/repos","events_url":"https://api.github.com/users/monarch-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/monarch-initiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monarch-initiative/phenogrid","description":"The phenogrid widget","fork":false,"url":"https://api.github.com/repos/monarch-initiative/phenogrid","forks_url":"https://api.github.com/repos/monarch-initiative/phenogrid/forks","keys_url":"https://api.github.com/repos/monarch-initiative/phenogrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monarch-initiative/phenogrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monarch-initiative/phenogrid/teams","hooks_url":"https://api.github.com/repos/monarch-initiative/phenogrid/hooks","issue_events_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/events{/number}","events_url":"https://api.github.com/repos/monarch-initiative/phenogrid/events","assignees_url":"https://api.github.com/repos/monarch-initiative/phenogrid/assignees{/user}","branches_url":"https://api.github.com/repos/monarch-initiative/phenogrid/branches{/branch}","tags_url":"https://api.github.com/repos/monarch-initiative/phenogrid/tags","blobs_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monarch-initiative/phenogrid/statuses/{sha}","languages_url":"https://api.github.com/repos/monarch-initiative/phenogrid/languages","stargazers_url":"https://api.github.com/repos/monarch-initiative/phenogrid/stargazers","contributors_url":"https://api.github.com/repos/monarch-initiative/phenogrid/contributors","subscribers_url":"https://api.github.com/repos/monarch-initiative/phenogrid/subscribers","subscription_url":"https://api.github.com/repos/monarch-initiative/phenogrid/subscription","commits_url":"https://api.github.com/repos/monarch-initiative/phenogrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/monarch-initiative/phenogrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/monarch-initiative/phenogrid/contents/{+path}","compare_url":"https://api.github.com/repos/monarch-initiative/phenogrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monarch-initiative/phenogrid/merges","archive_url":"https://api.github.com/repos/monarch-initiative/phenogrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monarch-initiative/phenogrid/downloads","issues_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues{/number}","pulls_url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls{/number}","milestones_url":"https://api.github.com/repos/monarch-initiative/phenogrid/milestones{/number}","notifications_url":"https://api.github.com/repos/monarch-initiative/phenogrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monarch-initiative/phenogrid/labels{/name}","releases_url":"https://api.github.com/repos/monarch-initiative/phenogrid/releases{/id}","created_at":"2014-09-22T02:00:30Z","updated_at":"2015-09-21T19:08:32Z","pushed_at":"2015-11-10T16:15:15Z","git_url":"git://github.com/monarch-initiative/phenogrid.git","ssh_url":"git@github.com:monarch-initiative/phenogrid.git","clone_url":"https://github.com/monarch-initiative/phenogrid.git","svn_url":"https://github.com/monarch-initiative/phenogrid","homepage":null,"size":10585,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":20,"forks":8,"open_issues":20,"watchers":5,"default_branch":"master"}},"base":{"label":"monarch-initiative:master","ref":"master","sha":"0d4e72263391a5dc41bcc8b94ed9135f761e7a0c","user":{"login":"monarch-initiative","id":5161984,"avatar_url":"https://avatars.githubusercontent.com/u/5161984?v=3","gravatar_id":"","url":"https://api.github.com/users/monarch-initiative","html_url":"https://github.com/monarch-initiative","followers_url":"https://api.github.com/users/monarch-initiative/followers","following_url":"https://api.github.com/users/monarch-initiative/following{/other_user}","gists_url":"https://api.github.com/users/monarch-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/monarch-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monarch-initiative/subscriptions","organizations_url":"https://api.github.com/users/monarch-initiative/orgs","repos_url":"https://api.github.com/users/monarch-initiative/repos","events_url":"https://api.github.com/users/monarch-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/monarch-initiative/received_events","type":"Organization","site_admin":false},"repo":{"id":24310719,"name":"phenogrid","full_name":"monarch-initiative/phenogrid","owner":{"login":"monarch-initiative","id":5161984,"avatar_url":"https://avatars.githubusercontent.com/u/5161984?v=3","gravatar_id":"","url":"https://api.github.com/users/monarch-initiative","html_url":"https://github.com/monarch-initiative","followers_url":"https://api.github.com/users/monarch-initiative/followers","following_url":"https://api.github.com/users/monarch-initiative/following{/other_user}","gists_url":"https://api.github.com/users/monarch-initiative/gists{/gist_id}","starred_url":"https://api.github.com/users/monarch-initiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monarch-initiative/subscriptions","organizations_url":"https://api.github.com/users/monarch-initiative/orgs","repos_url":"https://api.github.com/users/monarch-initiative/repos","events_url":"https://api.github.com/users/monarch-initiative/events{/privacy}","received_events_url":"https://api.github.com/users/monarch-initiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/monarch-initiative/phenogrid","description":"The phenogrid widget","fork":false,"url":"https://api.github.com/repos/monarch-initiative/phenogrid","forks_url":"https://api.github.com/repos/monarch-initiative/phenogrid/forks","keys_url":"https://api.github.com/repos/monarch-initiative/phenogrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monarch-initiative/phenogrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monarch-initiative/phenogrid/teams","hooks_url":"https://api.github.com/repos/monarch-initiative/phenogrid/hooks","issue_events_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/events{/number}","events_url":"https://api.github.com/repos/monarch-initiative/phenogrid/events","assignees_url":"https://api.github.com/repos/monarch-initiative/phenogrid/assignees{/user}","branches_url":"https://api.github.com/repos/monarch-initiative/phenogrid/branches{/branch}","tags_url":"https://api.github.com/repos/monarch-initiative/phenogrid/tags","blobs_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monarch-initiative/phenogrid/statuses/{sha}","languages_url":"https://api.github.com/repos/monarch-initiative/phenogrid/languages","stargazers_url":"https://api.github.com/repos/monarch-initiative/phenogrid/stargazers","contributors_url":"https://api.github.com/repos/monarch-initiative/phenogrid/contributors","subscribers_url":"https://api.github.com/repos/monarch-initiative/phenogrid/subscribers","subscription_url":"https://api.github.com/repos/monarch-initiative/phenogrid/subscription","commits_url":"https://api.github.com/repos/monarch-initiative/phenogrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/monarch-initiative/phenogrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/monarch-initiative/phenogrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/monarch-initiative/phenogrid/contents/{+path}","compare_url":"https://api.github.com/repos/monarch-initiative/phenogrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monarch-initiative/phenogrid/merges","archive_url":"https://api.github.com/repos/monarch-initiative/phenogrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monarch-initiative/phenogrid/downloads","issues_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues{/number}","pulls_url":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls{/number}","milestones_url":"https://api.github.com/repos/monarch-initiative/phenogrid/milestones{/number}","notifications_url":"https://api.github.com/repos/monarch-initiative/phenogrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monarch-initiative/phenogrid/labels{/name}","releases_url":"https://api.github.com/repos/monarch-initiative/phenogrid/releases{/id}","created_at":"2014-09-22T02:00:30Z","updated_at":"2015-09-21T19:08:32Z","pushed_at":"2015-11-10T16:15:15Z","git_url":"git://github.com/monarch-initiative/phenogrid.git","ssh_url":"git@github.com:monarch-initiative/phenogrid.git","clone_url":"https://github.com/monarch-initiative/phenogrid.git","svn_url":"https://github.com/monarch-initiative/phenogrid","homepage":null,"size":10585,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":20,"forks":8,"open_issues":20,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216"},"html":{"href":"https://github.com/monarch-initiative/phenogrid/pull/216"},"issue":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/216"},"comments":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/monarch-initiative/phenogrid/statuses/2c354a370831e1d628a9cd25c94c0694c320fce7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yuanzhou","id":195873,"avatar_url":"https://avatars.githubusercontent.com/u/195873?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanzhou","html_url":"https://github.com/yuanzhou","followers_url":"https://api.github.com/users/yuanzhou/followers","following_url":"https://api.github.com/users/yuanzhou/following{/other_user}","gists_url":"https://api.github.com/users/yuanzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanzhou/subscriptions","organizations_url":"https://api.github.com/users/yuanzhou/orgs","repos_url":"https://api.github.com/users/yuanzhou/repos","events_url":"https://api.github.com/users/yuanzhou/events{/privacy}","received_events_url":"https://api.github.com/users/yuanzhou/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":65,"deletions":48,"changed_files":3}}