Skip to content

Commit 5787a98

Browse files
committed
FIX: Copy num_threads to MapNode-generated Nodes
1 parent 4358fe5 commit 5787a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,7 @@ def _make_nodes(self, cwd=None):
11181118
node.plugin_args = self.plugin_args
11191119
node._interface.inputs.set(
11201120
**deepcopy(self._interface.inputs.get()))
1121+
node._interface.num_threads = self._interface.num_threads
11211122
for field in self.iterfield:
11221123
if self.nested:
11231124
fieldvals = flatten(filename_to_list(getattr(self.inputs, field)))

0 commit comments

Comments
 (0)