From 5987f5b70dc99da0dda31677be9d0bde17c8fa2b Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Sat, 27 Apr 2019 15:31:32 +0100 Subject: [PATCH] RF: fsl.utils.trabsform -> fsl.transform --- fsl/data/atlases.py | 2 +- fsl/data/featanalysis.py | 16 ++++++++-------- fsl/data/image.py | 2 +- fsl/data/mesh.py | 6 +++--- fsl/data/mghimage.py | 6 +++--- fsl/scripts/fsl_convert_x5.py | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/fsl/data/atlases.py b/fsl/data/atlases.py index b28eb952c..b34499d17 100644 --- a/fsl/data/atlases.py +++ b/fsl/data/atlases.py @@ -54,7 +54,7 @@ import fsl.data.image as fslimage import fsl.data.constants as constants from fsl.utils.platform import platform as platform import fsl.utils.image.resample as resample -import fsl.utils.transform as transform +import fsl.transform as transform import fsl.utils.notifier as notifier import fsl.utils.settings as fslsettings diff --git a/fsl/data/featanalysis.py b/fsl/data/featanalysis.py index 7c38eb777..fbaaf6942 100644 --- a/fsl/data/featanalysis.py +++ b/fsl/data/featanalysis.py @@ -42,16 +42,16 @@ The following functions return the names of various files of interest: """ -import collections -import logging -import os.path as op -import numpy as np +import collections +import logging +import os.path as op +import numpy as np -import fsl.utils.path as fslpath -import fsl.utils.transform as transform +import fsl.utils.path as fslpath +import fsl.transform as transform -from . import image as fslimage -from . import featdesign +from . import image as fslimage +from . import featdesign log = logging.getLogger(__name__) diff --git a/fsl/data/image.py b/fsl/data/image.py index 96d918e5c..b706ee100 100644 --- a/fsl/data/image.py +++ b/fsl/data/image.py @@ -46,7 +46,7 @@ import nibabel as nib import nibabel.fileslice as fileslice import fsl.utils.meta as meta -import fsl.utils.transform as transform +import fsl.transform as transform import fsl.utils.notifier as notifier import fsl.utils.memoize as memoize import fsl.utils.path as fslpath diff --git a/fsl/data/mesh.py b/fsl/data/mesh.py index f3d1fb93b..d512972d1 100644 --- a/fsl/data/mesh.py +++ b/fsl/data/mesh.py @@ -33,9 +33,9 @@ import collections import os.path as op import numpy as np -import fsl.utils.meta as meta -import fsl.utils.notifier as notifier -import fsl.utils.transform as transform +import fsl.utils.meta as meta +import fsl.utils.notifier as notifier +import fsl.transform as transform log = logging.getLogger(__name__) diff --git a/fsl/data/mghimage.py b/fsl/data/mghimage.py index 6c36340d9..9693d21fa 100644 --- a/fsl/data/mghimage.py +++ b/fsl/data/mghimage.py @@ -14,9 +14,9 @@ import os.path as op import six import nibabel as nib -import fsl.utils.path as fslpath -import fsl.utils.transform as transform -import fsl.data.image as fslimage +import fsl.utils.path as fslpath +import fsl.transform as transform +import fsl.data.image as fslimage ALLOWED_EXTENSIONS = ['.mgz', '.mgh'] diff --git a/fsl/scripts/fsl_convert_x5.py b/fsl/scripts/fsl_convert_x5.py index 248f6e260..b56e1dc96 100644 --- a/fsl/scripts/fsl_convert_x5.py +++ b/fsl/scripts/fsl_convert_x5.py @@ -12,8 +12,8 @@ import shutil import logging import argparse -import fsl.data.image as fslimage -import fsl.utils.transform as transform +import fsl.data.image as fslimage +import fsl.transform as transform log = logging.getLogger(__name__) -- GitLab