File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2020if HAVE_DIPY and LooseVersion (dipy_version ()) >= LooseVersion ('0.15' ):
2121
2222 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
2427
2528 RecoBundles = dipy_to_nipype_interface ("RecoBundles" , RecoBundlesFlow )
2629 LabelsBundles = dipy_to_nipype_interface ("LabelsBundles" ,
2730 LabelsBundlesFlow )
2831 DeterministicTracking = dipy_to_nipype_interface ("DeterministicTracking" ,
29- DetTrackPAMFlow )
32+ DetTrackFlow )
3033
3134else :
3235 IFLOGGER .info ("We advise you to upgrade DIPY version. This upgrade will"
You can’t perform that action at this time.
0 commit comments