Skip to content

Commit cffb1f2

Browse files
authored
Merge pull request #3060 from stilley2/FIX/remove_async_chdir
FIX: Remove asynchronous chdir callback
2 parents 1ccd70b + 47dc288 commit cffb1f2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nipype/pipeline/plugins/multiproc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ def __init__(self, plugin_args=None):
146146
self._stats = None
147147

148148
def _async_callback(self, args):
149-
# Make sure runtime is not left at a dubious working directory
150-
os.chdir(self._cwd)
151149
result = args.result()
152150
self._taskresult[result['taskid']] = result
153151

0 commit comments

Comments
 (0)