Skip to content

Commit fb1662a

Browse files
authored
Merge pull request #3556 from mauriliogenovese/origin/fix/ProbTrackXBaseInputSpec-inputs
[FIX] update sample_random_points and random_seed type of ProbTrackXBaseInputSpec
2 parents 75796d5 + 06224fb commit fb1662a

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
@@ -673,8 +673,8 @@ class ProbTrackXBaseInputSpec(FSLCommandInputSpec):
673673
c_thresh = traits.Float(
674674
argstr="--cthr=%.3f", desc="curvature threshold - default=0.2"
675675
)
676-
sample_random_points = traits.Bool(
677-
argstr="--sampvox", desc=("sample random points within " "seed voxels")
676+
sample_random_points = traits.Float(
677+
argstr="--sampvox=%.3f", desc=("sample random points within " "seed voxels")
678678
)
679679
step_length = traits.Float(
680680
argstr="--steplength=%.3f", desc="step_length in mm - default=0.5"
@@ -713,7 +713,7 @@ class ProbTrackXBaseInputSpec(FSLCommandInputSpec):
713713
),
714714
)
715715
mod_euler = traits.Bool(argstr="--modeuler", desc="use modified euler streamlining")
716-
random_seed = traits.Bool(argstr="--rseed", desc="random seed")
716+
random_seed = traits.Int(argstr="--rseed=%d", desc="random seed")
717717
s2tastext = traits.Bool(
718718
argstr="--s2tastext",
719719
desc=(

0 commit comments

Comments
 (0)