Skip to content

Commit cd7bb76

Browse files
committed
remove marshal to pickle
1 parent 9982f49 commit cd7bb76

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

nipype/interfaces/dipy/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def nlmeans_proxy(in_file, settings,
290290

291291
est_snr = True
292292
if snr is not None:
293-
snr = [self.inputs.snr] * data.shape[-1]
293+
snr = [snr] * data.shape[-1]
294294
est_snr = False
295295
else:
296296
snr = []

nipype/interfaces/dipy/reconstruction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ class CSD(DipyBaseInterface):
316316
def _run_interface(self, runtime):
317317
from dipy.reconst.csdeconv import ConstrainedSphericalDeconvModel
318318
from dipy.data import get_sphere
319-
import marshal as pickle
320-
# import cPickle as pickle
319+
# import marshal as pickle
320+
import cPickle as pickle
321321
import gzip
322322

323323
img = nb.load(self.inputs.in_file)

nipype/interfaces/dipy/tracks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ def _run_interface(self, runtime):
153153
from dipy.reconst.peaks import peaks_from_model
154154
from dipy.tracking.eudx import EuDX
155155
from dipy.data import get_sphere
156-
import marshal as pickle
157-
# import cPickle as pickle
156+
# import marshal as pickle
157+
import cPickle as pickle
158158
import gzip
159159

160160
if (not (isdefined(self.inputs.in_model) or

0 commit comments

Comments
 (0)