Skip to content

Commit 4ae194f

Browse files
committed
Fix incorrect requirement of FUGUE input
1 parent e815741 commit 4ae194f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,17 +678,17 @@ def _list_outputs(self):
678678
'_variance.ext', cwd=cwd)
679679
outputs['std_img'] = self._gen_fname(outputs['out_file'] +
680680
'_sigma.ext', cwd=cwd)
681-
681+
682682
# The mean image created if -stats option is specified ('meanvol')
683-
# is missing the top and bottom slices. Therefore we only expose the
684-
# mean image created by -meanvol option ('mean_reg') which isn't
683+
# is missing the top and bottom slices. Therefore we only expose the
684+
# mean image created by -meanvol option ('mean_reg') which isn't
685685
# corrupted.
686686
# Note that the same problem holds for the std and variance image.
687-
687+
688688
if isdefined(self.inputs.mean_vol) and self.inputs.mean_vol:
689689
outputs['mean_img'] = self._gen_fname(outputs['out_file'] +
690690
'_mean_reg.ext', cwd=cwd)
691-
691+
692692
if isdefined(self.inputs.save_mats) and self.inputs.save_mats:
693693
_, filename = os.path.split(outputs['out_file'])
694694
matpathname = os.path.join(cwd, filename + '.mat')
@@ -1223,7 +1223,7 @@ class FUGUEInputSpec(FSLCommandInputSpec):
12231223
requires=['fmap_out_file'],
12241224
desc='saves the unmasked fieldmap when using --savefmap')
12251225
save_unmasked_shift = traits.Bool(argstr='--unmaskshift',
1226-
requires=['shift_out_file'],
1226+
requires=['save_shift'],
12271227
desc='saves the unmasked shiftmap when using --saveshift')
12281228
nokspace = traits.Bool(
12291229
argstr='--nokspace', desc='do not use k-space forward warping')

0 commit comments

Comments
 (0)