Skip to content

Commit 06224fb

Browse files
input types fix
1 parent cdfe679 commit 06224fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/fsl/dti.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,8 @@ class ProbTrackXBaseInputSpec(FSLCommandInputSpec):
674674
c_thresh = traits.Float(
675675
argstr="--cthr=%.3f", desc="curvature threshold - default=0.2"
676676
)
677-
sample_random_points = traits.Bool(
678-
argstr="--sampvox", desc=("sample random points within " "seed voxels")
677+
sample_random_points = traits.Float(
678+
argstr="--sampvox=%.3f", desc=("sample random points within " "seed voxels")
679679
)
680680
step_length = traits.Float(
681681
argstr="--steplength=%.3f", desc="step_length in mm - default=0.5"
@@ -714,7 +714,7 @@ class ProbTrackXBaseInputSpec(FSLCommandInputSpec):
714714
),
715715
)
716716
mod_euler = traits.Bool(argstr="--modeuler", desc="use modified euler streamlining")
717-
random_seed = traits.Bool(argstr="--rseed", desc="random seed")
717+
random_seed = traits.Int(argstr="--rseed=%d", desc="random seed")
718718
s2tastext = traits.Bool(
719719
argstr="--s2tastext",
720720
desc=(

0 commit comments

Comments
 (0)