Skip to content

Commit 91ba894

Browse files
committed
Add min_ver flag to the new eddy input-traits
1 parent a8b157d commit 91ba894

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

nipype/interfaces/fsl/epi.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,10 @@ class EddyInputSpec(FSLCommandInputSpec):
659659
"the field specified by --field and first volume "
660660
"in file --imain")
661661
use_cuda = traits.Bool(False, desc="Run eddy using cuda gpu")
662-
cnr_maps = traits.Bool(False, desc='Output CNR-Maps', argstr='--cnr_maps')
663-
residuals = traits.Bool(False, desc='Output Residuals', argstr='--residuals')
662+
cnr_maps = traits.Bool(
663+
False, desc='Output CNR-Maps', argstr='--cnr_maps', min_ver='5.0.10')
664+
residuals = traits.Bool(
665+
False, desc='Output Residuals', argstr='--residuals', min_ver='5.0.10')
664666

665667

666668
class EddyOutputSpec(TraitedSpec):

nipype/interfaces/fsl/tests/test_auto_Eddy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def test_Eddy_inputs():
7474
session=dict(argstr='--session=%s', ),
7575
slm=dict(argstr='--slm=%s', ),
7676
use_cuda=dict(),
77-
cnr_maps=dict(argstr='--cnr_maps', ),
78-
residuals=dict(argstr='--residuals', ),
77+
cnr_maps=dict(argstr='--cnr_maps', min_ver='5.0.10', ),
78+
residuals=dict(argstr='--residuals', min_ver='5.0.10', ),
7979
)
8080
inputs = Eddy.input_spec()
8181

0 commit comments

Comments
 (0)