Skip to content

Commit dcec1ba

Browse files
committed
Quick fix of MRtrix tckgen option
1 parent 35b58cd commit dcec1ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_Tractography_inputs():
4040
argstr='-samples %d',
4141
usedefault=True,
4242
),
43-
n_tracks=dict(argstr='-number %d', ),
43+
n_tracks=dict(argstr='-select %d', ),
4444
n_trials=dict(argstr='-trials %d', ),
4545
noprecompt=dict(argstr='-noprecomputed', ),
4646
nthreads=dict(

nipype/interfaces/mrtrix3/tracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class TractographyInputSpec(MRTrix3BaseInputSpec):
7575
desc=('set the maximum angle between successive steps (default '
7676
'is 90deg x stepsize / voxelsize)'))
7777
n_tracks = traits.Int(
78-
argstr='-number %d',
78+
argstr='-select %d',
7979
desc=('set the desired number of tracks. The program will continue'
8080
' to generate tracks until this number of tracks have been '
8181
'selected and written to the output file'))

0 commit comments

Comments
 (0)