Skip to content

Commit 86a3ea3

Browse files
authored
Merge pull request #2739 from cni-md/master
FIX: Ensure outputs can be listed in camino.ProcStreamlines by defining instance variable
2 parents ce65afb + ca3cf74 commit 86a3ea3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/interfaces/camino/convert.py

+4
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ def _format_arg(self, name, spec, value):
441441
return spec.argstr % self._get_actual_outputroot(value)
442442
return super(ProcStreamlines, self)._format_arg(name, spec, value)
443443

444+
def __init__(self, *args, **kwargs):
445+
super(ProcStreamlines, self).__init__(*args, **kwargs)
446+
self.outputroot_files = []
447+
444448
def _run_interface(self, runtime):
445449
outputroot = self.inputs.outputroot
446450
if isdefined(outputroot):

0 commit comments

Comments
 (0)