File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
-
2
1
# -*- coding: utf-8 -*-
3
2
import os
4
3
import os .path as op
@@ -317,7 +316,8 @@ class CSD(DipyBaseInterface):
317
316
def _run_interface (self , runtime ):
318
317
from dipy .reconst .csdeconv import ConstrainedSphericalDeconvModel
319
318
from dipy .data import get_sphere
320
- import cPickle as pickle
319
+ import marshal as pickle
320
+ # import cPickle as pickle
321
321
import gzip
322
322
323
323
img = nb .load (self .inputs .in_file )
Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ class StreamlineTractography(BaseInterface):
150
150
output_spec = StreamlineTractographyOutputSpec
151
151
152
152
def _run_interface (self , runtime ):
153
- from dipy .reconst .csdeconv import ConstrainedSphericalDeconvModel
154
153
from dipy .reconst .peaks import peaks_from_model
155
154
from dipy .tracking .eudx import EuDX
156
155
from dipy .data import get_sphere
157
- import cPickle as pickle
156
+ import marshal as pickle
157
+ # import cPickle as pickle
158
158
import gzip
159
159
160
160
if (not (isdefined (self .inputs .in_model ) or
You can’t perform that action at this time.
0 commit comments