Skip to content

Commit 1ed1a67

Browse files
committed
replace cPickle with marshal
1 parent 04c34f3 commit 1ed1a67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nipype/interfaces/dipy/reconstruction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# -*- coding: utf-8 -*-
32
import os
43
import os.path as op
@@ -317,7 +316,8 @@ class CSD(DipyBaseInterface):
317316
def _run_interface(self, runtime):
318317
from dipy.reconst.csdeconv import ConstrainedSphericalDeconvModel
319318
from dipy.data import get_sphere
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
@@ -150,11 +150,11 @@ class StreamlineTractography(BaseInterface):
150150
output_spec = StreamlineTractographyOutputSpec
151151

152152
def _run_interface(self, runtime):
153-
from dipy.reconst.csdeconv import ConstrainedSphericalDeconvModel
154153
from dipy.reconst.peaks import peaks_from_model
155154
from dipy.tracking.eudx import EuDX
156155
from dipy.data import get_sphere
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)