Skip to content

Commit 135abb9

Browse files
author
Shoshana Berleant
committed
m
1 parent 64f5f36 commit 135abb9

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -563,17 +563,6 @@ def _parse_inputs(self, skip=None):
563563
skip.append('save_log')
564564
return super(FLIRT, self)._parse_inputs(skip=skip)
565565

566-
class ApplyXfm(ApplyXFM):
567-
"""
568-
.. deprecated:: 0.12.1
569-
Use :py:class:`nipype.interfaces.fsl.ApplyXFM` instead
570-
"""
571-
def __init__(self, **inputs):
572-
super(confounds.TSNR, self).__init__(**inputs)
573-
warnings.warn(("This interface has been renamed since 0.12.1,"
574-
" please use nipype.interfaces.fsl.ApplyXFM"),
575-
UserWarning)
576-
577566
class ApplyXFMInputSpec(FLIRTInputSpec):
578567
apply_xfm = traits.Bool(
579568
True, argstr='-applyxfm', requires=['in_matrix_file'],
@@ -604,6 +593,16 @@ class ApplyXFM(FLIRT):
604593
"""
605594
input_spec = ApplyXFMInputSpec
606595

596+
class ApplyXfm(ApplyXFM):
597+
"""
598+
.. deprecated:: 0.12.1
599+
Use :py:class:`nipype.interfaces.fsl.ApplyXFM` instead
600+
"""
601+
def __init__(self, **inputs):
602+
super(confounds.TSNR, self).__init__(**inputs)
603+
warnings.warn(("This interface has been renamed since 0.12.1,"
604+
" please use nipype.interfaces.fsl.ApplyXFM"),
605+
UserWarning)
607606

608607
class MCFLIRTInputSpec(FSLCommandInputSpec):
609608
in_file = File(exists=True, position=0, argstr="-in %s", mandatory=True,

0 commit comments

Comments
 (0)