{"action":"created","comment":{"url":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments/31563442","id":31563442,"diff_hunk":"@@ -66,6 +66,11 @@ def find(iterable, pred):\n             return x\n \n \n+def pluck(obj, *keys):","path":"common/helpers.py","position":4,"original_position":4,"commit_id":"2fde8fe8bf1168e8e85aedf9b5e48d367c66036a","original_commit_id":"2fde8fe8bf1168e8e85aedf9b5e48d367c66036a","user":{"login":"tavinathanson","id":322932,"avatar_url":"https://avatars.githubusercontent.com/u/322932?v=3","gravatar_id":"","url":"https://api.github.com/users/tavinathanson","html_url":"https://github.com/tavinathanson","followers_url":"https://api.github.com/users/tavinathanson/followers","following_url":"https://api.github.com/users/tavinathanson/following{/other_user}","gists_url":"https://api.github.com/users/tavinathanson/gists{/gist_id}","starred_url":"https://api.github.com/users/tavinathanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavinathanson/subscriptions","organizations_url":"https://api.github.com/users/tavinathanson/orgs","repos_url":"https://api.github.com/users/tavinathanson/repos","events_url":"https://api.github.com/users/tavinathanson/events{/privacy}","received_events_url":"https://api.github.com/users/tavinathanson/received_events","type":"User","site_admin":false},"body":"http://funcy.readthedocs.org/en/latest/colls.html#pluck?","created_at":"2015-06-02T19:51:30Z","updated_at":"2015-06-02T19:51:30Z","html_url":"https://github.com/hammerlab/cycledash/pull/678#discussion_r31563442","pull_request_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/678","_links":{"self":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments/31563442"},"html":{"href":"https://github.com/hammerlab/cycledash/pull/678#discussion_r31563442"},"pull_request":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/678"}}},"pull_request":{"url":"https://api.github.com/repos/hammerlab/cycledash/pulls/678","id":36766708,"html_url":"https://github.com/hammerlab/cycledash/pull/678","diff_url":"https://github.com/hammerlab/cycledash/pull/678.diff","patch_url":"https://github.com/hammerlab/cycledash/pull/678.patch","issue_url":"https://api.github.com/repos/hammerlab/cycledash/issues/678","number":678,"state":"open","locked":false,"title":"Add tests for genotypes api, fix contig ordering","user":{"login":"ihodes","id":167803,"avatar_url":"https://avatars.githubusercontent.com/u/167803?v=3","gravatar_id":"","url":"https://api.github.com/users/ihodes","html_url":"https://github.com/ihodes","followers_url":"https://api.github.com/users/ihodes/followers","following_url":"https://api.github.com/users/ihodes/following{/other_user}","gists_url":"https://api.github.com/users/ihodes/gists{/gist_id}","starred_url":"https://api.github.com/users/ihodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihodes/subscriptions","organizations_url":"https://api.github.com/users/ihodes/orgs","repos_url":"https://api.github.com/users/ihodes/repos","events_url":"https://api.github.com/users/ihodes/events{/privacy}","received_events_url":"https://api.github.com/users/ihodes/received_events","type":"User","site_admin":false},"body":"fix https://github.com/hammerlab/cycledash/issues/407 & adds regression test for it + lots of other genotypes tests (ticking off some todos in #636, and setting up easy template for the rest)\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/hammerlab/cycledash/678)\n<!-- Reviewable:end -->\n","created_at":"2015-06-02T19:48:01Z","updated_at":"2015-06-02T19:51:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9460abc24b637746b35763a2905beeda5ab97bd9","assignee":{"login":"tavinathanson","id":322932,"avatar_url":"https://avatars.githubusercontent.com/u/322932?v=3","gravatar_id":"","url":"https://api.github.com/users/tavinathanson","html_url":"https://github.com/tavinathanson","followers_url":"https://api.github.com/users/tavinathanson/followers","following_url":"https://api.github.com/users/tavinathanson/following{/other_user}","gists_url":"https://api.github.com/users/tavinathanson/gists{/gist_id}","starred_url":"https://api.github.com/users/tavinathanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavinathanson/subscriptions","organizations_url":"https://api.github.com/users/tavinathanson/orgs","repos_url":"https://api.github.com/users/tavinathanson/repos","events_url":"https://api.github.com/users/tavinathanson/events{/privacy}","received_events_url":"https://api.github.com/users/tavinathanson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/678/commits","review_comments_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/678/comments","review_comment_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerlab/cycledash/issues/678/comments","statuses_url":"https://api.github.com/repos/hammerlab/cycledash/statuses/2fde8fe8bf1168e8e85aedf9b5e48d367c66036a","head":{"label":"hammerlab:issue-636-genotypes-api-test","ref":"issue-636-genotypes-api-test","sha":"2fde8fe8bf1168e8e85aedf9b5e48d367c66036a","user":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"repo":{"id":20279144,"name":"cycledash","full_name":"hammerlab/cycledash","owner":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerlab/cycledash","description":"Variant Caller Analysis Dashboard and Data Management System","fork":false,"url":"https://api.github.com/repos/hammerlab/cycledash","forks_url":"https://api.github.com/repos/hammerlab/cycledash/forks","keys_url":"https://api.github.com/repos/hammerlab/cycledash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/cycledash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/cycledash/teams","hooks_url":"https://api.github.com/repos/hammerlab/cycledash/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/cycledash/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/cycledash/events","assignees_url":"https://api.github.com/repos/hammerlab/cycledash/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/cycledash/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/cycledash/tags","blobs_url":"https://api.github.com/repos/hammerlab/cycledash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/cycledash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/cycledash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/cycledash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/cycledash/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/cycledash/languages","stargazers_url":"https://api.github.com/repos/hammerlab/cycledash/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/cycledash/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/cycledash/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/cycledash/subscription","commits_url":"https://api.github.com/repos/hammerlab/cycledash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/cycledash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/cycledash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/cycledash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/cycledash/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/cycledash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/cycledash/merges","archive_url":"https://api.github.com/repos/hammerlab/cycledash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/cycledash/downloads","issues_url":"https://api.github.com/repos/hammerlab/cycledash/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/cycledash/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/cycledash/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/cycledash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/cycledash/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/cycledash/releases{/id}","created_at":"2014-05-29T01:58:41Z","updated_at":"2015-06-01T00:33:26Z","pushed_at":"2015-06-02T19:48:03Z","git_url":"git://github.com/hammerlab/cycledash.git","ssh_url":"git@github.com:hammerlab/cycledash.git","clone_url":"https://github.com/hammerlab/cycledash.git","svn_url":"https://github.com/hammerlab/cycledash","homepage":null,"size":60908,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":187,"forks":0,"open_issues":187,"watchers":17,"default_branch":"master"}},"base":{"label":"hammerlab:master","ref":"master","sha":"ff0f741d453b8aac17c5d3afd4e7ae5be3ec900e","user":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"repo":{"id":20279144,"name":"cycledash","full_name":"hammerlab/cycledash","owner":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerlab/cycledash","description":"Variant Caller Analysis Dashboard and Data Management System","fork":false,"url":"https://api.github.com/repos/hammerlab/cycledash","forks_url":"https://api.github.com/repos/hammerlab/cycledash/forks","keys_url":"https://api.github.com/repos/hammerlab/cycledash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/cycledash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/cycledash/teams","hooks_url":"https://api.github.com/repos/hammerlab/cycledash/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/cycledash/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/cycledash/events","assignees_url":"https://api.github.com/repos/hammerlab/cycledash/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/cycledash/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/cycledash/tags","blobs_url":"https://api.github.com/repos/hammerlab/cycledash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/cycledash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/cycledash/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/cycledash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/cycledash/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/cycledash/languages","stargazers_url":"https://api.github.com/repos/hammerlab/cycledash/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/cycledash/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/cycledash/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/cycledash/subscription","commits_url":"https://api.github.com/repos/hammerlab/cycledash/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/cycledash/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/cycledash/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/cycledash/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/cycledash/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/cycledash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/cycledash/merges","archive_url":"https://api.github.com/repos/hammerlab/cycledash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/cycledash/downloads","issues_url":"https://api.github.com/repos/hammerlab/cycledash/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/cycledash/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/cycledash/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/cycledash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/cycledash/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/cycledash/releases{/id}","created_at":"2014-05-29T01:58:41Z","updated_at":"2015-06-01T00:33:26Z","pushed_at":"2015-06-02T19:48:03Z","git_url":"git://github.com/hammerlab/cycledash.git","ssh_url":"git@github.com:hammerlab/cycledash.git","clone_url":"https://github.com/hammerlab/cycledash.git","svn_url":"https://github.com/hammerlab/cycledash","homepage":null,"size":60908,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":187,"forks":0,"open_issues":187,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/678"},"html":{"href":"https://github.com/hammerlab/cycledash/pull/678"},"issue":{"href":"https://api.github.com/repos/hammerlab/cycledash/issues/678"},"comments":{"href":"https://api.github.com/repos/hammerlab/cycledash/issues/678/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/678/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/678/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/cycledash/statuses/2fde8fe8bf1168e8e85aedf9b5e48d367c66036a"}}}}