Skip to content

Commit 47dc288

Browse files
committed
Remove asynchronous chdir callback
1 parent 0fa28d5 commit 47dc288

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)