{"action":"closed","number":3037,"pull_request":{"url":"https://api.github.com/repos/nipy/nipype/pulls/3037","id":319002943,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE5MDAyOTQz","html_url":"https://github.com/nipy/nipype/pull/3037","diff_url":"https://github.com/nipy/nipype/pull/3037.diff","patch_url":"https://github.com/nipy/nipype/pull/3037.patch","issue_url":"https://api.github.com/repos/nipy/nipype/issues/3037","number":3037,"state":"closed","locked":false,"title":"FIX: Patch Path.mkdir for Python 2","user":{"login":"effigies","id":83442,"node_id":"MDQ6VXNlcjgzNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/83442?v=4","gravatar_id":"","url":"https://api.github.com/users/effigies","html_url":"https://github.com/effigies","followers_url":"https://api.github.com/users/effigies/followers","following_url":"https://api.github.com/users/effigies/following{/other_user}","gists_url":"https://api.github.com/users/effigies/gists{/gist_id}","starred_url":"https://api.github.com/users/effigies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effigies/subscriptions","organizations_url":"https://api.github.com/users/effigies/orgs","repos_url":"https://api.github.com/users/effigies/repos","events_url":"https://api.github.com/users/effigies/events{/privacy}","received_events_url":"https://api.github.com/users/effigies/received_events","type":"User","site_admin":false},"body":"## Summary\r\nThis should be a blessedly short-lived hack, but it is needed to resolve nipy/heudiconv#374.\r\n\r\n## List of changes proposed in this PR (pull-request)\r\n\r\n* `Path.mkdir()` was failing for Python 2, due to a PY3 guard\r\n* Had to import `TemporaryDirectory` from `nipype.utils.tmpdirs` instead of `tempfile`\r\n* Updated our existing `makedirs` hack to include `mode`, for full replacement of `os.makedirs`\r\n\r\n## Acknowledgment\r\n\r\n- [x] \\(Mandatory\\) I acknowledge that this contribution will be available under the Apache 2 license.\r\n","created_at":"2019-09-18T21:13:48Z","updated_at":"2019-09-18T22:48:41Z","closed_at":"2019-09-18T22:48:41Z","merged_at":"2019-09-18T22:48:41Z","merge_commit_sha":"f7d7a1c277a2f49bb16197acda080c6799d8ebeb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nipy/nipype/pulls/3037/commits","review_comments_url":"https://api.github.com/repos/nipy/nipype/pulls/3037/comments","review_comment_url":"https://api.github.com/repos/nipy/nipype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/nipype/issues/3037/comments","statuses_url":"https://api.github.com/repos/nipy/nipype/statuses/0196beac33d0c8c992bcc07b83c0b368810be02d","head":{"label":"effigies:fix/heudiconv_issues","ref":"fix/heudiconv_issues","sha":"0196beac33d0c8c992bcc07b83c0b368810be02d","user":{"login":"effigies","id":83442,"node_id":"MDQ6VXNlcjgzNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/83442?v=4","gravatar_id":"","url":"https://api.github.com/users/effigies","html_url":"https://github.com/effigies","followers_url":"https://api.github.com/users/effigies/followers","following_url":"https://api.github.com/users/effigies/following{/other_user}","gists_url":"https://api.github.com/users/effigies/gists{/gist_id}","starred_url":"https://api.github.com/users/effigies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effigies/subscriptions","organizations_url":"https://api.github.com/users/effigies/orgs","repos_url":"https://api.github.com/users/effigies/repos","events_url":"https://api.github.com/users/effigies/events{/privacy}","received_events_url":"https://api.github.com/users/effigies/received_events","type":"User","site_admin":false},"repo":{"id":13994936,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NDkzNg==","name":"nipype","full_name":"effigies/nipype","private":false,"owner":{"login":"effigies","id":83442,"node_id":"MDQ6VXNlcjgzNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/83442?v=4","gravatar_id":"","url":"https://api.github.com/users/effigies","html_url":"https://github.com/effigies","followers_url":"https://api.github.com/users/effigies/followers","following_url":"https://api.github.com/users/effigies/following{/other_user}","gists_url":"https://api.github.com/users/effigies/gists{/gist_id}","starred_url":"https://api.github.com/users/effigies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effigies/subscriptions","organizations_url":"https://api.github.com/users/effigies/orgs","repos_url":"https://api.github.com/users/effigies/repos","events_url":"https://api.github.com/users/effigies/events{/privacy}","received_events_url":"https://api.github.com/users/effigies/received_events","type":"User","site_admin":false},"html_url":"https://github.com/effigies/nipype","description":"Workflows and interfaces for neuroimaging packages","fork":true,"url":"https://api.github.com/repos/effigies/nipype","forks_url":"https://api.github.com/repos/effigies/nipype/forks","keys_url":"https://api.github.com/repos/effigies/nipype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/effigies/nipype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/effigies/nipype/teams","hooks_url":"https://api.github.com/repos/effigies/nipype/hooks","issue_events_url":"https://api.github.com/repos/effigies/nipype/issues/events{/number}","events_url":"https://api.github.com/repos/effigies/nipype/events","assignees_url":"https://api.github.com/repos/effigies/nipype/assignees{/user}","branches_url":"https://api.github.com/repos/effigies/nipype/branches{/branch}","tags_url":"https://api.github.com/repos/effigies/nipype/tags","blobs_url":"https://api.github.com/repos/effigies/nipype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/effigies/nipype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/effigies/nipype/git/refs{/sha}","trees_url":"https://api.github.com/repos/effigies/nipype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/effigies/nipype/statuses/{sha}","languages_url":"https://api.github.com/repos/effigies/nipype/languages","stargazers_url":"https://api.github.com/repos/effigies/nipype/stargazers","contributors_url":"https://api.github.com/repos/effigies/nipype/contributors","subscribers_url":"https://api.github.com/repos/effigies/nipype/subscribers","subscription_url":"https://api.github.com/repos/effigies/nipype/subscription","commits_url":"https://api.github.com/repos/effigies/nipype/commits{/sha}","git_commits_url":"https://api.github.com/repos/effigies/nipype/git/commits{/sha}","comments_url":"https://api.github.com/repos/effigies/nipype/comments{/number}","issue_comment_url":"https://api.github.com/repos/effigies/nipype/issues/comments{/number}","contents_url":"https://api.github.com/repos/effigies/nipype/contents/{+path}","compare_url":"https://api.github.com/repos/effigies/nipype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/effigies/nipype/merges","archive_url":"https://api.github.com/repos/effigies/nipype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/effigies/nipype/downloads","issues_url":"https://api.github.com/repos/effigies/nipype/issues{/number}","pulls_url":"https://api.github.com/repos/effigies/nipype/pulls{/number}","milestones_url":"https://api.github.com/repos/effigies/nipype/milestones{/number}","notifications_url":"https://api.github.com/repos/effigies/nipype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/effigies/nipype/labels{/name}","releases_url":"https://api.github.com/repos/effigies/nipype/releases{/id}","deployments_url":"https://api.github.com/repos/effigies/nipype/deployments","created_at":"2013-10-30T18:00:09Z","updated_at":"2015-10-06T19:00:07Z","pushed_at":"2019-09-18T21:03:17Z","git_url":"git://github.com/effigies/nipype.git","ssh_url":"git@github.com:effigies/nipype.git","clone_url":"https://github.com/effigies/nipype.git","svn_url":"https://github.com/effigies/nipype","homepage":"http://www.mit.edu/~satra/nipype-nightly/","size":33447,"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,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"qnl"}},"base":{"label":"nipy:master","ref":"master","sha":"23379ebd997b0cca3a1feb2c2d7085d4ee9cf717","user":{"login":"nipy","id":233707,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzcwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/233707?v=4","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":791477,"node_id":"MDEwOlJlcG9zaXRvcnk3OTE0Nzc=","name":"nipype","full_name":"nipy/nipype","private":false,"owner":{"login":"nipy","id":233707,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzcwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/233707?v=4","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nipy/nipype","description":"Workflows and interfaces for neuroimaging packages","fork":false,"url":"https://api.github.com/repos/nipy/nipype","forks_url":"https://api.github.com/repos/nipy/nipype/forks","keys_url":"https://api.github.com/repos/nipy/nipype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/nipype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/nipype/teams","hooks_url":"https://api.github.com/repos/nipy/nipype/hooks","issue_events_url":"https://api.github.com/repos/nipy/nipype/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/nipype/events","assignees_url":"https://api.github.com/repos/nipy/nipype/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/nipype/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/nipype/tags","blobs_url":"https://api.github.com/repos/nipy/nipype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/nipype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/nipype/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/nipype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/nipype/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/nipype/languages","stargazers_url":"https://api.github.com/repos/nipy/nipype/stargazers","contributors_url":"https://api.github.com/repos/nipy/nipype/contributors","subscribers_url":"https://api.github.com/repos/nipy/nipype/subscribers","subscription_url":"https://api.github.com/repos/nipy/nipype/subscription","commits_url":"https://api.github.com/repos/nipy/nipype/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/nipype/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/nipype/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/nipype/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/nipype/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/nipype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/nipype/merges","archive_url":"https://api.github.com/repos/nipy/nipype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/nipype/downloads","issues_url":"https://api.github.com/repos/nipy/nipype/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/nipype/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/nipype/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/nipype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/nipype/labels{/name}","releases_url":"https://api.github.com/repos/nipy/nipype/releases{/id}","deployments_url":"https://api.github.com/repos/nipy/nipype/deployments","created_at":"2010-07-22T17:06:49Z","updated_at":"2019-09-18T19:13:18Z","pushed_at":"2019-09-18T22:48:41Z","git_url":"git://github.com/nipy/nipype.git","ssh_url":"git@github.com:nipy/nipype.git","clone_url":"https://github.com/nipy/nipype.git","svn_url":"https://github.com/nipy/nipype","homepage":"https://nipype.readthedocs.org/en/latest/","size":73374,"stargazers_count":456,"watchers_count":456,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":417,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":287,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":417,"open_issues":287,"watchers":456,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/nipype/pulls/3037"},"html":{"href":"https://github.com/nipy/nipype/pull/3037"},"issue":{"href":"https://api.github.com/repos/nipy/nipype/issues/3037"},"comments":{"href":"https://api.github.com/repos/nipy/nipype/issues/3037/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/nipype/pulls/3037/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/nipype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/nipype/pulls/3037/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/nipype/statuses/0196beac33d0c8c992bcc07b83c0b368810be02d"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"effigies","id":83442,"node_id":"MDQ6VXNlcjgzNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/83442?v=4","gravatar_id":"","url":"https://api.github.com/users/effigies","html_url":"https://github.com/effigies","followers_url":"https://api.github.com/users/effigies/followers","following_url":"https://api.github.com/users/effigies/following{/other_user}","gists_url":"https://api.github.com/users/effigies/gists{/gist_id}","starred_url":"https://api.github.com/users/effigies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effigies/subscriptions","organizations_url":"https://api.github.com/users/effigies/orgs","repos_url":"https://api.github.com/users/effigies/repos","events_url":"https://api.github.com/users/effigies/events{/privacy}","received_events_url":"https://api.github.com/users/effigies/received_events","type":"User","site_admin":false},"comments":3,"review_comments":3,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":15,"changed_files":1}}
{"actor":{"display_login":"effigies"}}