Skip to content

Commit f14b4ce

Browse files
committed
Merge pull request #812 from swederik/bf/dtifit
Fixed bug in FSL DTIFit interface
2 parents db81db1 + 87df0a7 commit f14b4ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nipype/interfaces/fsl/dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DTIFitInputSpec(FSLCommandInputSpec):
4646
save_tensor = traits.Bool(desc='save the elements of the tensor',
4747
argstr='--save_tensor')
4848
sse = traits.Bool(desc='output sum of squared errors', argstr='--sse')
49-
cni = File(exists=True, desc='input counfound regressors', argstr='-cni %s')
49+
cni = File(exists=True, desc='input counfound regressors', argstr='--cni=%s')
5050
little_bit = traits.Bool(desc='only process small area of brain',
5151
argstr='--littlebit')
5252

nipype/interfaces/fsl/tests/test_auto_DTIFit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_DTIFit_inputs():
1717
mandatory=True,
1818
position=3,
1919
),
20-
cni=dict(argstr='-cni %s',
20+
cni=dict(argstr='--cni=%s',
2121
),
2222
dwi=dict(argstr='-k %s',
2323
mandatory=True,

0 commit comments

Comments
 (0)