Skip to content

Commit 28198af

Browse files
committed
FIX: config can't be passed directly to Node
1 parent f4aab61 commit 28198af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,6 @@ def _make_nodes(self, cwd=None):
11181118
overwrite=self.overwrite,
11191119
needed_outputs=self.needed_outputs,
11201120
run_without_submitting=self.run_without_submitting,
1121-
config=self.config,
11221121
base_dir=op.join(cwd, 'mapflow'),
11231122
name=nodename)
11241123
node.plugin_args = self.plugin_args
@@ -1131,6 +1130,7 @@ def _make_nodes(self, cwd=None):
11311130
fieldvals = filename_to_list(getattr(self.inputs, field))
11321131
logger.debug('setting input %d %s %s', i, field, fieldvals[i])
11331132
setattr(node.inputs, field, fieldvals[i])
1133+
node.config = self.config
11341134
yield i, node
11351135

11361136
def _node_runner(self, nodes, updatehash=False):

0 commit comments

Comments
 (0)