File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 20
20
if HAVE_DIPY and LooseVersion (dipy_version ()) >= LooseVersion ('0.15' ):
21
21
22
22
from dipy .workflows .segment import RecoBundlesFlow , LabelsBundlesFlow
23
- from dipy .workflows .tracking import DetTrackPAMFlow
23
+ try :
24
+ from dipy .workflows .tracking import LocalFiberTrackingPAMFlow as DetTrackFlow
25
+ except ImportError : # different name in 0.15
26
+ from dipy .workflows .tracking import DetTrackPAMFlow as DetTrackFlow
24
27
25
28
RecoBundles = dipy_to_nipype_interface ("RecoBundles" , RecoBundlesFlow )
26
29
LabelsBundles = dipy_to_nipype_interface ("LabelsBundles" ,
27
30
LabelsBundlesFlow )
28
31
DeterministicTracking = dipy_to_nipype_interface ("DeterministicTracking" ,
29
- DetTrackPAMFlow )
32
+ DetTrackFlow )
30
33
31
34
else :
32
35
IFLOGGER .info ("We advise you to upgrade DIPY version. This upgrade will"
You can’t perform that action at this time.
0 commit comments