diff --git a/nipype/interfaces/diffusion_toolkit/dti.py b/nipype/interfaces/diffusion_toolkit/dti.py index 3ba0beeafc..ead0e222c6 100644 --- a/nipype/interfaces/diffusion_toolkit/dti.py +++ b/nipype/interfaces/diffusion_toolkit/dti.py @@ -129,7 +129,7 @@ class DTITrackerInputSpec(CommandLineInputSpec): angle_threshold_weight = traits.Float(desc="set angle threshold weighting factor. weighting will be be applied \ on top of the angle_threshold", argstr="-atw %f") random_seed = traits.Int(desc="use random location in a voxel instead of the center of the voxel \ - to seed. can also define number of seed per voxel. default is 1", argstr="-rseed") + to seed. can also define number of seed per voxel. default is 1", argstr="-rseed %d") invert_x = traits.Bool(desc="invert x component of the vector", argstr="-ix") invert_y = traits.Bool(desc="invert y component of the vector", argstr="-iy") invert_z = traits.Bool(desc="invert z component of the vector", argstr="-iz") diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py index db5c48c1c9..0a0a66ffb1 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py @@ -48,7 +48,7 @@ def test_DTITracker_inputs(): ), primary_vector=dict(argstr='-%s', ), - random_seed=dict(argstr='-rseed', + random_seed=dict(argstr='-rseed %d', ), step_length=dict(argstr='-l %f', ),