{"action":"created","comment":{"url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments/235484717","pull_request_review_id":177362279,"id":235484717,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTQ4NDcxNw==","diff_hunk":"@@ -286,12 +286,17 @@ def before_send(event, hints):\n             exec_env = os.name\n             # special variable set in the container\n             if os.getenv('IS_DOCKER_8395080871'):\n-                # based on https://stackoverflow.com/a/42674935/616300\n-                with open('/proc/1/cgroup', 'rt') as ifh:\n-                    if 'docker' in ifh.read():\n-                        exec_env = 'docker'\n-                    else:\n-                        exec_env = 'singularity'\n+                docker_version = os.getenv('DOCKER_VERSION_8395080871')","path":"fmriprep/cli/run.py","position":10,"original_position":10,"commit_id":"05bb24769ce619a8a9148593f0d4d42878bc2b91","original_commit_id":"05bb24769ce619a8a9148593f0d4d42878bc2b91","user":{"login":"chrisfilo","id":238759,"node_id":"MDQ6VXNlcjIzODc1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/238759?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfilo","html_url":"https://github.com/chrisfilo","followers_url":"https://api.github.com/users/chrisfilo/followers","following_url":"https://api.github.com/users/chrisfilo/following{/other_user}","gists_url":"https://api.github.com/users/chrisfilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfilo/subscriptions","organizations_url":"https://api.github.com/users/chrisfilo/orgs","repos_url":"https://api.github.com/users/chrisfilo/repos","events_url":"https://api.github.com/users/chrisfilo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfilo/received_events","type":"User","site_admin":false},"body":"Sometimes more is more in tearms of readability. I find the original easier to understand, but it's your call.","created_at":"2018-11-21T17:46:12Z","updated_at":"2018-11-21T17:46:12Z","html_url":"https://github.com/poldracklab/fmriprep/pull/1416#discussion_r235484717","pull_request_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments/235484717"},"html":{"href":"https://github.com/poldracklab/fmriprep/pull/1416#discussion_r235484717"},"pull_request":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416"}},"in_reply_to_id":235288662},"pull_request":{"url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416","id":232483437,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDgzNDM3","html_url":"https://github.com/poldracklab/fmriprep/pull/1416","diff_url":"https://github.com/poldracklab/fmriprep/pull/1416.diff","patch_url":"https://github.com/poldracklab/fmriprep/pull/1416.patch","issue_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/1416","number":1416,"state":"open","locked":false,"title":"ENH: Add fmriprep-docker execution environment","user":{"login":"chrisfilo","id":238759,"node_id":"MDQ6VXNlcjIzODc1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/238759?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfilo","html_url":"https://github.com/chrisfilo","followers_url":"https://api.github.com/users/chrisfilo/followers","following_url":"https://api.github.com/users/chrisfilo/following{/other_user}","gists_url":"https://api.github.com/users/chrisfilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfilo/subscriptions","organizations_url":"https://api.github.com/users/chrisfilo/orgs","repos_url":"https://api.github.com/users/chrisfilo/repos","events_url":"https://api.github.com/users/chrisfilo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfilo/received_events","type":"User","site_admin":false},"body":"Closes #1411.","created_at":"2018-11-20T22:44:56Z","updated_at":"2018-11-21T17:46:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49f5452fe33de83c0f02e1644effa9110c3e52b3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416/commits","review_comments_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416/comments","review_comment_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/1416/comments","statuses_url":"https://api.github.com/repos/poldracklab/fmriprep/statuses/05bb24769ce619a8a9148593f0d4d42878bc2b91","head":{"label":"chrisfilo:enh/wrapper_sentry","ref":"enh/wrapper_sentry","sha":"05bb24769ce619a8a9148593f0d4d42878bc2b91","user":{"login":"chrisfilo","id":238759,"node_id":"MDQ6VXNlcjIzODc1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/238759?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfilo","html_url":"https://github.com/chrisfilo","followers_url":"https://api.github.com/users/chrisfilo/followers","following_url":"https://api.github.com/users/chrisfilo/following{/other_user}","gists_url":"https://api.github.com/users/chrisfilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfilo/subscriptions","organizations_url":"https://api.github.com/users/chrisfilo/orgs","repos_url":"https://api.github.com/users/chrisfilo/repos","events_url":"https://api.github.com/users/chrisfilo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfilo/received_events","type":"User","site_admin":false},"repo":{"id":66973489,"node_id":"MDEwOlJlcG9zaXRvcnk2Njk3MzQ4OQ==","name":"fmriprep","full_name":"chrisfilo/fmriprep","private":false,"owner":{"login":"chrisfilo","id":238759,"node_id":"MDQ6VXNlcjIzODc1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/238759?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisfilo","html_url":"https://github.com/chrisfilo","followers_url":"https://api.github.com/users/chrisfilo/followers","following_url":"https://api.github.com/users/chrisfilo/following{/other_user}","gists_url":"https://api.github.com/users/chrisfilo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisfilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisfilo/subscriptions","organizations_url":"https://api.github.com/users/chrisfilo/orgs","repos_url":"https://api.github.com/users/chrisfilo/repos","events_url":"https://api.github.com/users/chrisfilo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisfilo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chrisfilo/fmriprep","description":"fMRIprep is a functional magnetic resonance image pre-processing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to differences in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.","fork":true,"url":"https://api.github.com/repos/chrisfilo/fmriprep","forks_url":"https://api.github.com/repos/chrisfilo/fmriprep/forks","keys_url":"https://api.github.com/repos/chrisfilo/fmriprep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisfilo/fmriprep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisfilo/fmriprep/teams","hooks_url":"https://api.github.com/repos/chrisfilo/fmriprep/hooks","issue_events_url":"https://api.github.com/repos/chrisfilo/fmriprep/issues/events{/number}","events_url":"https://api.github.com/repos/chrisfilo/fmriprep/events","assignees_url":"https://api.github.com/repos/chrisfilo/fmriprep/assignees{/user}","branches_url":"https://api.github.com/repos/chrisfilo/fmriprep/branches{/branch}","tags_url":"https://api.github.com/repos/chrisfilo/fmriprep/tags","blobs_url":"https://api.github.com/repos/chrisfilo/fmriprep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisfilo/fmriprep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisfilo/fmriprep/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisfilo/fmriprep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisfilo/fmriprep/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisfilo/fmriprep/languages","stargazers_url":"https://api.github.com/repos/chrisfilo/fmriprep/stargazers","contributors_url":"https://api.github.com/repos/chrisfilo/fmriprep/contributors","subscribers_url":"https://api.github.com/repos/chrisfilo/fmriprep/subscribers","subscription_url":"https://api.github.com/repos/chrisfilo/fmriprep/subscription","commits_url":"https://api.github.com/repos/chrisfilo/fmriprep/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisfilo/fmriprep/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisfilo/fmriprep/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisfilo/fmriprep/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisfilo/fmriprep/contents/{+path}","compare_url":"https://api.github.com/repos/chrisfilo/fmriprep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisfilo/fmriprep/merges","archive_url":"https://api.github.com/repos/chrisfilo/fmriprep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisfilo/fmriprep/downloads","issues_url":"https://api.github.com/repos/chrisfilo/fmriprep/issues{/number}","pulls_url":"https://api.github.com/repos/chrisfilo/fmriprep/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisfilo/fmriprep/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisfilo/fmriprep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisfilo/fmriprep/labels{/name}","releases_url":"https://api.github.com/repos/chrisfilo/fmriprep/releases{/id}","deployments_url":"https://api.github.com/repos/chrisfilo/fmriprep/deployments","created_at":"2016-08-30T20:00:38Z","updated_at":"2016-08-30T20:00:39Z","pushed_at":"2018-11-21T17:40:45Z","git_url":"git://github.com/chrisfilo/fmriprep.git","ssh_url":"git@github.com:chrisfilo/fmriprep.git","clone_url":"https://github.com/chrisfilo/fmriprep.git","svn_url":"https://github.com/chrisfilo/fmriprep","homepage":"","size":38435,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"poldracklab:master","ref":"master","sha":"c5706e271dc9fd858c07193fd89e721e913abca1","user":{"login":"poldracklab","id":9287954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyODc5NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9287954?v=4","gravatar_id":"","url":"https://api.github.com/users/poldracklab","html_url":"https://github.com/poldracklab","followers_url":"https://api.github.com/users/poldracklab/followers","following_url":"https://api.github.com/users/poldracklab/following{/other_user}","gists_url":"https://api.github.com/users/poldracklab/gists{/gist_id}","starred_url":"https://api.github.com/users/poldracklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poldracklab/subscriptions","organizations_url":"https://api.github.com/users/poldracklab/orgs","repos_url":"https://api.github.com/users/poldracklab/repos","events_url":"https://api.github.com/users/poldracklab/events{/privacy}","received_events_url":"https://api.github.com/users/poldracklab/received_events","type":"Organization","site_admin":false},"repo":{"id":53175327,"node_id":"MDEwOlJlcG9zaXRvcnk1MzE3NTMyNw==","name":"fmriprep","full_name":"poldracklab/fmriprep","private":false,"owner":{"login":"poldracklab","id":9287954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyODc5NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9287954?v=4","gravatar_id":"","url":"https://api.github.com/users/poldracklab","html_url":"https://github.com/poldracklab","followers_url":"https://api.github.com/users/poldracklab/followers","following_url":"https://api.github.com/users/poldracklab/following{/other_user}","gists_url":"https://api.github.com/users/poldracklab/gists{/gist_id}","starred_url":"https://api.github.com/users/poldracklab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poldracklab/subscriptions","organizations_url":"https://api.github.com/users/poldracklab/orgs","repos_url":"https://api.github.com/users/poldracklab/repos","events_url":"https://api.github.com/users/poldracklab/events{/privacy}","received_events_url":"https://api.github.com/users/poldracklab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poldracklab/fmriprep","description":"fMRIprep is a functional magnetic resonance image pre-processing pipeline that is designed to provide an easily accessible, state-of-the-art interface that is robust to differences in scan acquisition protocols and that requires minimal user input, while providing easily interpretable and comprehensive error and output reporting.","fork":false,"url":"https://api.github.com/repos/poldracklab/fmriprep","forks_url":"https://api.github.com/repos/poldracklab/fmriprep/forks","keys_url":"https://api.github.com/repos/poldracklab/fmriprep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poldracklab/fmriprep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poldracklab/fmriprep/teams","hooks_url":"https://api.github.com/repos/poldracklab/fmriprep/hooks","issue_events_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/events{/number}","events_url":"https://api.github.com/repos/poldracklab/fmriprep/events","assignees_url":"https://api.github.com/repos/poldracklab/fmriprep/assignees{/user}","branches_url":"https://api.github.com/repos/poldracklab/fmriprep/branches{/branch}","tags_url":"https://api.github.com/repos/poldracklab/fmriprep/tags","blobs_url":"https://api.github.com/repos/poldracklab/fmriprep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poldracklab/fmriprep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poldracklab/fmriprep/git/refs{/sha}","trees_url":"https://api.github.com/repos/poldracklab/fmriprep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poldracklab/fmriprep/statuses/{sha}","languages_url":"https://api.github.com/repos/poldracklab/fmriprep/languages","stargazers_url":"https://api.github.com/repos/poldracklab/fmriprep/stargazers","contributors_url":"https://api.github.com/repos/poldracklab/fmriprep/contributors","subscribers_url":"https://api.github.com/repos/poldracklab/fmriprep/subscribers","subscription_url":"https://api.github.com/repos/poldracklab/fmriprep/subscription","commits_url":"https://api.github.com/repos/poldracklab/fmriprep/commits{/sha}","git_commits_url":"https://api.github.com/repos/poldracklab/fmriprep/git/commits{/sha}","comments_url":"https://api.github.com/repos/poldracklab/fmriprep/comments{/number}","issue_comment_url":"https://api.github.com/repos/poldracklab/fmriprep/issues/comments{/number}","contents_url":"https://api.github.com/repos/poldracklab/fmriprep/contents/{+path}","compare_url":"https://api.github.com/repos/poldracklab/fmriprep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poldracklab/fmriprep/merges","archive_url":"https://api.github.com/repos/poldracklab/fmriprep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poldracklab/fmriprep/downloads","issues_url":"https://api.github.com/repos/poldracklab/fmriprep/issues{/number}","pulls_url":"https://api.github.com/repos/poldracklab/fmriprep/pulls{/number}","milestones_url":"https://api.github.com/repos/poldracklab/fmriprep/milestones{/number}","notifications_url":"https://api.github.com/repos/poldracklab/fmriprep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poldracklab/fmriprep/labels{/name}","releases_url":"https://api.github.com/repos/poldracklab/fmriprep/releases{/id}","deployments_url":"https://api.github.com/repos/poldracklab/fmriprep/deployments","created_at":"2016-03-05T00:56:46Z","updated_at":"2018-11-21T15:39:52Z","pushed_at":"2018-11-21T17:40:46Z","git_url":"git://github.com/poldracklab/fmriprep.git","ssh_url":"git@github.com:poldracklab/fmriprep.git","clone_url":"https://github.com/poldracklab/fmriprep.git","svn_url":"https://github.com/poldracklab/fmriprep","homepage":"https://fmriprep.readthedocs.io","size":38550,"stargazers_count":140,"watchers_count":140,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"archived":false,"open_issues_count":193,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":91,"open_issues":193,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416"},"html":{"href":"https://github.com/poldracklab/fmriprep/pull/1416"},"issue":{"href":"https://api.github.com/repos/poldracklab/fmriprep/issues/1416"},"comments":{"href":"https://api.github.com/repos/poldracklab/fmriprep/issues/1416/comments"},"review_comments":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416/comments"},"review_comment":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poldracklab/fmriprep/pulls/1416/commits"},"statuses":{"href":"https://api.github.com/repos/poldracklab/fmriprep/statuses/05bb24769ce619a8a9148593f0d4d42878bc2b91"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chrisfilo"}}