Skip to content

Commit 09d08dc

Browse files
committed
Merge pull request #498 from chrisfilo/fix/applyxfm
Fixes #459 (applyxfm)
2 parents dc1e3e5 + cb15d63 commit 09d08dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,10 @@ def _gen_filename(self, name):
522522
else:
523523
return None
524524

525+
class ApplyXfmInputSpec(FLIRTInputSpec):
526+
apply_xfm = traits.Bool(True, argstr='-applyxfm', requires=['in_matrix_file'],
527+
desc='apply transformation supplied by in_matrix_file', usedefault=True)
528+
525529

526530
class ApplyXfm(FLIRT):
527531
"""Currently just a light wrapper around FLIRT,
@@ -544,7 +548,7 @@ class ApplyXfm(FLIRT):
544548
>>> result = applyxfm.run() # doctest: +SKIP
545549
546550
"""
547-
pass
551+
input_spec = ApplyXfmInputSpec
548552

549553

550554
class MCFLIRTInputSpec(FSLCommandInputSpec):

0 commit comments

Comments
 (0)