From 00a10d8970dde6cacabeb07189d65be94f245243 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 16 Nov 2015 13:44:18 -0500 Subject: [PATCH] BF: Erroneous get_data call Introduced in aa061ae --- nipype/interfaces/dipy/tensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: