Skip to content

Commit 6d08709

Browse files
committed
Merge pull request #1110 from oesteban/fix/FUGUEOutputs
Revert #978 adding tests (see also #977)
2 parents fa0d7c4 + e27778d commit 6d08709

File tree

2 files changed

+176
-106
lines changed

2 files changed

+176
-106
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,26 +1388,6 @@ def _parse_inputs(self, skip=None):
13881388

13891389
return super(FUGUE, self)._parse_inputs(skip=skip)
13901390

1391-
def _list_outputs(self):
1392-
outputs = self._outputs().get()
1393-
if self.inputs.forward_warping:
1394-
out_field = 'warped_file'
1395-
else:
1396-
out_field = 'unwarped_file'
1397-
out_file = getattr(self.inputs, out_field)
1398-
if not isdefined(out_file):
1399-
if isdefined(self.inputs.in_file):
1400-
out_file = self._gen_fname(self.inputs.in_file,
1401-
suffix='_'+out_field[:-5])
1402-
if isdefined(out_file):
1403-
outputs[out_field] = os.path.abspath(out_file)
1404-
if isdefined(self.inputs.fmap_out_file):
1405-
outputs['fmap_out_file'] = os.path.abspath(
1406-
self.inputs.fmap_out_file)
1407-
if isdefined(self.inputs.shift_out_file):
1408-
outputs['shift_out_file'] = os.path.abspath(
1409-
self.inputs.shift_out_file)
1410-
return outputs
14111391

14121392
class PRELUDEInputSpec(FSLCommandInputSpec):
14131393
complex_phase_file = File(exists=True, argstr='--complex=%s',

0 commit comments

Comments
 (0)