Skip to content

Commit 0e63da8

Browse files
committed
fixed list outputs
1 parent 29a5b6a commit 0e63da8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

nipype/interfaces/fsl/model.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,13 +1809,7 @@ class GLM(FSLCommand):
18091809
output_spec = GLMOutputSpec
18101810

18111811
def _list_outputs(self):
1812-
outputs = self.output_spec().get()
1813-
1814-
outputs['out_file'] = self.inputs.out_file
1815-
# Generate an out_file if one is not provided
1816-
if not isdefined(outputs['out_file']) and isdefined(self.inputs.in_file):
1817-
outputs['out_file'] = self._gen_filename('out_file')
1818-
outputs['out_file'] = os.path.abspath(outputs['out_file'])
1812+
outputs = super(GLM, self)._list_outputs()
18191813

18201814
if isdefined(self.inputs.out_cope):
18211815
outputs['out_cope'] = os.path.abspath(self.inputs.out_cope)

0 commit comments

Comments
 (0)