@@ -563,27 +563,37 @@ 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 )
566576
567- class ApplyXfmInputSpec (FLIRTInputSpec ):
577+ class ApplyXFMInputSpec (FLIRTInputSpec ):
568578 apply_xfm = traits .Bool (
569579 True , argstr = '-applyxfm' , requires = ['in_matrix_file' ],
570580 desc = 'apply transformation supplied by in_matrix_file' ,
571581 usedefault = True )
572582
573583
574- class ApplyXfm (FLIRT ):
584+ class ApplyXFM (FLIRT ):
575585 """Currently just a light wrapper around FLIRT,
576586 with no modifications
577587
578- ApplyXfm is used to apply an existing tranform to an image
588+ ApplyXFM is used to apply an existing tranform to an image
579589
580590
581591 Examples
582592 --------
583593
584594 >>> import nipype.interfaces.fsl as fsl
585595 >>> from nipype.testing import example_data
586- >>> applyxfm = fsl.ApplyXfm ()
596+ >>> applyxfm = fsl.ApplyXFM ()
587597 >>> applyxfm.inputs.in_file = example_data('structural.nii')
588598 >>> applyxfm.inputs.in_matrix_file = example_data('trans.mat')
589599 >>> applyxfm.inputs.out_file = 'newfile.nii'
@@ -592,7 +602,7 @@ class ApplyXfm(FLIRT):
592602 >>> result = applyxfm.run() # doctest: +SKIP
593603
594604 """
595- input_spec = ApplyXfmInputSpec
605+ input_spec = ApplyXFMInputSpec
596606
597607
598608class MCFLIRTInputSpec (FSLCommandInputSpec ):
0 commit comments