{"action":"created","comment":{"url":"https://api.github.com/repos/cmap/l1ktools/pulls/comments/89413581","pull_request_review_id":9959405,"id":89413581,"diff_hunk":"@@ -1,82 +0,0 @@\n-\"\"\"\n-Slices a random subset of a GCToo instance of a user-specified size. \n-\"\"\"\n-import logging\n-import setup_GCToo_logger as setup_logger\n-import argparse\n-import sys\n-import pandas\n-import GCToo\n-import uuid\n-import random","path":"python/broadinstitute_cmap/io/GCToo/random_slice.py","position":11,"original_position":11,"commit_id":"7fc768531507852c267ed72ae63f854d558691ff","original_commit_id":"7fc768531507852c267ed72ae63f854d558691ff","user":{"login":"dllahr","id":1565474,"avatar_url":"https://avatars.githubusercontent.com/u/1565474?v=3","gravatar_id":"","url":"https://api.github.com/users/dllahr","html_url":"https://github.com/dllahr","followers_url":"https://api.github.com/users/dllahr/followers","following_url":"https://api.github.com/users/dllahr/following{/other_user}","gists_url":"https://api.github.com/users/dllahr/gists{/gist_id}","starred_url":"https://api.github.com/users/dllahr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dllahr/subscriptions","organizations_url":"https://api.github.com/users/dllahr/orgs","repos_url":"https://api.github.com/users/dllahr/repos","events_url":"https://api.github.com/users/dllahr/events{/privacy}","received_events_url":"https://api.github.com/users/dllahr/received_events","type":"User","site_admin":false},"body":"after the refactor below, clean up the imports - need to import numpy, should be able to remove uuid, random, others?","created_at":"2016-11-23T23:10:26Z","updated_at":"2016-11-23T23:10:26Z","html_url":"https://github.com/cmap/l1ktools/pull/27#discussion_r89413581","pull_request_url":"https://api.github.com/repos/cmap/l1ktools/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/comments/89413581"},"html":{"href":"https://github.com/cmap/l1ktools/pull/27#discussion_r89413581"},"pull_request":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/cmap/l1ktools/pulls/27","id":94228552,"html_url":"https://github.com/cmap/l1ktools/pull/27","diff_url":"https://github.com/cmap/l1ktools/pull/27.diff","patch_url":"https://github.com/cmap/l1ktools/pull/27.patch","issue_url":"https://api.github.com/repos/cmap/l1ktools/issues/27","number":27,"state":"open","locked":false,"title":"GCToo(x) code review - NB do not merge!!!","user":{"login":"dllahr","id":1565474,"avatar_url":"https://avatars.githubusercontent.com/u/1565474?v=3","gravatar_id":"","url":"https://api.github.com/users/dllahr","html_url":"https://github.com/dllahr","followers_url":"https://api.github.com/users/dllahr/followers","following_url":"https://api.github.com/users/dllahr/following{/other_user}","gists_url":"https://api.github.com/users/dllahr/gists{/gist_id}","starred_url":"https://api.github.com/users/dllahr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dllahr/subscriptions","organizations_url":"https://api.github.com/users/dllahr/orgs","repos_url":"https://api.github.com/users/dllahr/repos","events_url":"https://api.github.com/users/dllahr/events{/privacy}","received_events_url":"https://api.github.com/users/dllahr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T18:59:44Z","updated_at":"2016-11-23T23:10:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c8025399cba4aa4526d64c02369cf6d7deee10f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmap/l1ktools/pulls/27/commits","review_comments_url":"https://api.github.com/repos/cmap/l1ktools/pulls/27/comments","review_comment_url":"https://api.github.com/repos/cmap/l1ktools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmap/l1ktools/issues/27/comments","statuses_url":"https://api.github.com/repos/cmap/l1ktools/statuses/7fc768531507852c267ed72ae63f854d558691ff","head":{"label":"cmap:inverse_GCToo_for_code_review","ref":"inverse_GCToo_for_code_review","sha":"7fc768531507852c267ed72ae63f854d558691ff","user":{"login":"cmap","id":2942112,"avatar_url":"https://avatars.githubusercontent.com/u/2942112?v=3","gravatar_id":"","url":"https://api.github.com/users/cmap","html_url":"https://github.com/cmap","followers_url":"https://api.github.com/users/cmap/followers","following_url":"https://api.github.com/users/cmap/following{/other_user}","gists_url":"https://api.github.com/users/cmap/gists{/gist_id}","starred_url":"https://api.github.com/users/cmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmap/subscriptions","organizations_url":"https://api.github.com/users/cmap/orgs","repos_url":"https://api.github.com/users/cmap/repos","events_url":"https://api.github.com/users/cmap/events{/privacy}","received_events_url":"https://api.github.com/users/cmap/received_events","type":"Organization","site_admin":false},"repo":{"id":9021956,"name":"l1ktools","full_name":"cmap/l1ktools","owner":{"login":"cmap","id":2942112,"avatar_url":"https://avatars.githubusercontent.com/u/2942112?v=3","gravatar_id":"","url":"https://api.github.com/users/cmap","html_url":"https://github.com/cmap","followers_url":"https://api.github.com/users/cmap/followers","following_url":"https://api.github.com/users/cmap/following{/other_user}","gists_url":"https://api.github.com/users/cmap/gists{/gist_id}","starred_url":"https://api.github.com/users/cmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmap/subscriptions","organizations_url":"https://api.github.com/users/cmap/orgs","repos_url":"https://api.github.com/users/cmap/repos","events_url":"https://api.github.com/users/cmap/events{/privacy}","received_events_url":"https://api.github.com/users/cmap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cmap/l1ktools","description":"mongo","fork":false,"url":"https://api.github.com/repos/cmap/l1ktools","forks_url":"https://api.github.com/repos/cmap/l1ktools/forks","keys_url":"https://api.github.com/repos/cmap/l1ktools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmap/l1ktools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmap/l1ktools/teams","hooks_url":"https://api.github.com/repos/cmap/l1ktools/hooks","issue_events_url":"https://api.github.com/repos/cmap/l1ktools/issues/events{/number}","events_url":"https://api.github.com/repos/cmap/l1ktools/events","assignees_url":"https://api.github.com/repos/cmap/l1ktools/assignees{/user}","branches_url":"https://api.github.com/repos/cmap/l1ktools/branches{/branch}","tags_url":"https://api.github.com/repos/cmap/l1ktools/tags","blobs_url":"https://api.github.com/repos/cmap/l1ktools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmap/l1ktools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmap/l1ktools/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmap/l1ktools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmap/l1ktools/statuses/{sha}","languages_url":"https://api.github.com/repos/cmap/l1ktools/languages","stargazers_url":"https://api.github.com/repos/cmap/l1ktools/stargazers","contributors_url":"https://api.github.com/repos/cmap/l1ktools/contributors","subscribers_url":"https://api.github.com/repos/cmap/l1ktools/subscribers","subscription_url":"https://api.github.com/repos/cmap/l1ktools/subscription","commits_url":"https://api.github.com/repos/cmap/l1ktools/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmap/l1ktools/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmap/l1ktools/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmap/l1ktools/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmap/l1ktools/contents/{+path}","compare_url":"https://api.github.com/repos/cmap/l1ktools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmap/l1ktools/merges","archive_url":"https://api.github.com/repos/cmap/l1ktools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmap/l1ktools/downloads","issues_url":"https://api.github.com/repos/cmap/l1ktools/issues{/number}","pulls_url":"https://api.github.com/repos/cmap/l1ktools/pulls{/number}","milestones_url":"https://api.github.com/repos/cmap/l1ktools/milestones{/number}","notifications_url":"https://api.github.com/repos/cmap/l1ktools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmap/l1ktools/labels{/name}","releases_url":"https://api.github.com/repos/cmap/l1ktools/releases{/id}","deployments_url":"https://api.github.com/repos/cmap/l1ktools/deployments","created_at":"2013-03-26T03:24:17Z","updated_at":"2016-10-24T20:48:13Z","pushed_at":"2016-11-22T14:53:16Z","git_url":"git://github.com/cmap/l1ktools.git","ssh_url":"git@github.com:cmap/l1ktools.git","clone_url":"https://github.com/cmap/l1ktools.git","svn_url":"https://github.com/cmap/l1ktools","homepage":"","size":699775,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":7,"forks":62,"open_issues":7,"watchers":25,"default_branch":"master"}},"base":{"label":"cmap:master","ref":"master","sha":"9f34174ef534c3b78ea8200e1ae00af2b7b5c552","user":{"login":"cmap","id":2942112,"avatar_url":"https://avatars.githubusercontent.com/u/2942112?v=3","gravatar_id":"","url":"https://api.github.com/users/cmap","html_url":"https://github.com/cmap","followers_url":"https://api.github.com/users/cmap/followers","following_url":"https://api.github.com/users/cmap/following{/other_user}","gists_url":"https://api.github.com/users/cmap/gists{/gist_id}","starred_url":"https://api.github.com/users/cmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmap/subscriptions","organizations_url":"https://api.github.com/users/cmap/orgs","repos_url":"https://api.github.com/users/cmap/repos","events_url":"https://api.github.com/users/cmap/events{/privacy}","received_events_url":"https://api.github.com/users/cmap/received_events","type":"Organization","site_admin":false},"repo":{"id":9021956,"name":"l1ktools","full_name":"cmap/l1ktools","owner":{"login":"cmap","id":2942112,"avatar_url":"https://avatars.githubusercontent.com/u/2942112?v=3","gravatar_id":"","url":"https://api.github.com/users/cmap","html_url":"https://github.com/cmap","followers_url":"https://api.github.com/users/cmap/followers","following_url":"https://api.github.com/users/cmap/following{/other_user}","gists_url":"https://api.github.com/users/cmap/gists{/gist_id}","starred_url":"https://api.github.com/users/cmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmap/subscriptions","organizations_url":"https://api.github.com/users/cmap/orgs","repos_url":"https://api.github.com/users/cmap/repos","events_url":"https://api.github.com/users/cmap/events{/privacy}","received_events_url":"https://api.github.com/users/cmap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cmap/l1ktools","description":"mongo","fork":false,"url":"https://api.github.com/repos/cmap/l1ktools","forks_url":"https://api.github.com/repos/cmap/l1ktools/forks","keys_url":"https://api.github.com/repos/cmap/l1ktools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmap/l1ktools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmap/l1ktools/teams","hooks_url":"https://api.github.com/repos/cmap/l1ktools/hooks","issue_events_url":"https://api.github.com/repos/cmap/l1ktools/issues/events{/number}","events_url":"https://api.github.com/repos/cmap/l1ktools/events","assignees_url":"https://api.github.com/repos/cmap/l1ktools/assignees{/user}","branches_url":"https://api.github.com/repos/cmap/l1ktools/branches{/branch}","tags_url":"https://api.github.com/repos/cmap/l1ktools/tags","blobs_url":"https://api.github.com/repos/cmap/l1ktools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmap/l1ktools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmap/l1ktools/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmap/l1ktools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmap/l1ktools/statuses/{sha}","languages_url":"https://api.github.com/repos/cmap/l1ktools/languages","stargazers_url":"https://api.github.com/repos/cmap/l1ktools/stargazers","contributors_url":"https://api.github.com/repos/cmap/l1ktools/contributors","subscribers_url":"https://api.github.com/repos/cmap/l1ktools/subscribers","subscription_url":"https://api.github.com/repos/cmap/l1ktools/subscription","commits_url":"https://api.github.com/repos/cmap/l1ktools/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmap/l1ktools/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmap/l1ktools/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmap/l1ktools/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmap/l1ktools/contents/{+path}","compare_url":"https://api.github.com/repos/cmap/l1ktools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmap/l1ktools/merges","archive_url":"https://api.github.com/repos/cmap/l1ktools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmap/l1ktools/downloads","issues_url":"https://api.github.com/repos/cmap/l1ktools/issues{/number}","pulls_url":"https://api.github.com/repos/cmap/l1ktools/pulls{/number}","milestones_url":"https://api.github.com/repos/cmap/l1ktools/milestones{/number}","notifications_url":"https://api.github.com/repos/cmap/l1ktools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmap/l1ktools/labels{/name}","releases_url":"https://api.github.com/repos/cmap/l1ktools/releases{/id}","deployments_url":"https://api.github.com/repos/cmap/l1ktools/deployments","created_at":"2013-03-26T03:24:17Z","updated_at":"2016-10-24T20:48:13Z","pushed_at":"2016-11-22T14:53:16Z","git_url":"git://github.com/cmap/l1ktools.git","ssh_url":"git@github.com:cmap/l1ktools.git","clone_url":"https://github.com/cmap/l1ktools.git","svn_url":"https://github.com/cmap/l1ktools","homepage":"","size":699775,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":7,"forks":62,"open_issues":7,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/27"},"html":{"href":"https://github.com/cmap/l1ktools/pull/27"},"issue":{"href":"https://api.github.com/repos/cmap/l1ktools/issues/27"},"comments":{"href":"https://api.github.com/repos/cmap/l1ktools/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmap/l1ktools/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/cmap/l1ktools/statuses/7fc768531507852c267ed72ae63f854d558691ff"}}}}
{"actor":{"display_login":"dllahr"}}