Skip to content

Commit 9c29bfb

Browse files
author
Shoshana Berleant
committed
test
1 parent 2eac4fe commit 9c29bfb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ class ApplyXfm(ApplyXFM):
600600
Use :py:class:`nipype.interfaces.fsl.ApplyXFM` instead
601601
"""
602602
def __init__(self, **inputs):
603-
super(confounds.TSNR, self).__init__(**inputs)
603+
super(ApplyXfm, self).__init__(**inputs)
604604
warnings.warn(("This interface has been renamed since 0.12.1,"
605605
" please use nipype.interfaces.fsl.ApplyXFM"),
606606
UserWarning)

nipype/interfaces/fsl/tests/test_preprocess.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,3 +614,7 @@ def test_first_genfname():
614614
value = first._gen_fname(name='original_segmentations')
615615
expected_value = os.path.abspath('segment_all_none_origsegs.nii.gz')
616616
yield assert_equal, value, expected_value
617+
618+
@skipif(no_fsl)
619+
def test_deprecation():
620+
fsl.ApplyXfm()

0 commit comments

Comments
 (0)