{"action":"created","comment":{"url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/comments/213141499","pull_request_review_id":149915242,"id":213141499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzE0MTQ5OQ==","diff_hunk":"@@ -146,12 +146,15 @@ def fetch_from_s3(src,\n                     os.remove(dst)\n                 return None\n \n+\n def fetch_byterange(first_byte, last_byte, bucket, key, output_file):\n     get_range = f\"aws s3api get-object \" \\\n                 f\"--range bytes={first_byte}-{last_byte} \" \\\n                 f\"--bucket {bucket} \" \\\n                 f\"--key {key} {output_file}\"\n-    command.execute(get_range)\n+    get_range_proc = subprocess.Popen(get_range, shell=True, stdout=subprocess.DEVNULL)\n+    get_range_proc.wait()\n+","path":"idseq_dag/util/s3.py","position":13,"original_position":13,"commit_id":"340b3e1b992a9fce526b13f1fb940cee03912a1b","original_commit_id":"340b3e1b992a9fce526b13f1fb940cee03912a1b","user":{"login":"tfrcarvalho","id":37312125,"node_id":"MDQ6VXNlcjM3MzEyMTI1","avatar_url":"https://avatars1.githubusercontent.com/u/37312125?v=4","gravatar_id":"","url":"https://api.github.com/users/tfrcarvalho","html_url":"https://github.com/tfrcarvalho","followers_url":"https://api.github.com/users/tfrcarvalho/followers","following_url":"https://api.github.com/users/tfrcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/tfrcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/tfrcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfrcarvalho/subscriptions","organizations_url":"https://api.github.com/users/tfrcarvalho/orgs","repos_url":"https://api.github.com/users/tfrcarvalho/repos","events_url":"https://api.github.com/users/tfrcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/tfrcarvalho/received_events","type":"User","site_admin":false},"body":"nit: remove blank line.","created_at":"2018-08-27T23:02:19Z","updated_at":"2018-08-27T23:02:19Z","html_url":"https://github.com/chanzuckerberg/idseq-dag/pull/59#discussion_r213141499","pull_request_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/comments/213141499"},"html":{"href":"https://github.com/chanzuckerberg/idseq-dag/pull/59#discussion_r213141499"},"pull_request":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59","id":210606114,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNjA2MTE0","html_url":"https://github.com/chanzuckerberg/idseq-dag/pull/59","diff_url":"https://github.com/chanzuckerberg/idseq-dag/pull/59.diff","patch_url":"https://github.com/chanzuckerberg/idseq-dag/pull/59.patch","issue_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/59","number":59,"state":"open","locked":false,"title":"Suppress s3api calls output","user":{"login":"jshoe","id":5652739,"node_id":"MDQ6VXNlcjU2NTI3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5652739?v=4","gravatar_id":"","url":"https://api.github.com/users/jshoe","html_url":"https://github.com/jshoe","followers_url":"https://api.github.com/users/jshoe/followers","following_url":"https://api.github.com/users/jshoe/following{/other_user}","gists_url":"https://api.github.com/users/jshoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jshoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshoe/subscriptions","organizations_url":"https://api.github.com/users/jshoe/orgs","repos_url":"https://api.github.com/users/jshoe/repos","events_url":"https://api.github.com/users/jshoe/events{/privacy}","received_events_url":"https://api.github.com/users/jshoe/received_events","type":"User","site_admin":false},"body":"- Goes to devnull like before so it doesn't clutter the logs\r\n- Test run for this branch: https://staging.idseq.net/samples/989","created_at":"2018-08-23T23:56:07Z","updated_at":"2018-08-27T23:02:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7750b43f824a9ed74a73582ed96a0144e6e9b9a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"boris-dimitrov","id":22705973,"node_id":"MDQ6VXNlcjIyNzA1OTcz","avatar_url":"https://avatars0.githubusercontent.com/u/22705973?v=4","gravatar_id":"","url":"https://api.github.com/users/boris-dimitrov","html_url":"https://github.com/boris-dimitrov","followers_url":"https://api.github.com/users/boris-dimitrov/followers","following_url":"https://api.github.com/users/boris-dimitrov/following{/other_user}","gists_url":"https://api.github.com/users/boris-dimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/boris-dimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boris-dimitrov/subscriptions","organizations_url":"https://api.github.com/users/boris-dimitrov/orgs","repos_url":"https://api.github.com/users/boris-dimitrov/repos","events_url":"https://api.github.com/users/boris-dimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/boris-dimitrov/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59/commits","review_comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59/comments","review_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/59/comments","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/statuses/340b3e1b992a9fce526b13f1fb940cee03912a1b","head":{"label":"chanzuckerberg:jsheu/s3api","ref":"jsheu/s3api","sha":"340b3e1b992a9fce526b13f1fb940cee03912a1b","user":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":135776041,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3NzYwNDE=","name":"idseq-dag","full_name":"chanzuckerberg/idseq-dag","owner":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chanzuckerberg/idseq-dag","description":"Running idseq pipeline with a json based dag configuration. ","fork":false,"url":"https://api.github.com/repos/chanzuckerberg/idseq-dag","forks_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/deployments","created_at":"2018-06-02T00:58:48Z","updated_at":"2018-08-27T21:37:49Z","pushed_at":"2018-08-27T22:51:42Z","git_url":"git://github.com/chanzuckerberg/idseq-dag.git","ssh_url":"git@github.com:chanzuckerberg/idseq-dag.git","clone_url":"https://github.com/chanzuckerberg/idseq-dag.git","svn_url":"https://github.com/chanzuckerberg/idseq-dag","homepage":"https://idseq.net","size":425,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"chanzuckerberg:master","ref":"master","sha":"596820b3a68d0e83c1edd32218ade1de888197df","user":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"repo":{"id":135776041,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3NzYwNDE=","name":"idseq-dag","full_name":"chanzuckerberg/idseq-dag","owner":{"login":"chanzuckerberg","id":19917299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTE3Mjk5","avatar_url":"https://avatars2.githubusercontent.com/u/19917299?v=4","gravatar_id":"","url":"https://api.github.com/users/chanzuckerberg","html_url":"https://github.com/chanzuckerberg","followers_url":"https://api.github.com/users/chanzuckerberg/followers","following_url":"https://api.github.com/users/chanzuckerberg/following{/other_user}","gists_url":"https://api.github.com/users/chanzuckerberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chanzuckerberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanzuckerberg/subscriptions","organizations_url":"https://api.github.com/users/chanzuckerberg/orgs","repos_url":"https://api.github.com/users/chanzuckerberg/repos","events_url":"https://api.github.com/users/chanzuckerberg/events{/privacy}","received_events_url":"https://api.github.com/users/chanzuckerberg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chanzuckerberg/idseq-dag","description":"Running idseq pipeline with a json based dag configuration. ","fork":false,"url":"https://api.github.com/repos/chanzuckerberg/idseq-dag","forks_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/forks","keys_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/teams","hooks_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/hooks","issue_events_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/events{/number}","events_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/events","assignees_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/assignees{/user}","branches_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/branches{/branch}","tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/tags","blobs_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/refs{/sha}","trees_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/statuses/{sha}","languages_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/languages","stargazers_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/stargazers","contributors_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/contributors","subscribers_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/subscribers","subscription_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/subscription","commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/commits{/sha}","git_commits_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/git/commits{/sha}","comments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/comments{/number}","issue_comment_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/comments{/number}","contents_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/contents/{+path}","compare_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/merges","archive_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/downloads","issues_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues{/number}","pulls_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls{/number}","milestones_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/milestones{/number}","notifications_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/labels{/name}","releases_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/releases{/id}","deployments_url":"https://api.github.com/repos/chanzuckerberg/idseq-dag/deployments","created_at":"2018-06-02T00:58:48Z","updated_at":"2018-08-27T21:37:49Z","pushed_at":"2018-08-27T22:51:42Z","git_url":"git://github.com/chanzuckerberg/idseq-dag.git","ssh_url":"git@github.com:chanzuckerberg/idseq-dag.git","clone_url":"https://github.com/chanzuckerberg/idseq-dag.git","svn_url":"https://github.com/chanzuckerberg/idseq-dag","homepage":"https://idseq.net","size":425,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59"},"html":{"href":"https://github.com/chanzuckerberg/idseq-dag/pull/59"},"issue":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/59"},"comments":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/chanzuckerberg/idseq-dag/statuses/340b3e1b992a9fce526b13f1fb940cee03912a1b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tfrcarvalho"}}