Skip to content

Commit 916ddfe

Browse files
committed
Finished AddCSVRow
Methods _outputs and _add_output_traits were missing to provide a fully IOBase-like interface.
1 parent 96462b2 commit 916ddfe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nipype/algorithms/misc.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,12 @@ def _list_outputs(self):
12331233
outputs['csv_file'] = self.inputs.in_file
12341234
return outputs
12351235

1236+
def _outputs(self):
1237+
return self._add_output_traits(super(AddCSVRow, self)._outputs())
1238+
1239+
def _add_output_traits(self, base):
1240+
return base
1241+
12361242

12371243
class CalculateNormalizedMomentsInputSpec(TraitedSpec):
12381244
timeseries_file = File(

0 commit comments

Comments
 (0)