diff --git a/nipype/interfaces/dipy/tensors.py b/nipype/interfaces/dipy/tensors.py index b0cc8f40ca..067c300d62 100644 --- a/nipype/interfaces/dipy/tensors.py +++ b/nipype/interfaces/dipy/tensors.py @@ -47,7 +47,7 @@ def tensor_fitting(data, bvals, bvecs, mask_file=None): ------- TensorFit object, affine """ - img = nb.load(in_file).get_data() + img = nb.load(in_file) data = img.get_data() affine = img.get_affine() if mask_file is not None: