diff --git a/nipype/interfaces/cmtk/cmtk.py b/nipype/interfaces/cmtk/cmtk.py index 6622b49ff6..237b092f35 100644 --- a/nipype/interfaces/cmtk/cmtk.py +++ b/nipype/interfaces/cmtk/cmtk.py @@ -10,7 +10,6 @@ from ... import logging from ...utils.filemanip import split_filename -from ...utils import NUMPY_MMAP from ..base import ( BaseInterface, diff --git a/nipype/interfaces/dipy/anisotropic_power.py b/nipype/interfaces/dipy/anisotropic_power.py index 06e25fb132..7ad82fb678 100644 --- a/nipype/interfaces/dipy/anisotropic_power.py +++ b/nipype/interfaces/dipy/anisotropic_power.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +import numpy as np import nibabel as nb from ... import logging diff --git a/nipype/interfaces/dipy/simulate.py b/nipype/interfaces/dipy/simulate.py index eb21be1780..e1867342bb 100644 --- a/nipype/interfaces/dipy/simulate.py +++ b/nipype/interfaces/dipy/simulate.py @@ -6,7 +6,6 @@ import nibabel as nb from ... import logging -from ...utils import NUMPY_MMAP from ..base import ( traits, TraitedSpec, diff --git a/nipype/interfaces/dipy/tensors.py b/nipype/interfaces/dipy/tensors.py index e8f2029881..6f77d9a47e 100644 --- a/nipype/interfaces/dipy/tensors.py +++ b/nipype/interfaces/dipy/tensors.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +import numpy as np import nibabel as nb from ... import logging diff --git a/nipype/interfaces/nipy/model.py b/nipype/interfaces/nipy/model.py index 887724c4e7..b931947c19 100644 --- a/nipype/interfaces/nipy/model.py +++ b/nipype/interfaces/nipy/model.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- import os -from ...utils import NUMPY_MMAP - from .base import NipyBaseInterface from ..base import ( TraitedSpec, diff --git a/nipype/interfaces/nipy/preprocess.py b/nipype/interfaces/nipy/preprocess.py index 278147df01..115b7f93ad 100644 --- a/nipype/interfaces/nipy/preprocess.py +++ b/nipype/interfaces/nipy/preprocess.py @@ -4,7 +4,6 @@ import nibabel as nb import numpy as np -from ...utils import NUMPY_MMAP from ...utils.filemanip import split_filename, fname_presuffix from .base import NipyBaseInterface, have_nipy diff --git a/nipype/interfaces/nipy/utils.py b/nipype/interfaces/nipy/utils.py index 3dafbbc07c..08eb80e0b2 100644 --- a/nipype/interfaces/nipy/utils.py +++ b/nipype/interfaces/nipy/utils.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import warnings +import numpy as np import nibabel as nb from .base import NipyBaseInterface, have_nipy