We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a17f3 commit 2ba619dCopy full SHA for 2ba619d
nipype/pipeline/plugins/multiproc.py
@@ -151,7 +151,7 @@ def __init__(self, plugin_args=None):
151
# Python < 3.7 does not support initialization or contexts
152
self.pool = ProcessPoolExecutor(max_workers=self.processors)
153
result_future = self.pool.submit(process_initializer, self._cwd)
154
- wait(result_future, timeout=5)
+ wait([result_future], timeout=5)
155
156
self._stats = None
157
0 commit comments