{"action":"created","comment":{"url":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments/31357972","id":31357972,"diff_hunk":"@@ -21,6 +21,11 @@\n \n @worker.task(bind=True)\n def extract(self, vcf_id):\n+    register_running_task(self, vcf_id)\n+    return _extract(vcf_id)","path":"workers/genotype_extractor.py","position":5,"original_position":5,"commit_id":"108fe7e0c23f2ac3410d7c69665e30341c5fbde7","original_commit_id":"108fe7e0c23f2ac3410d7c69665e30341c5fbde7","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":"Can you just mock it out or something rather than creating confusing (IMO) `_` methods?","created_at":"2015-05-29T19:41:03Z","updated_at":"2015-05-29T19:41:03Z","html_url":"https://github.com/hammerlab/cycledash/pull/641#discussion_r31357972","pull_request_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/641","_links":{"self":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments/31357972"},"html":{"href":"https://github.com/hammerlab/cycledash/pull/641#discussion_r31357972"},"pull_request":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/641"}}},"pull_request":{"url":"https://api.github.com/repos/hammerlab/cycledash/pulls/641","id":36458222,"html_url":"https://github.com/hammerlab/cycledash/pull/641","diff_url":"https://github.com/hammerlab/cycledash/pull/641.diff","patch_url":"https://github.com/hammerlab/cycledash/pull/641.patch","issue_url":"https://api.github.com/repos/hammerlab/cycledash/issues/641","number":641,"state":"open","locked":false,"title":"Write test of the genotype extractor","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":"Tests that the extracted genotypes in the database contain the same\r\ninformation as the VCF records read with pyVCF.\r\n\r\nThis is the foundation for my plan to test a bunch of different VCF types (e.g. from Somatic Sniper, Guac, VarScan, Mutect) to make sure pyVCF and everything work with them as expected. Cf. issue like https://github.com/hammerlab/cycledash/issues/615 and https://github.com/hammerlab/cycledash/issues/559. Filed issue https://github.com/hammerlab/cycledash/issues/642 to track this.","created_at":"2015-05-28T22:37:17Z","updated_at":"2015-05-29T19:41:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcb399a729de9dd78e0e270361256f5afe6d8e73","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/641/commits","review_comments_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/641/comments","review_comment_url":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerlab/cycledash/issues/641/comments","statuses_url":"https://api.github.com/repos/hammerlab/cycledash/statuses/108fe7e0c23f2ac3410d7c69665e30341c5fbde7","head":{"label":"hammerlab:test-genotype-extractor","ref":"test-genotype-extractor","sha":"108fe7e0c23f2ac3410d7c69665e30341c5fbde7","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-05-25T17:19:53Z","pushed_at":"2015-05-29T19:27:38Z","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":58504,"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":176,"forks":0,"open_issues":176,"watchers":17,"default_branch":"master"}},"base":{"label":"hammerlab:master","ref":"master","sha":"0410a36f90c324237a59a335b294e7f4d3c5f2ad","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-05-25T17:19:53Z","pushed_at":"2015-05-29T19:27:38Z","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":58504,"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":176,"forks":0,"open_issues":176,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/641"},"html":{"href":"https://github.com/hammerlab/cycledash/pull/641"},"issue":{"href":"https://api.github.com/repos/hammerlab/cycledash/issues/641"},"comments":{"href":"https://api.github.com/repos/hammerlab/cycledash/issues/641/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/641/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerlab/cycledash/pulls/641/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/cycledash/statuses/108fe7e0c23f2ac3410d7c69665e30341c5fbde7"}}}}