Skip to content

Commit 314f20a

Browse files
committed
MAINT: remove redudant code
1 parent 6a480ee commit 314f20a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3655,17 +3655,6 @@ class QwarpPlusMinusInputSpec(QwarpInputSpec):
36553655
xor=['duplo', 'allsave', 'iwarp'])
36563656

36573657

3658-
class QwarpPlusMinusOutputSpec(QwarpOutputSpec):
3659-
warped_source = File(desc='Undistorted source file.', exists=True)
3660-
warped_base = File(desc='Undistorted base file.', exists=True)
3661-
source_warp = File(
3662-
desc="Field suceptibility correction warp (in 'mm') for source image.",
3663-
exists=True)
3664-
base_warp = File(
3665-
desc="Field suceptibility correction warp (in 'mm') for base image.",
3666-
exists=True)
3667-
3668-
36693658
class QwarpPlusMinus(Qwarp):
36703659
"""A version of 3dQwarp for performing field susceptibility correction
36713660
using two images with opposing phase encoding directions.
@@ -3688,13 +3677,3 @@ class QwarpPlusMinus(Qwarp):
36883677
"""
36893678

36903679
input_spec = QwarpPlusMinusInputSpec
3691-
output_spec = QwarpPlusMinusOutputSpec
3692-
3693-
def _list_outputs(self):
3694-
outputs = self.output_spec().get()
3695-
outputs['warped_source'] = os.path.abspath("Qwarp_PLUS.nii.gz")
3696-
outputs['warped_base'] = os.path.abspath("Qwarp_MINUS.nii.gz")
3697-
outputs['source_warp'] = os.path.abspath("Qwarp_PLUS_WARP.nii.gz")
3698-
outputs['base_warp'] = os.path.abspath("Qwarp_MINUS_WARP.nii.gz")
3699-
3700-
return outputs

0 commit comments

Comments
 (0)