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.
2 parents b38ddc0 + be230b4 commit 511e7d3Copy full SHA for 511e7d3
nipype/interfaces/base.py
@@ -1391,11 +1391,11 @@ def _parse_inputs(self, skip=None):
1391
if skip and name in skip:
1392
continue
1393
value = getattr(self.inputs, name)
1394
- if not isdefined(value):
1395
- if spec.genfile or spec.source_name:
+ if spec.genfile or spec.name_source:
+ if isdefined(value):
1396
value = self._gen_filename(name)
1397
- else:
1398
- continue
+ if not isdefined(value):
+ continue
1399
arg = self._format_arg(name, spec, value)
1400
if arg is None:
1401
0 commit comments