Skip to content

Commit 18a7fe5

Browse files
committed
fix: deprecate warning for fmrirealign4d for release 0.13
1 parent dbd5b65 commit 18a7fe5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nipype/interfaces/nipy/preprocess.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ class FmriRealign4d(BaseInterface):
146146
output_spec = FmriRealign4dOutputSpec
147147
keywords = ['slice timing', 'motion correction']
148148

149+
def __init__(self, **inputs):
150+
DeprecationWarning(('Will be deprecated in release 0.13. Please use'
151+
'SpaceTimeRealigner'))
152+
BaseInterface.__init__(self, **inputs)
153+
149154
def _run_interface(self, runtime):
150155
from nipy.algorithms.registration import FmriRealign4d as FR4d
151156
all_ims = [load_image(fname) for fname in self.inputs.in_file]

0 commit comments

Comments
 (0)