Skip to content

Commit 8091912

Browse files
committed
fix: datasink bug with infields
1 parent 33a71f4 commit 8091912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ class DataSinkInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
129129
desc='remove dest directory when copying dirs')
130130

131131
def __setattr__(self, key, value):
132+
super(DataSinkInputSpec, self).__setattr__(key, value)
132133
if key not in self.copyable_trait_names():
133134
self._outputs[key] = value
134135
else:
135136
if key in self._outputs:
136137
self._outputs[key] = value
137-
super(DataSinkInputSpec, self).__setattr__(key, value)
138138

139139
class DataSink(IOBase):
140140
""" Generic datasink module to store structured outputs

0 commit comments

Comments
 (0)