From 1108430872eee2cad77416c489e4ec3fc063870a Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 14:03:56 -0400 Subject: [PATCH 01/28] CI: Drop Python 2 tests --- .circleci/{test_py3_docs.sh => build_docs.sh} | 0 .circleci/config.yml | 81 +++++++------------ ...l1.sh => test_fmri_fsl_feeds_linear_l1.sh} | 0 ...l1.sh => test_fmri_fsl_reuse_linear_l1.sh} | 0 ...h => test_fmri_spm_dartel_multiproc_l1.sh} | 0 ...h => test_fmri_spm_dartel_multiproc_l2.sh} | 0 ...inear_3d.sh => test_fmri_spm_linear_3d.sh} | 0 ...inear_4d.sh => test_fmri_spm_linear_4d.sh} | 0 ...h => test_fmri_spm_nested_multiproc_l1.sh} | 0 ...h => test_fmri_spm_nested_multiproc_l2.sh} | 2 +- .circleci/test_py2_pytest.sh | 3 - .../{test_py3_pytest.sh => test_pytest.sh} | 0 12 files changed, 30 insertions(+), 56 deletions(-) rename .circleci/{test_py3_docs.sh => build_docs.sh} (100%) rename .circleci/{test_py3_fmri_fsl_feeds_linear_l1.sh => test_fmri_fsl_feeds_linear_l1.sh} (100%) rename .circleci/{test_py3_fmri_fsl_reuse_linear_l1.sh => test_fmri_fsl_reuse_linear_l1.sh} (100%) rename .circleci/{test_py3_fmri_spm_dartel_multiproc_l1.sh => test_fmri_spm_dartel_multiproc_l1.sh} (100%) rename .circleci/{test_py3_fmri_spm_dartel_multiproc_l2.sh => test_fmri_spm_dartel_multiproc_l2.sh} (100%) rename .circleci/{test_py3_fmri_spm_linear_3d.sh => test_fmri_spm_linear_3d.sh} (100%) rename .circleci/{test_py3_fmri_spm_linear_4d.sh => test_fmri_spm_linear_4d.sh} (100%) rename .circleci/{test_py3_fmri_spm_nested_multiproc_l1.sh => test_fmri_spm_nested_multiproc_l1.sh} (100%) rename .circleci/{test_py2_fmri_spm_nested_multiproc_l2.sh => test_fmri_spm_nested_multiproc_l2.sh} (75%) delete mode 100644 .circleci/test_py2_pytest.sh rename .circleci/{test_py3_pytest.sh => test_pytest.sh} (100%) diff --git a/.circleci/test_py3_docs.sh b/.circleci/build_docs.sh similarity index 100% rename from .circleci/test_py3_docs.sh rename to .circleci/build_docs.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index ef55a28734..54b7180002 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,20 +56,6 @@ _build_main_image_py36: &build_main_image_py36 --build-arg VCS_REF="$(git rev-parse --short HEAD)" \ --build-arg VERSION="${CIRCLE_TAG}" /home/circleci/nipype -_build_main_image_py27: &build_main_image_py27 - name: Build main image (py27) - no_output_timeout: 60m - command: | - tools/retry_cmd.sh -n 5 -s 15 \ - docker build \ - --rm=false \ - --tag nipype/nipype:py27 \ - --build-arg PYTHON_VERSION_MAJOR=2 \ - --build-arg PYTHON_VERSION_MINOR=7 \ - --build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \ - --build-arg VCS_REF="$(git rev-parse --short HEAD)" \ - --build-arg VERSION="${CIRCLE_TAG}-py27" /home/circleci/nipype - _download_test_data: &_download_test_data name: Download test data no_output_timeout: 20m @@ -161,28 +147,22 @@ jobs: - run: *modify_nipype_version - run: *get_base_image - run: *build_main_image_py36 - - run: *build_main_image_py27 - run: *_get_codecov - run: *_download_test_data - run: *prepare_working_directory - run: - name: Run pytests (py36) - no_output_timeout: 30m - environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_pytest.sh - - run: - name: Run pytests (py27) + name: Run pytests no_output_timeout: 30m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py2_pytest.sh + command: bash -ux /home/circleci/nipype/.circleci/test_pytest.sh - run: *_run_codecov_coverage - store_artifacts: *store_artifacts_kwds - store_test_results: *store_artifacts_kwds - run: - name: Build docs (py36) + name: Build docs no_output_timeout: 30m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh + command: bash -ux /home/circleci/nipype/.circleci/build_docs.sh - store_artifacts: path: /home/circleci/work/docs - run: @@ -192,16 +172,15 @@ jobs: if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then docker save nipype/nipype:base \ nipype/nipype:latest \ - nipype/nipype:py27 \ - nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \ - && du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz + nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36.tar.gz \ + && du -h /tmp/docker/nipype-base-latest-py36.tar.gz fi - persist_to_workspace: root: /tmp paths: - docker - test_py3_fmri_fsl_spm: + test_fmri_fsl_spm: machine: *machine_kwds working_directory: /home/circleci/nipype steps: @@ -218,24 +197,24 @@ jobs: - run: *_download_test_data - run: *prepare_working_directory - run: - name: Run FSL reuse pipeline (py36) + name: Run FSL reuse pipeline no_output_timeout: 40m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_reuse_linear_l1.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_fsl_reuse_linear_l1.sh - run: - name: Run SPM test workflow - 3D inputs (py36) + name: Run SPM test workflow - 3D inputs no_output_timeout: 40m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_3d.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_linear_3d.sh - run: - name: Run SPM test workflow - 4D inputs (py36) + name: Run SPM test workflow - 4D inputs no_output_timeout: 40m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_linear_4d.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_linear_4d.sh - run: *_run_codecov_smoke - store_artifacts: *store_artifacts_kwds - test_py3_fmri_spm_dartel_multiproc: + test_fmri_spm_dartel_multiproc: machine: *machine_kwds working_directory: /home/circleci/nipype steps: @@ -252,15 +231,15 @@ jobs: - run: *_download_test_data - run: *prepare_working_directory - run: - name: Run SPM DARTEL Level 1 pipeline (py36) + name: Run SPM DARTEL Level 1 pipeline no_output_timeout: 1h environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l1.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_dartel_multiproc_l1.sh - run: - name: Run SPM DARTEL Level 2 pipeline (py36) + name: Run SPM DARTEL Level 2 pipeline no_output_timeout: 30m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_dartel_multiproc_l2.sh - run: *_run_codecov_smoke - store_artifacts: *store_artifacts_kwds @@ -277,25 +256,24 @@ jobs: - run: *modify_nipype_version - run: *get_base_image - run: *build_main_image_py36 - - run: *build_main_image_py27 - run: *_get_codecov - run: *_download_test_data - run: *prepare_working_directory - run: - name: Run SPM Nested Level 1 pipeline (py36) + name: Run SPM Nested Level 1 pipeline no_output_timeout: 1h environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_spm_nested_multiproc_l1.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_nested_multiproc_l1.sh - run: - name: Run SPM Nested Level 2 pipeline (py27) + name: Run SPM Nested Level 2 pipeline no_output_timeout: 30m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_spm_nested_multiproc_l2.sh - run: - name: Run FSL FEEDS pipeline (py36) + name: Run FSL FEEDS pipeline no_output_timeout: 40m environment: *test_environment - command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh + command: bash -ux /home/circleci/nipype/.circleci/test_fmri_fsl_feeds_linear_l1.sh - run: *_run_codecov_smoke - store_artifacts: *store_artifacts_kwds @@ -310,7 +288,7 @@ jobs: name: Load saved Docker images. no_output_timeout: 60m command: | - docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz + docker load < /tmp/docker/nipype-base-latest-py36.tar.gz - run: name: Push to DockerHub no_output_timeout: 120m @@ -319,7 +297,6 @@ jobs: docker push nipype/nipype:base docker push nipype/nipype:latest docker push nipype/nipype:py36 - docker push nipype/nipype:py27 - run: name: Move pruned Dockerfile to /tmp/docker/cache directory command: | @@ -403,10 +380,10 @@ workflows: only: /.*/ requires: - compare_base_dockerfiles - - test_py3_fmri_fsl_spm: + - test_fmri_fsl_spm: requires: - compare_base_dockerfiles - - test_py3_fmri_spm_dartel_multiproc: + - test_fmri_spm_dartel_multiproc: requires: - compare_base_dockerfiles - test_fmri_spm_nested_fsl_feeds: @@ -419,8 +396,8 @@ workflows: requires: - test_pytest - test_fmri_spm_nested_fsl_feeds - - test_py3_fmri_fsl_spm - - test_py3_fmri_spm_dartel_multiproc + - test_fmri_fsl_spm + - test_fmri_spm_dartel_multiproc - deploy_pypi: filters: branches: diff --git a/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh b/.circleci/test_fmri_fsl_feeds_linear_l1.sh similarity index 100% rename from .circleci/test_py3_fmri_fsl_feeds_linear_l1.sh rename to .circleci/test_fmri_fsl_feeds_linear_l1.sh diff --git a/.circleci/test_py3_fmri_fsl_reuse_linear_l1.sh b/.circleci/test_fmri_fsl_reuse_linear_l1.sh similarity index 100% rename from .circleci/test_py3_fmri_fsl_reuse_linear_l1.sh rename to .circleci/test_fmri_fsl_reuse_linear_l1.sh diff --git a/.circleci/test_py3_fmri_spm_dartel_multiproc_l1.sh b/.circleci/test_fmri_spm_dartel_multiproc_l1.sh similarity index 100% rename from .circleci/test_py3_fmri_spm_dartel_multiproc_l1.sh rename to .circleci/test_fmri_spm_dartel_multiproc_l1.sh diff --git a/.circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh b/.circleci/test_fmri_spm_dartel_multiproc_l2.sh similarity index 100% rename from .circleci/test_py3_fmri_spm_dartel_multiproc_l2.sh rename to .circleci/test_fmri_spm_dartel_multiproc_l2.sh diff --git a/.circleci/test_py3_fmri_spm_linear_3d.sh b/.circleci/test_fmri_spm_linear_3d.sh similarity index 100% rename from .circleci/test_py3_fmri_spm_linear_3d.sh rename to .circleci/test_fmri_spm_linear_3d.sh diff --git a/.circleci/test_py3_fmri_spm_linear_4d.sh b/.circleci/test_fmri_spm_linear_4d.sh similarity index 100% rename from .circleci/test_py3_fmri_spm_linear_4d.sh rename to .circleci/test_fmri_spm_linear_4d.sh diff --git a/.circleci/test_py3_fmri_spm_nested_multiproc_l1.sh b/.circleci/test_fmri_spm_nested_multiproc_l1.sh similarity index 100% rename from .circleci/test_py3_fmri_spm_nested_multiproc_l1.sh rename to .circleci/test_fmri_spm_nested_multiproc_l1.sh diff --git a/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh b/.circleci/test_fmri_spm_nested_multiproc_l2.sh similarity index 75% rename from .circleci/test_py2_fmri_spm_nested_multiproc_l2.sh rename to .circleci/test_fmri_spm_nested_multiproc_l2.sh index 1aa2a4f8c5..c0926be148 100644 --- a/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh +++ b/.circleci/test_fmri_spm_nested_multiproc_l2.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --rm=false -t -v $WORKDIR:/work -v $HOME/examples:/data/examples:ro -w /work -e NIPYPE_NUMBER_OF_CPUS=4 -e NIPYPE_RESOURCE_MONITOR=1 "${DOCKER_IMAGE}:py27" /usr/bin/run_examples.sh fmri_spm_nested MultiProc /data/examples/ l2pipeline +docker run --rm=false -t -v $WORKDIR:/work -v $HOME/examples:/data/examples:ro -w /work -e NIPYPE_NUMBER_OF_CPUS=4 -e NIPYPE_RESOURCE_MONITOR=1 "${DOCKER_IMAGE}:py36" /usr/bin/run_examples.sh fmri_spm_nested MultiProc /data/examples/ l2pipeline diff --git a/.circleci/test_py2_pytest.sh b/.circleci/test_py2_pytest.sh deleted file mode 100644 index df1489d240..0000000000 --- a/.circleci/test_py2_pytest.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -docker run --rm=false -t -v $WORKDIR:/work -v $HOME/examples:/data/examples:ro -w /work -e CI_SKIP_TEST=1 -e NIPYPE_RESOURCE_MONITOR=1 "${DOCKER_IMAGE}:py27" /usr/bin/run_pytests.sh diff --git a/.circleci/test_py3_pytest.sh b/.circleci/test_pytest.sh similarity index 100% rename from .circleci/test_py3_pytest.sh rename to .circleci/test_pytest.sh From 4a84a0275eaf207b951ee309b84d1a8fdba002c9 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:16:02 -0400 Subject: [PATCH 02/28] RF: Remove builtins --- nipype/__init__.py | 3 - nipype/algorithms/confounds.py | 4 - nipype/algorithms/icc.py | 3 - nipype/algorithms/mesh.py | 4 - nipype/algorithms/metrics.py | 4 - nipype/algorithms/misc.py | 10 +- nipype/algorithms/modelgen.py | 4 - nipype/algorithms/rapidart.py | 4 - nipype/algorithms/stats.py | 2 - nipype/algorithms/tests/test_icc_anova.py | 1 - .../algorithms/tests/test_normalize_tpms.py | 1 - nipype/algorithms/tests/test_rapidart.py | 2 - nipype/caching/memory.py | 4 - nipype/info.py | 3 - nipype/interfaces/__init__.py | 2 - nipype/interfaces/afni/base.py | 7 +- nipype/interfaces/afni/preprocess.py | 4 - nipype/interfaces/afni/utils.py | 4 - nipype/interfaces/ants/base.py | 4 - nipype/interfaces/ants/legacy.py | 325 ------------------ nipype/interfaces/ants/registration.py | 3 - nipype/interfaces/ants/resampling.py | 3 - nipype/interfaces/ants/segmentation.py | 4 - .../ants/tests/test_spec_JointFusion.py | 2 - nipype/interfaces/base/core.py | 8 - nipype/interfaces/base/specs.py | 4 - nipype/interfaces/base/support.py | 4 - nipype/interfaces/base/tests/test_core.py | 5 - nipype/interfaces/base/tests/test_specs.py | 4 - nipype/interfaces/base/tests/test_support.py | 6 +- nipype/interfaces/base/traits_extension.py | 7 - nipype/interfaces/cmtk/cmtk.py | 4 - nipype/interfaces/cmtk/nx.py | 4 - nipype/interfaces/cmtk/parcellation.py | 4 - nipype/interfaces/dcm2nii.py | 3 - nipype/interfaces/diffusion_toolkit/base.py | 3 - nipype/interfaces/diffusion_toolkit/dti.py | 4 - nipype/interfaces/diffusion_toolkit/odf.py | 4 - nipype/interfaces/dipy/reconstruction.py | 6 - nipype/interfaces/dipy/simulate.py | 3 - nipype/interfaces/elastix/registration.py | 4 - nipype/interfaces/elastix/utils.py | 4 - nipype/interfaces/freesurfer/base.py | 4 - nipype/interfaces/freesurfer/preprocess.py | 4 - .../freesurfer/tests/test_preprocess.py | 1 - .../interfaces/freesurfer/tests/test_utils.py | 3 - nipype/interfaces/freesurfer/utils.py | 4 - nipype/interfaces/fsl/dti.py | 4 - nipype/interfaces/fsl/epi.py | 4 - nipype/interfaces/fsl/model.py | 4 - nipype/interfaces/fsl/preprocess.py | 4 - nipype/interfaces/fsl/tests/test_dti.py | 2 - nipype/interfaces/fsl/tests/test_maths.py | 3 - nipype/interfaces/fsl/tests/test_model.py | 3 - .../interfaces/fsl/tests/test_preprocess.py | 4 - nipype/interfaces/fsl/utils.py | 4 - nipype/interfaces/io.py | 4 - nipype/interfaces/matlab.py | 3 - nipype/interfaces/minc/base.py | 3 - nipype/interfaces/minc/minc.py | 4 - nipype/interfaces/mne/base.py | 4 - nipype/interfaces/niftyreg/base.py | 4 - nipype/interfaces/niftyreg/reg.py | 4 - nipype/interfaces/niftyreg/regutils.py | 4 - nipype/interfaces/niftyseg/label_fusion.py | 2 - nipype/interfaces/nipy/model.py | 4 - nipype/interfaces/nipy/preprocess.py | 4 - nipype/interfaces/nitime/analysis.py | 4 - nipype/interfaces/slicer/generate_classes.py | 3 - nipype/interfaces/spm/base.py | 4 - nipype/interfaces/spm/model.py | 4 - nipype/interfaces/spm/preprocess.py | 4 - nipype/interfaces/spm/tests/test_base.py | 3 - nipype/interfaces/tests/test_io.py | 4 - nipype/interfaces/utility/base.py | 7 - nipype/interfaces/utility/csv.py | 7 - nipype/interfaces/utility/wrappers.py | 9 - nipype/pipeline/engine/base.py | 4 - nipype/pipeline/engine/nodes.py | 7 - nipype/pipeline/engine/tests/test_engine.py | 5 - nipype/pipeline/engine/tests/test_join.py | 4 - nipype/pipeline/engine/tests/test_nodes.py | 2 - nipype/pipeline/engine/tests/test_utils.py | 4 - nipype/pipeline/engine/utils.py | 9 +- nipype/pipeline/engine/workflows.py | 8 - nipype/pipeline/plugins/base.py | 4 - nipype/pipeline/plugins/dagman.py | 4 - nipype/pipeline/plugins/ipython.py | 21 +- nipype/pipeline/plugins/oar.py | 4 - nipype/pipeline/plugins/pbs.py | 4 - nipype/pipeline/plugins/pbsgraph.py | 4 - nipype/pipeline/plugins/sge.py | 5 - nipype/pipeline/plugins/sgegraph.py | 4 - nipype/pipeline/plugins/slurm.py | 4 - nipype/pipeline/plugins/slurmgraph.py | 4 - .../pipeline/plugins/tests/test_callback.py | 3 - .../tests/test_legacymultiproc_nondaemon.py | 4 - nipype/pipeline/plugins/tools.py | 4 - nipype/pkg_info.py | 6 - nipype/scripts/utils.py | 2 +- nipype/sphinxext/plot_workflow.py | 4 +- nipype/testing/fixtures.py | 6 - nipype/testing/utils.py | 9 +- nipype/utils/config.py | 6 - nipype/utils/docparse.py | 4 - nipype/utils/draw_gantt_chart.py | 8 +- nipype/utils/filemanip.py | 17 +- nipype/utils/functions.py | 4 +- nipype/utils/logger.py | 4 - nipype/utils/matlabtools.py | 4 - nipype/utils/misc.py | 14 +- nipype/utils/nipype2boutiques.py | 3 - nipype/utils/nipype_cmd.py | 3 - nipype/utils/onetime.py | 4 - nipype/utils/profiler.py | 5 +- nipype/utils/provenance.py | 7 - nipype/utils/spm_docs.py | 6 +- nipype/utils/tests/test_cmd.py | 6 - nipype/utils/tests/test_config.py | 3 - nipype/utils/tests/test_filemanip.py | 3 - nipype/utils/tests/test_misc.py | 4 - nipype/utils/tests/test_nipype2boutiques.py | 3 - nipype/utils/tests/test_provenance.py | 5 - nipype/utils/tmpdirs.py | 2 +- .../dmri/connectivity/group_connectivity.py | 13 +- nipype/workflows/dmri/dipy/denoise.py | 1 - nipype/workflows/dmri/fsl/epi.py | 3 - nipype/workflows/dmri/fsl/utils.py | 4 - nipype/workflows/fmri/fsl/estimate.py | 1 - nipype/workflows/misc/utils.py | 4 - nipype/workflows/rsfmri/fsl/resting.py | 4 - .../workflows/smri/ants/ANTSBuildTemplate.py | 5 - .../ants/antsRegistrationBuildTemplate.py | 3 - nipype/workflows/smri/niftyreg/groupwise.py | 3 - 134 files changed, 26 insertions(+), 894 deletions(-) delete mode 100644 nipype/interfaces/ants/legacy.py diff --git a/nipype/__init__.py b/nipype/__init__.py index ad961e7df4..cf23c06656 100644 --- a/nipype/__init__.py +++ b/nipype/__init__.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import os from distutils.version import LooseVersion diff --git a/nipype/algorithms/confounds.py b/nipype/algorithms/confounds.py index d0f9a5733a..9aa80913c1 100644 --- a/nipype/algorithms/confounds.py +++ b/nipype/algorithms/confounds.py @@ -4,10 +4,6 @@ ''' Algorithms to compute confounds in :abbr:`fMRI (functional MRI)` ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - import os import os.path as op diff --git a/nipype/algorithms/icc.py b/nipype/algorithms/icc.py index 5d5ec1c39f..ba7eb3bedc 100644 --- a/nipype/algorithms/icc.py +++ b/nipype/algorithms/icc.py @@ -1,7 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range import os import numpy as np from numpy import ones, kron, mean, eye, hstack, dot, tile diff --git a/nipype/algorithms/mesh.py b/nipype/algorithms/mesh.py index eeb2ddbb80..6d3c675c41 100644 --- a/nipype/algorithms/mesh.py +++ b/nipype/algorithms/mesh.py @@ -4,10 +4,6 @@ """ Miscellaneous algorithms for 2D contours and 3D triangularized meshes handling """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import zip, str, bytes - import os.path as op import numpy as np from numpy import linalg as nla diff --git a/nipype/algorithms/metrics.py b/nipype/algorithms/metrics.py index d9074c48d3..9e925c8d54 100644 --- a/nipype/algorithms/metrics.py +++ b/nipype/algorithms/metrics.py @@ -5,10 +5,6 @@ Image assessment algorithms. Typical overlap and error computation measures to evaluate results from other processing units. ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import zip, range - import os import os.path as op diff --git a/nipype/algorithms/misc.py b/nipype/algorithms/misc.py index 97906c1d69..67bd677c6f 100644 --- a/nipype/algorithms/misc.py +++ b/nipype/algorithms/misc.py @@ -4,11 +4,6 @@ ''' Miscellaneous algorithms ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, zip, range, open -from future.utils import raise_from - import os import os.path as op @@ -794,9 +789,8 @@ def _run_interface(self, runtime): try: import pandas as pd except ImportError as e: - raise_from( - ImportError('This interface requires pandas ' - '(http://pandas.pydata.org/) to run.'), e) + raise ImportError('This interface requires pandas ' + '(http://pandas.pydata.org/) to run.') from e try: import lockfile as pl diff --git a/nipype/algorithms/modelgen.py b/nipype/algorithms/modelgen.py index 7741139201..7a6cf438c7 100644 --- a/nipype/algorithms/modelgen.py +++ b/nipype/algorithms/modelgen.py @@ -11,10 +11,6 @@ * SpecifyModel: allows specification of sparse and non-sparse models """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str, bytes, int - from copy import deepcopy import os diff --git a/nipype/algorithms/rapidart.py b/nipype/algorithms/rapidart.py index a4d5b592c9..af93c3d8a9 100644 --- a/nipype/algorithms/rapidart.py +++ b/nipype/algorithms/rapidart.py @@ -12,10 +12,6 @@ * StimulusCorrelation: determines correlation between stimuli schedule and movement/intensity parameters """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open, range, str, bytes - import os from copy import deepcopy diff --git a/nipype/algorithms/stats.py b/nipype/algorithms/stats.py index 51a3bc9088..29a45f5844 100644 --- a/nipype/algorithms/stats.py +++ b/nipype/algorithms/stats.py @@ -4,8 +4,6 @@ """ Managing statistical maps """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import nibabel as nb import numpy as np diff --git a/nipype/algorithms/tests/test_icc_anova.py b/nipype/algorithms/tests/test_icc_anova.py index ef19b7f410..79ed312f40 100644 --- a/nipype/algorithms/tests/test_icc_anova.py +++ b/nipype/algorithms/tests/test_icc_anova.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import division import numpy as np from nipype.algorithms.icc import ICC_rep_anova diff --git a/nipype/algorithms/tests/test_normalize_tpms.py b/nipype/algorithms/tests/test_normalize_tpms.py index a65cc66770..31eb2b96dd 100644 --- a/nipype/algorithms/tests/test_normalize_tpms.py +++ b/nipype/algorithms/tests/test_normalize_tpms.py @@ -3,7 +3,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import range import os import pytest diff --git a/nipype/algorithms/tests/test_rapidart.py b/nipype/algorithms/tests/test_rapidart.py index 9c29648626..fbdce11819 100644 --- a/nipype/algorithms/tests/test_rapidart.py +++ b/nipype/algorithms/tests/test_rapidart.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import division - import numpy as np import numpy.testing as npt diff --git a/nipype/caching/memory.py b/nipype/caching/memory.py index 9fcf694d4b..53bf92cce7 100644 --- a/nipype/caching/memory.py +++ b/nipype/caching/memory.py @@ -3,10 +3,6 @@ Using nipype with persistence and lazy recomputation but without explicit name-steps pipeline: getting back scope in command-line based programming. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object, open - import os import hashlib import pickle diff --git a/nipype/info.py b/nipype/info.py index 6b60da6603..f1d72f18e9 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -2,9 +2,6 @@ settings in setup.py, the nipy top-level docstring, and for building the docs. In setup.py in particular, we exec this file, so it cannot import nipy """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import sys # nipype version information. An empty version_extra corresponds to a diff --git a/nipype/interfaces/__init__.py b/nipype/interfaces/__init__.py index a19efa64e5..7ad7166476 100644 --- a/nipype/interfaces/__init__.py +++ b/nipype/interfaces/__init__.py @@ -6,8 +6,6 @@ Requires Packages to be installed """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) __docformat__ = 'restructuredtext' from .io import DataGrabber, DataSink, SelectFiles, BIDSDataGrabber diff --git a/nipype/interfaces/afni/base.py b/nipype/interfaces/afni/base.py index d4b8e474ff..d7b56d095a 100644 --- a/nipype/interfaces/afni/base.py +++ b/nipype/interfaces/afni/base.py @@ -2,11 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """Provide interface to AFNI commands.""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object, str -from future.utils import raise_from - import os from sys import platform from distutils import spawn @@ -63,7 +58,7 @@ def output_type_to_ext(cls, outputtype): return cls.ftypes[outputtype] except KeyError as e: msg = 'Invalid AFNIOUTPUTTYPE: ', outputtype - raise_from(KeyError(msg), e) + raise KeyError(msg) from e @classmethod def outputtype(cls): diff --git a/nipype/interfaces/afni/preprocess.py b/nipype/interfaces/afni/preprocess.py index 4e56f7578b..c3b81187d6 100644 --- a/nipype/interfaces/afni/preprocess.py +++ b/nipype/interfaces/afni/preprocess.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """AFNI preprocessing interfaces """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import os.path as op diff --git a/nipype/interfaces/afni/utils.py b/nipype/interfaces/afni/utils.py index ce32d183ef..a799935bff 100644 --- a/nipype/interfaces/afni/utils.py +++ b/nipype/interfaces/afni/utils.py @@ -7,10 +7,6 @@ -------- See the docstrings of the individual classes for examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, bytes - import os import os.path as op import re diff --git a/nipype/interfaces/ants/base.py b/nipype/interfaces/ants/base.py index 34b64a0ec1..e27cfc0920 100644 --- a/nipype/interfaces/ants/base.py +++ b/nipype/interfaces/ants/base.py @@ -2,10 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """The ants module provides basic functions for interfacing with ANTS tools.""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str - import os # Local imports diff --git a/nipype/interfaces/ants/legacy.py b/nipype/interfaces/ants/legacy.py deleted file mode 100644 index 40f2def728..0000000000 --- a/nipype/interfaces/ants/legacy.py +++ /dev/null @@ -1,325 +0,0 @@ -# -*- coding: utf-8 -*- -# NOTE: This implementation has been superceeded buy the antsApplyTransform -# implmeentation that more closely follows the strucutre and capabilities -# of the antsApplyTransform program. This implementation is here -# for backwards compatibility. -"""ANTS Apply Transforms interface -""" - -from builtins import range - -import os -from glob import glob - -from .base import ANTSCommand, ANTSCommandInputSpec -from ..base import TraitedSpec, File, traits, isdefined, OutputMultiPath -from ...utils.filemanip import split_filename - - -class antsIntroductionInputSpec(ANTSCommandInputSpec): - dimension = traits.Enum( - 3, - 2, - argstr='-d %d', - usedefault=True, - desc='image dimension (2 or 3)', - position=1) - reference_image = File( - exists=True, - argstr='-r %s', - desc='template file to warp to', - mandatory=True, - copyfile=True) - input_image = File( - exists=True, - argstr='-i %s', - desc='input image to warp to template', - mandatory=True, - copyfile=False) - force_proceed = traits.Bool( - argstr='-f 1', - desc=('force script to proceed even if headers ' - 'may be incompatible')) - inverse_warp_template_labels = traits.Bool( - argstr='-l', - desc=('Applies inverse warp to the template labels ' - 'to estimate label positions in target space (use ' - 'for template-based segmentation)')) - max_iterations = traits.List( - traits.Int, - argstr='-m %s', - sep='x', - desc=('maximum number of iterations (must be ' - 'list of integers in the form [J,K,L...]: ' - 'J = coarsest resolution iterations, K = ' - 'middle resolution interations, L = fine ' - 'resolution iterations')) - bias_field_correction = traits.Bool( - argstr='-n 1', - desc=('Applies bias field correction to moving ' - 'image')) - similarity_metric = traits.Enum( - 'PR', - 'CC', - 'MI', - 'MSQ', - argstr='-s %s', - desc=('Type of similartiy metric used for registration ' - '(CC = cross correlation, MI = mutual information, ' - 'PR = probability mapping, MSQ = mean square difference)')) - transformation_model = traits.Enum( - 'GR', - 'EL', - 'SY', - 'S2', - 'EX', - 'DD', - 'RI', - 'RA', - argstr='-t %s', - usedefault=True, - desc=('Type of transofmration model used for registration ' - '(EL = elastic transformation model, SY = SyN with time, ' - 'arbitrary number of time points, S2 = SyN with time ' - 'optimized for 2 time points, GR = greedy SyN, EX = ' - 'exponential, DD = diffeomorphic demons style exponential ' - 'mapping, RI = purely rigid, RA = affine rigid')) - out_prefix = traits.Str( - 'ants_', - argstr='-o %s', - usedefault=True, - desc=('Prefix that is prepended to all output ' - 'files (default = ants_)')) - quality_check = traits.Bool( - argstr='-q 1', desc='Perform a quality check of the result') - - -class antsIntroductionOutputSpec(TraitedSpec): - affine_transformation = File( - exists=True, desc='affine (prefix_Affine.txt)') - warp_field = File(exists=True, desc='warp field (prefix_Warp.nii)') - inverse_warp_field = File( - exists=True, desc='inverse warp field (prefix_InverseWarp.nii)') - input_file = File(exists=True, desc='input image (prefix_repaired.nii)') - output_file = File(exists=True, desc='output image (prefix_deformed.nii)') - - -class antsIntroduction(ANTSCommand): - """Uses ANTS to generate matrices to warp data from one space to another. - - Examples - -------- - - >>> from nipype.interfaces.ants.legacy import antsIntroduction - >>> warp = antsIntroduction() - >>> warp.inputs.reference_image = 'Template_6.nii' - >>> warp.inputs.input_image = 'structural.nii' - >>> warp.inputs.max_iterations = [30,90,20] - >>> warp.cmdline - 'antsIntroduction.sh -d 3 -i structural.nii -m 30x90x20 -o ants_ -r Template_6.nii -t GR' - - """ - - _cmd = 'antsIntroduction.sh' - input_spec = antsIntroductionInputSpec - output_spec = antsIntroductionOutputSpec - - def _list_outputs(self): - outputs = self._outputs().get() - transmodel = self.inputs.transformation_model - - # When transform is set as 'RI'/'RA', wrap fields should not be expected - # The default transformation is GR, which outputs the wrap fields - if not isdefined(transmodel) or (isdefined(transmodel) - and transmodel not in ['RI', 'RA']): - outputs['warp_field'] = os.path.join( - os.getcwd(), self.inputs.out_prefix + 'Warp.nii.gz') - outputs['inverse_warp_field'] = os.path.join( - os.getcwd(), self.inputs.out_prefix + 'InverseWarp.nii.gz') - - outputs['affine_transformation'] = os.path.join( - os.getcwd(), self.inputs.out_prefix + 'Affine.txt') - outputs['input_file'] = os.path.join( - os.getcwd(), self.inputs.out_prefix + 'repaired.nii.gz') - outputs['output_file'] = os.path.join( - os.getcwd(), self.inputs.out_prefix + 'deformed.nii.gz') - - return outputs - - -# How do we make a pass through so that GenWarpFields is just an alias for antsIntroduction ? - - -class GenWarpFields(antsIntroduction): - pass - - -class buildtemplateparallelInputSpec(ANTSCommandInputSpec): - dimension = traits.Enum( - 3, - 2, - 4, - argstr='-d %d', - usedefault=True, - desc='image dimension (2, 3 or 4)', - position=1) - out_prefix = traits.Str( - 'antsTMPL_', - argstr='-o %s', - usedefault=True, - desc=('Prefix that is prepended to all output ' - 'files (default = antsTMPL_)')) - in_files = traits.List( - File(exists=True), - mandatory=True, - desc='list of images to generate template from', - argstr='%s', - position=-1) - parallelization = traits.Enum( - 0, - 1, - 2, - argstr='-c %d', - usedefault=True, - desc=('control for parallel processing (0 = ' - 'serial, 1 = use PBS, 2 = use PEXEC, 3 = ' - 'use Apple XGrid')) - gradient_step_size = traits.Float( - argstr='-g %f', - desc=('smaller magnitude results in ' - 'more cautious steps (default = ' - '.25)')) - iteration_limit = traits.Int( - 4, - argstr='-i %d', - usedefault=True, - desc='iterations of template construction') - num_cores = traits.Int( - argstr='-j %d', - requires=['parallelization'], - desc=('Requires parallelization = 2 (PEXEC). ' - 'Sets number of cpu cores to use')) - max_iterations = traits.List( - traits.Int, - argstr='-m %s', - sep='x', - desc=('maximum number of iterations (must be ' - 'list of integers in the form [J,K,L...]: ' - 'J = coarsest resolution iterations, K = ' - 'middle resolution interations, L = fine ' - 'resolution iterations')) - bias_field_correction = traits.Bool( - argstr='-n 1', - desc=('Applies bias field correction to moving ' - 'image')) - rigid_body_registration = traits.Bool( - argstr='-r 1', - desc=('registers inputs before creating template ' - '(useful if no initial template available)')) - similarity_metric = traits.Enum( - 'PR', - 'CC', - 'MI', - 'MSQ', - argstr='-s %s', - desc=('Type of similartiy metric used for registration ' - '(CC = cross correlation, MI = mutual information, ' - 'PR = probability mapping, MSQ = mean square difference)')) - transformation_model = traits.Enum( - 'GR', - 'EL', - 'SY', - 'S2', - 'EX', - 'DD', - argstr='-t %s', - usedefault=True, - desc=('Type of transofmration model used for registration ' - '(EL = elastic transformation model, SY = SyN with time, ' - 'arbitrary number of time points, S2 = SyN with time ' - 'optimized for 2 time points, GR = greedy SyN, EX = ' - 'exponential, DD = diffeomorphic demons style exponential ' - 'mapping')) - use_first_as_target = traits.Bool( - desc=('uses first volume as target of ' - 'all inputs. When not used, an ' - 'unbiased average image is used ' - 'to start.')) - - -class buildtemplateparallelOutputSpec(TraitedSpec): - final_template_file = File(exists=True, desc='final ANTS template') - template_files = OutputMultiPath( - File(exists=True), desc='Templates from different stages of iteration') - subject_outfiles = OutputMultiPath( - File(exists=True), - desc=('Outputs for each input image. Includes warp ' - 'field, inverse warp, Affine, original image ' - '(repaired) and warped image (deformed)')) - - -class buildtemplateparallel(ANTSCommand): - """Generate a optimal average template - - .. warning:: - - This can take a VERY long time to complete - - Examples - -------- - - >>> from nipype.interfaces.ants.legacy import buildtemplateparallel - >>> tmpl = buildtemplateparallel() - >>> tmpl.inputs.in_files = ['T1.nii', 'structural.nii'] - >>> tmpl.inputs.max_iterations = [30, 90, 20] - >>> tmpl.cmdline - 'buildtemplateparallel.sh -d 3 -i 4 -m 30x90x20 -o antsTMPL_ -c 0 -t GR T1.nii structural.nii' - - """ - - _cmd = 'buildtemplateparallel.sh' - input_spec = buildtemplateparallelInputSpec - output_spec = buildtemplateparallelOutputSpec - - def _format_arg(self, opt, spec, val): - if opt == 'num_cores': - if self.inputs.parallelization == 2: - return '-j ' + str(val) - else: - return '' - if opt == 'in_files': - if self.inputs.use_first_as_target: - start = '-z ' - else: - start = '' - return start + ' '.join(name for name in val) - return super(buildtemplateparallel, self)._format_arg(opt, spec, val) - - def _list_outputs(self): - outputs = self._outputs().get() - outputs['template_files'] = [] - for i in range(len(glob(os.path.realpath('*iteration*')))): - temp = os.path.realpath('%s_iteration_%d/%stemplate.nii.gz' % - (self.inputs.transformation_model, i, - self.inputs.out_prefix)) - os.rename( - temp, - os.path.realpath('%s_iteration_%d/%stemplate_i%d.nii.gz' % - (self.inputs.transformation_model, i, - self.inputs.out_prefix, i))) - file_ = ('%s_iteration_%d/%stemplate_i%d.nii.gz' % - (self.inputs.transformation_model, i, - self.inputs.out_prefix, i)) - - outputs['template_files'].append(os.path.realpath(file_)) - outputs['final_template_file'] = \ - os.path.realpath('%stemplate.nii.gz' % - self.inputs.out_prefix) - outputs['subject_outfiles'] = [] - for filename in self.inputs.in_files: - _, base, _ = split_filename(filename) - temp = glob( - os.path.realpath('%s%s*' % (self.inputs.out_prefix, base))) - for file_ in temp: - outputs['subject_outfiles'].append(file_) - return outputs diff --git a/nipype/interfaces/ants/registration.py b/nipype/interfaces/ants/registration.py index 7190816cf3..6421e271b9 100644 --- a/nipype/interfaces/ants/registration.py +++ b/nipype/interfaces/ants/registration.py @@ -2,9 +2,6 @@ """The ants module provides basic functions for interfacing with ants functions. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str import os from ...utils.filemanip import ensure_list diff --git a/nipype/interfaces/ants/resampling.py b/nipype/interfaces/ants/resampling.py index e26a48ed6a..94bccbdf7d 100644 --- a/nipype/interfaces/ants/resampling.py +++ b/nipype/interfaces/ants/resampling.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- """ANTS Apply Transforms interface """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str import os from .base import ANTSCommand, ANTSCommandInputSpec diff --git a/nipype/interfaces/ants/segmentation.py b/nipype/interfaces/ants/segmentation.py index 6ccfb28ba2..cb679faabd 100644 --- a/nipype/interfaces/ants/segmentation.py +++ b/nipype/interfaces/ants/segmentation.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """The ants module provides basic functions for interfacing with ants functions. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str - import os from ...external.due import BibTeX from ...utils.filemanip import split_filename, copyfile, which diff --git a/nipype/interfaces/ants/tests/test_spec_JointFusion.py b/nipype/interfaces/ants/tests/test_spec_JointFusion.py index b2ca69926a..a1dc03cc40 100644 --- a/nipype/interfaces/ants/tests/test_spec_JointFusion.py +++ b/nipype/interfaces/ants/tests/test_spec_JointFusion.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import division -from builtins import range from nipype.testing import example_data from nipype.interfaces.base import InputMultiPath from traits.trait_errors import TraitError diff --git a/nipype/interfaces/base/core.py b/nipype/interfaces/base/core.py index 6069c12041..c4f4840dd5 100644 --- a/nipype/interfaces/base/core.py +++ b/nipype/interfaces/base/core.py @@ -12,11 +12,6 @@ interfaces are found in the ``specs`` module. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import object, open, str, bytes - import gc from copy import deepcopy from datetime import datetime as dt @@ -46,9 +41,6 @@ StdOutCommandLineInputSpec, MpiCommandLineInputSpec) from .support import (Bunch, Stream, InterfaceResult, NipypeInterfaceError) -from future import standard_library -standard_library.install_aliases() - iflogger = logging.getLogger('nipype.interface') PY35 = sys.version_info >= (3, 5) diff --git a/nipype/interfaces/base/specs.py b/nipype/interfaces/base/specs.py index c07bdc4a71..90ed1715a5 100644 --- a/nipype/interfaces/base/specs.py +++ b/nipype/interfaces/base/specs.py @@ -9,13 +9,9 @@ Define the API for the I/O of interfaces """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import os from copy import deepcopy from warnings import warn -from builtins import str, bytes from packaging.version import Version from ...utils.filemanip import md5, hash_infile, hash_timestamp, to_str diff --git a/nipype/interfaces/base/support.py b/nipype/interfaces/base/support.py index 87252fd6d3..b827488381 100644 --- a/nipype/interfaces/base/support.py +++ b/nipype/interfaces/base/support.py @@ -7,10 +7,6 @@ ...................................................... """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, object, str - import os from copy import deepcopy diff --git a/nipype/interfaces/base/tests/test_core.py b/nipype/interfaces/base/tests/test_core.py index fe1b3a227e..f4dd0ca3d3 100644 --- a/nipype/interfaces/base/tests/test_core.py +++ b/nipype/interfaces/base/tests/test_core.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals -from future import standard_library -from builtins import open import os import simplejson as json @@ -13,8 +10,6 @@ from ....testing import example_data from ... import base as nib -standard_library.install_aliases() - def check_dict(ref_dict, tst_dict): """Compare dictionaries of inputs and and those loaded from json files""" diff --git a/nipype/interfaces/base/tests/test_specs.py b/nipype/interfaces/base/tests/test_specs.py index 2586fc7b6a..b8a346169c 100644 --- a/nipype/interfaces/base/tests/test_specs.py +++ b/nipype/interfaces/base/tests/test_specs.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals -from future import standard_library import os import warnings @@ -12,8 +10,6 @@ from ... import base as nib from ...base import traits, Undefined -standard_library.install_aliases() - @pytest.fixture(scope="module") def setup_file(request, tmpdir_factory): diff --git a/nipype/interfaces/base/tests/test_support.py b/nipype/interfaces/base/tests/test_support.py index e6db69a458..fbd6dcc209 100644 --- a/nipype/interfaces/base/tests/test_support.py +++ b/nipype/interfaces/base/tests/test_support.py @@ -1,18 +1,14 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals import os import pytest -from builtins import open -from future import standard_library + from pkg_resources import resource_filename as pkgrf from ....utils.filemanip import md5 from ... import base as nib -standard_library.install_aliases() - @pytest.mark.parametrize("args", [{}, {'a': 1, 'b': [2, 3]}]) def test_bunch(args): diff --git a/nipype/interfaces/base/traits_extension.py b/nipype/interfaces/base/traits_extension.py index a98ec020c8..e6db35cca0 100644 --- a/nipype/interfaces/base/traits_extension.py +++ b/nipype/interfaces/base/traits_extension.py @@ -20,10 +20,6 @@ (usually by Robert Kern). """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import str, bytes import os import collections @@ -36,13 +32,10 @@ from traits.api import BaseUnicode from traits.api import Unicode -from future import standard_library if traits_version < '3.7.0': raise ImportError('Traits version 3.7.0 or higher must be installed') -standard_library.install_aliases() - class Str(Unicode): """Replacement for the default traits.Str based in bytes""" diff --git a/nipype/interfaces/cmtk/cmtk.py b/nipype/interfaces/cmtk/cmtk.py index c26220c6b0..296da6db65 100644 --- a/nipype/interfaces/cmtk/cmtk.py +++ b/nipype/interfaces/cmtk/cmtk.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import pickle import os.path as op diff --git a/nipype/interfaces/cmtk/nx.py b/nipype/interfaces/cmtk/nx.py index 1b58494f2c..7fc36a9e4d 100644 --- a/nipype/interfaces/cmtk/nx.py +++ b/nipype/interfaces/cmtk/nx.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open, range - import os.path as op import pickle diff --git a/nipype/interfaces/cmtk/parcellation.py b/nipype/interfaces/cmtk/parcellation.py index 0e25e8eb10..a80c4e895f 100644 --- a/nipype/interfaces/cmtk/parcellation.py +++ b/nipype/interfaces/cmtk/parcellation.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - import os import os.path as op import shutil diff --git a/nipype/interfaces/dcm2nii.py b/nipype/interfaces/dcm2nii.py index db0c0ec4cf..d65dba811f 100644 --- a/nipype/interfaces/dcm2nii.py +++ b/nipype/interfaces/dcm2nii.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- """The dcm2nii module provides basic functions for dicom conversion """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open import os import re from copy import deepcopy diff --git a/nipype/interfaces/diffusion_toolkit/base.py b/nipype/interfaces/diffusion_toolkit/base.py index c8e3a17c61..bac8e781d1 100644 --- a/nipype/interfaces/diffusion_toolkit/base.py +++ b/nipype/interfaces/diffusion_toolkit/base.py @@ -13,9 +13,6 @@ See the docstrings for the individual classes for 'working' examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object import re from ..base import CommandLine diff --git a/nipype/interfaces/diffusion_toolkit/dti.py b/nipype/interfaces/diffusion_toolkit/dti.py index 570ae55df5..1b90b55e91 100644 --- a/nipype/interfaces/diffusion_toolkit/dti.py +++ b/nipype/interfaces/diffusion_toolkit/dti.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various commands provided by diffusion toolkit """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import os import re diff --git a/nipype/interfaces/diffusion_toolkit/odf.py b/nipype/interfaces/diffusion_toolkit/odf.py index cf4eb683a2..9c2d6d2505 100644 --- a/nipype/interfaces/diffusion_toolkit/odf.py +++ b/nipype/interfaces/diffusion_toolkit/odf.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various commands provided by diffusion toolkit """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - import os import re diff --git a/nipype/interfaces/dipy/reconstruction.py b/nipype/interfaces/dipy/reconstruction.py index 26a7014f79..3921a28088 100644 --- a/nipype/interfaces/dipy/reconstruction.py +++ b/nipype/interfaces/dipy/reconstruction.py @@ -3,12 +3,6 @@ Interfaces to the reconstruction algorithms in dipy """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from future import standard_library -standard_library.install_aliases() -from builtins import str, open - import os.path as op import numpy as np diff --git a/nipype/interfaces/dipy/simulate.py b/nipype/interfaces/dipy/simulate.py index 4a995c8fa9..9b3c12536f 100644 --- a/nipype/interfaces/dipy/simulate.py +++ b/nipype/interfaces/dipy/simulate.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from multiprocessing import (Pool, cpu_count) import os.path as op -from builtins import range import numpy as np import nibabel as nb diff --git a/nipype/interfaces/elastix/registration.py b/nipype/interfaces/elastix/registration.py index 7f2565d58c..47b6d98233 100644 --- a/nipype/interfaces/elastix/registration.py +++ b/nipype/interfaces/elastix/registration.py @@ -7,10 +7,6 @@ displacement maps to images and points. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os.path as op import re diff --git a/nipype/interfaces/elastix/utils.py b/nipype/interfaces/elastix/utils.py index 505115b05a..52fd7023a2 100644 --- a/nipype/interfaces/elastix/utils.py +++ b/nipype/interfaces/elastix/utils.py @@ -7,10 +7,6 @@ transform files (to configure warpings) """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os.path as op from ... import logging diff --git a/nipype/interfaces/freesurfer/base.py b/nipype/interfaces/freesurfer/base.py index cda527a5ea..53d3b512c5 100644 --- a/nipype/interfaces/freesurfer/base.py +++ b/nipype/interfaces/freesurfer/base.py @@ -14,10 +14,6 @@ See the docstrings for the individual classes for 'working' examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open, object, str - import os from ... import LooseVersion diff --git a/nipype/interfaces/freesurfer/preprocess.py b/nipype/interfaces/freesurfer/preprocess.py index f99696e02a..7b2610d595 100644 --- a/nipype/interfaces/freesurfer/preprocess.py +++ b/nipype/interfaces/freesurfer/preprocess.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various commands provided by FreeSurfer """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - import os import os.path as op from glob import glob diff --git a/nipype/interfaces/freesurfer/tests/test_preprocess.py b/nipype/interfaces/freesurfer/tests/test_preprocess.py index f9fc09515a..b0a6db293a 100644 --- a/nipype/interfaces/freesurfer/tests/test_preprocess.py +++ b/nipype/interfaces/freesurfer/tests/test_preprocess.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import str import os import pytest diff --git a/nipype/interfaces/freesurfer/tests/test_utils.py b/nipype/interfaces/freesurfer/tests/test_utils.py index f3ff8fd5ee..203b2483f8 100644 --- a/nipype/interfaces/freesurfer/tests/test_utils.py +++ b/nipype/interfaces/freesurfer/tests/test_utils.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open import os import os.path as op import pytest diff --git a/nipype/interfaces/freesurfer/utils.py b/nipype/interfaces/freesurfer/utils.py index b258d41720..a1dcec8ae1 100644 --- a/nipype/interfaces/freesurfer/utils.py +++ b/nipype/interfaces/freesurfer/utils.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Interfaces to assorted Freesurfer utility programs. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open - import os import re import shutil diff --git a/nipype/interfaces/fsl/dti.py b/nipype/interfaces/fsl/dti.py index d8812cec6c..ba4f3f9887 100644 --- a/nipype/interfaces/fsl/dti.py +++ b/nipype/interfaces/fsl/dti.py @@ -5,10 +5,6 @@ `_ command line tools. This was written to work with FSL version 4.1.4. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import os import warnings diff --git a/nipype/interfaces/fsl/epi.py b/nipype/interfaces/fsl/epi.py index e45a94ed2c..826bbd6756 100644 --- a/nipype/interfaces/fsl/epi.py +++ b/nipype/interfaces/fsl/epi.py @@ -5,10 +5,6 @@ `_ command line tools. This was written to work with FSL version 5.0.4. """ -from __future__ import print_function, division, unicode_literals, \ - absolute_import -from builtins import str - import os import numpy as np import nibabel as nb diff --git a/nipype/interfaces/fsl/model.py b/nipype/interfaces/fsl/model.py index 113f785120..a52a631ebe 100644 --- a/nipype/interfaces/fsl/model.py +++ b/nipype/interfaces/fsl/model.py @@ -5,10 +5,6 @@ `_ command line tools. This was written to work with FSL version 4.1.4. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import os from glob import glob from shutil import rmtree diff --git a/nipype/interfaces/fsl/preprocess.py b/nipype/interfaces/fsl/preprocess.py index dd2c969945..fc1e1a005c 100644 --- a/nipype/interfaces/fsl/preprocess.py +++ b/nipype/interfaces/fsl/preprocess.py @@ -5,10 +5,6 @@ `_ command line tools. This was written to work with FSL version 4.1.4. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import os import os.path as op from warnings import warn diff --git a/nipype/interfaces/fsl/tests/test_dti.py b/nipype/interfaces/fsl/tests/test_dti.py index cd76766dd8..19d807d217 100644 --- a/nipype/interfaces/fsl/tests/test_dti.py +++ b/nipype/interfaces/fsl/tests/test_dti.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import open, range import os import nipype.interfaces.fsl.dti as fsl diff --git a/nipype/interfaces/fsl/tests/test_maths.py b/nipype/interfaces/fsl/tests/test_maths.py index b8aa41dc6b..7760c6dbe4 100644 --- a/nipype/interfaces/fsl/tests/test_maths.py +++ b/nipype/interfaces/fsl/tests/test_maths.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import division -from __future__ import unicode_literals -from builtins import open import os import numpy as np diff --git a/nipype/interfaces/fsl/tests/test_model.py b/nipype/interfaces/fsl/tests/test_model.py index 8b8d0b7b40..c5c2f5bf35 100644 --- a/nipype/interfaces/fsl/tests/test_model.py +++ b/nipype/interfaces/fsl/tests/test_model.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import open - import os import pytest diff --git a/nipype/interfaces/fsl/tests/test_preprocess.py b/nipype/interfaces/fsl/tests/test_preprocess.py index 4b387201cf..5caffae1b1 100644 --- a/nipype/interfaces/fsl/tests/test_preprocess.py +++ b/nipype/interfaces/fsl/tests/test_preprocess.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals -from builtins import str # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import open - import os from copy import deepcopy diff --git a/nipype/interfaces/fsl/utils.py b/nipype/interfaces/fsl/utils.py index e237124bb3..6d49047f44 100644 --- a/nipype/interfaces/fsl/utils.py +++ b/nipype/interfaces/fsl/utils.py @@ -9,10 +9,6 @@ -------- See the docstrings of the individual classes for examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import map, range - import os import os.path as op import re diff --git a/nipype/interfaces/io.py b/nipype/interfaces/io.py index 7a89675e8d..044b809aec 100644 --- a/nipype/interfaces/io.py +++ b/nipype/interfaces/io.py @@ -11,10 +11,6 @@ To come : XNATSink """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object, zip, filter, range, open, str - import glob import fnmatch import string diff --git a/nipype/interfaces/matlab.py b/nipype/interfaces/matlab.py index fed7bfeb57..71fc7ab0e5 100644 --- a/nipype/interfaces/matlab.py +++ b/nipype/interfaces/matlab.py @@ -2,9 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ General matlab interface code """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open import os from .. import config diff --git a/nipype/interfaces/minc/base.py b/nipype/interfaces/minc/base.py index 67b7938176..9436c2c3d1 100644 --- a/nipype/interfaces/minc/base.py +++ b/nipype/interfaces/minc/base.py @@ -8,9 +8,6 @@ Author: Carlo Hamalainen http://carlo-hamalainen.net """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object import os import os.path import warnings diff --git a/nipype/interfaces/minc/minc.py b/nipype/interfaces/minc/minc.py index 8ac8babe52..5b3dc144dd 100644 --- a/nipype/interfaces/minc/minc.py +++ b/nipype/interfaces/minc/minc.py @@ -8,10 +8,6 @@ Author: Carlo Hamalainen http://carlo-hamalainen.net """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import glob import os import os.path diff --git a/nipype/interfaces/mne/base.py b/nipype/interfaces/mne/base.py index 7f53071372..7ffc95b08a 100644 --- a/nipype/interfaces/mne/base.py +++ b/nipype/interfaces/mne/base.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, bytes - import os.path as op import glob diff --git a/nipype/interfaces/niftyreg/base.py b/nipype/interfaces/niftyreg/base.py index bd8a280aa5..0b1e0c514a 100644 --- a/nipype/interfaces/niftyreg/base.py +++ b/nipype/interfaces/niftyreg/base.py @@ -15,10 +15,6 @@ See the docstrings of the individual classes for examples. """ - -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import property, super from distutils.version import StrictVersion import os diff --git a/nipype/interfaces/niftyreg/reg.py b/nipype/interfaces/niftyreg/reg.py index f36752b872..26985a3e58 100644 --- a/nipype/interfaces/niftyreg/reg.py +++ b/nipype/interfaces/niftyreg/reg.py @@ -7,10 +7,6 @@ The interfaces were written to work with niftyreg version 1.5.10 """ - -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import staticmethod import os from ..base import TraitedSpec, File, traits, isdefined diff --git a/nipype/interfaces/niftyreg/regutils.py b/nipype/interfaces/niftyreg/regutils.py index c90aa53bed..2d08a7119d 100644 --- a/nipype/interfaces/niftyreg/regutils.py +++ b/nipype/interfaces/niftyreg/regutils.py @@ -6,10 +6,6 @@ The interfaces were written to work with niftyreg version 1.5.10 """ - -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import len, open, property, super import os from ..base import TraitedSpec, File, traits, isdefined diff --git a/nipype/interfaces/niftyseg/label_fusion.py b/nipype/interfaces/niftyseg/label_fusion.py index 1b0237d37c..5185b64f68 100644 --- a/nipype/interfaces/niftyseg/label_fusion.py +++ b/nipype/interfaces/niftyseg/label_fusion.py @@ -4,8 +4,6 @@ The fusion module provides higher-level interfaces to some of the operations that can be performed with the seg_LabFusion command-line program. """ - -from builtins import str import os import warnings diff --git a/nipype/interfaces/nipy/model.py b/nipype/interfaces/nipy/model.py index 8746728990..3d0f9ae19c 100644 --- a/nipype/interfaces/nipy/model.py +++ b/nipype/interfaces/nipy/model.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str, bytes - import os import nibabel as nb diff --git a/nipype/interfaces/nipy/preprocess.py b/nipype/interfaces/nipy/preprocess.py index 252463e3f7..0db8eb522a 100644 --- a/nipype/interfaces/nipy/preprocess.py +++ b/nipype/interfaces/nipy/preprocess.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import nibabel as nb diff --git a/nipype/interfaces/nitime/analysis.py b/nipype/interfaces/nitime/analysis.py index 6e8ff17d0f..7f393efadf 100644 --- a/nipype/interfaces/nitime/analysis.py +++ b/nipype/interfaces/nitime/analysis.py @@ -10,10 +10,6 @@ - nitime.viz.drawmatrix_channels """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import zip, object, open - import numpy as np import tempfile diff --git a/nipype/interfaces/slicer/generate_classes.py b/nipype/interfaces/slicer/generate_classes.py index 6fe3ae927f..850b561c47 100644 --- a/nipype/interfaces/slicer/generate_classes.py +++ b/nipype/interfaces/slicer/generate_classes.py @@ -3,9 +3,6 @@ modules are selected from the hardcoded list below and generated code is placed in the cli_modules.py file (and imported in __init__.py). For this to work correctly you must have your CLI executabes in $PATH""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, bytes, open import xml.dom.minidom import subprocess import os diff --git a/nipype/interfaces/spm/base.py b/nipype/interfaces/spm/base.py index 214a6e7a2f..064d5f8cad 100644 --- a/nipype/interfaces/spm/base.py +++ b/nipype/interfaces/spm/base.py @@ -14,10 +14,6 @@ spm.SPMCommand().version """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, object, str, bytes - # Standard library imports import os from copy import deepcopy diff --git a/nipype/interfaces/spm/model.py b/nipype/interfaces/spm/model.py index 3e26ab6e2a..78179f3c6b 100644 --- a/nipype/interfaces/spm/model.py +++ b/nipype/interfaces/spm/model.py @@ -4,10 +4,6 @@ """The spm module provides basic functions for interfacing with matlab and spm to access spm tools. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, bytes - # Standard library imports import os from glob import glob diff --git a/nipype/interfaces/spm/preprocess.py b/nipype/interfaces/spm/preprocess.py index cdf7a6e0e7..9aba34c760 100644 --- a/nipype/interfaces/spm/preprocess.py +++ b/nipype/interfaces/spm/preprocess.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """SPM wrappers for preprocessing data """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - import os from copy import deepcopy diff --git a/nipype/interfaces/spm/tests/test_base.py b/nipype/interfaces/spm/tests/test_base.py index a8a23e8def..c59cd6b234 100644 --- a/nipype/interfaces/spm/tests/test_base.py +++ b/nipype/interfaces/spm/tests/test_base.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import unicode_literals -from builtins import str, bytes - import os import numpy as np diff --git a/nipype/interfaces/tests/test_io.py b/nipype/interfaces/tests/test_io.py index abff491f36..e89aac43d9 100644 --- a/nipype/interfaces/tests/test_io.py +++ b/nipype/interfaces/tests/test_io.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals -from builtins import str, zip, range, open -from future import standard_library import os import copy import simplejson @@ -65,7 +62,6 @@ no_local_ssh = True # Check for fakes3 -standard_library.install_aliases() from subprocess import check_call, CalledProcessError try: ret_code = check_call(['which', 'fakes3'], stdout=open(os.devnull, 'wb')) diff --git a/nipype/interfaces/utility/base.py b/nipype/interfaces/utility/base.py index f2da6cf2a6..4ccd1f2f0e 100644 --- a/nipype/interfaces/utility/base.py +++ b/nipype/interfaces/utility/base.py @@ -6,13 +6,6 @@ >>> tmp = getfixture('tmpdir') >>> old = tmp.chdir() """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range - -from future import standard_library -standard_library.install_aliases() - import os import re import numpy as np diff --git a/nipype/interfaces/utility/csv.py b/nipype/interfaces/utility/csv.py index 16c377e3b5..d22b146d74 100644 --- a/nipype/interfaces/utility/csv.py +++ b/nipype/interfaces/utility/csv.py @@ -3,13 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """CSV Handling utilities """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import zip, range, str, open - -from future import standard_library -standard_library.install_aliases() - from ..base import (traits, TraitedSpec, DynamicTraitedSpec, File, BaseInterface) from ..io import add_traits diff --git a/nipype/interfaces/utility/wrappers.py b/nipype/interfaces/utility/wrappers.py index 80a6f89738..e775c9a540 100644 --- a/nipype/interfaces/utility/wrappers.py +++ b/nipype/interfaces/utility/wrappers.py @@ -6,15 +6,6 @@ >>> tmp = getfixture('tmpdir') >>> old = tmp.chdir() """ - -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from future import standard_library -standard_library.install_aliases() - -from builtins import str, bytes - from ... import logging from ..base import (traits, DynamicTraitedSpec, Undefined, isdefined, BaseInterfaceInputSpec) diff --git a/nipype/pipeline/engine/base.py b/nipype/pipeline/engine/base.py index 9d0bc3c699..3912e10326 100644 --- a/nipype/pipeline/engine/base.py +++ b/nipype/pipeline/engine/base.py @@ -6,10 +6,6 @@ The `EngineBase` class implements the more general view of a task. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object - from copy import deepcopy import re import numpy as np diff --git a/nipype/pipeline/engine/nodes.py b/nipype/pipeline/engine/nodes.py index 5ac9e72fae..e24270528b 100644 --- a/nipype/pipeline/engine/nodes.py +++ b/nipype/pipeline/engine/nodes.py @@ -5,10 +5,6 @@ The `Node` class provides core functionality for batch processing. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, str, bytes, open - from collections import OrderedDict import os @@ -20,7 +16,6 @@ from logging import INFO from tempfile import mkdtemp -from future import standard_library from ... import config, logging from ...utils.misc import flatten, unflatten, str2bool, dict_diff @@ -39,8 +34,6 @@ clean_working_directory, merge_dict, evaluate_connect_function) from .base import EngineBase -standard_library.install_aliases() - logger = logging.getLogger('nipype.workflow') diff --git a/nipype/pipeline/engine/tests/test_engine.py b/nipype/pipeline/engine/tests/test_engine.py index 151849241c..5f41d70d34 100644 --- a/nipype/pipeline/engine/tests/test_engine.py +++ b/nipype/pipeline/engine/tests/test_engine.py @@ -3,15 +3,10 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Tests for the engine module """ - -from __future__ import print_function -from __future__ import unicode_literals -from builtins import open from copy import deepcopy from glob import glob import os - import pytest from ... import engine as pe from .test_base import EngineTestInterface diff --git a/nipype/pipeline/engine/tests/test_join.py b/nipype/pipeline/engine/tests/test_join.py index 77fc0f2fdf..d0e71eaa63 100644 --- a/nipype/pipeline/engine/tests/test_join.py +++ b/nipype/pipeline/engine/tests/test_join.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Tests for join expansion """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - from ... import engine as pe from ....interfaces import base as nib from ....interfaces.utility import IdentityInterface, Function, Merge diff --git a/nipype/pipeline/engine/tests/test_nodes.py b/nipype/pipeline/engine/tests/test_nodes.py index 4a04b94766..b724aaec59 100644 --- a/nipype/pipeline/engine/tests/test_nodes.py +++ b/nipype/pipeline/engine/tests/test_nodes.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals -from builtins import str import os from copy import deepcopy import pytest diff --git a/nipype/pipeline/engine/tests/test_utils.py b/nipype/pipeline/engine/tests/test_utils.py index 42f8b2434e..e867e4d0a1 100644 --- a/nipype/pipeline/engine/tests/test_utils.py +++ b/nipype/pipeline/engine/tests/test_utils.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Tests for the engine utils module """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - import os import sys from copy import deepcopy diff --git a/nipype/pipeline/engine/utils.py b/nipype/pipeline/engine/utils.py index 4ec36afe68..17554e3615 100644 --- a/nipype/pipeline/engine/utils.py +++ b/nipype/pipeline/engine/utils.py @@ -2,10 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """Utility routines for workflow graphs""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open, next, zip, range - import os import sys import pickle @@ -22,7 +18,6 @@ import numpy as np import networkx as nx -from future import standard_library from ... import logging, config, LooseVersion from ...utils.filemanip import ( @@ -51,7 +46,6 @@ except ImportError: from funcsigs import signature -standard_library.install_aliases() logger = logging.getLogger('nipype.workflow') PY3 = sys.version_info[0] > 2 @@ -383,8 +377,7 @@ def format_node(node, format='python', include_config=False): if include_config: lines = [ - importline, "from future import standard_library", - "standard_library.install_aliases()", + importline, "from collections import OrderedDict", comment, nodedef ] lines.append('%s.config = %s' % (name, node.config)) diff --git a/nipype/pipeline/engine/workflows.py b/nipype/pipeline/engine/workflows.py index d2f040786e..da6e3d6fbf 100644 --- a/nipype/pipeline/engine/workflows.py +++ b/nipype/pipeline/engine/workflows.py @@ -6,10 +6,6 @@ The `Workflow` class provides core functionality for batch processing. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, bytes, open - import os import os.path as op import sys @@ -35,10 +31,6 @@ from .base import EngineBase from .nodes import MapNode -# Py2 compat: http://python-future.org/compatible_idioms.html#collections-counter-and-ordereddict -from future import standard_library -standard_library.install_aliases() - logger = logging.getLogger('nipype.workflow') diff --git a/nipype/pipeline/plugins/base.py b/nipype/pipeline/plugins/base.py index 122d7e57cd..83fe1d9db8 100644 --- a/nipype/pipeline/plugins/base.py +++ b/nipype/pipeline/plugins/base.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Common graph operations for execution """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, object, open - import sys from copy import deepcopy from glob import glob diff --git a/nipype/pipeline/plugins/dagman.py b/nipype/pipeline/plugins/dagman.py index 28b766f2ea..9db1f70fe5 100644 --- a/nipype/pipeline/plugins/dagman.py +++ b/nipype/pipeline/plugins/dagman.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via Condor DAGMan """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import sys import uuid diff --git a/nipype/pipeline/plugins/ipython.py b/nipype/pipeline/plugins/ipython.py index aa20f935c1..eafeb904e3 100644 --- a/nipype/pipeline/plugins/ipython.py +++ b/nipype/pipeline/plugins/ipython.py @@ -3,13 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Parallel workflow execution via IPython controller """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from future import standard_library -standard_library.install_aliases() -from future.utils import raise_from - from pickle import dumps import sys @@ -76,20 +69,18 @@ def run(self, graph, config, updatehash=False): __import__(name) self.iparallel = sys.modules[name] except ImportError as e: - raise_from( - ImportError("ipyparallel not found. Parallel execution " - "will be unavailable"), e) + raise ImportError("ipyparallel not found. Parallel execution " + "will be unavailable") from e try: self.taskclient = self.iparallel.Client(**self.client_args) except Exception as e: if isinstance(e, TimeoutError): - raise_from(Exception("No IPython clients found."), e) + raise Exception("No IPython clients found.") from e if isinstance(e, IOError): - raise_from( - Exception("ipcluster/ipcontroller has not been started"), - e) + raise Exception("ipcluster/ipcontroller has not been started") \ + from e if isinstance(e, ValueError): - raise_from(Exception("Ipython kernel not installed"), e) + raise Exception("Ipython kernel not installed") from e else: raise e return super(IPythonPlugin, self).run( diff --git a/nipype/pipeline/plugins/oar.py b/nipype/pipeline/plugins/oar.py index c68b42379f..5ce718c250 100644 --- a/nipype/pipeline/plugins/oar.py +++ b/nipype/pipeline/plugins/oar.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via OAR http://oar.imag.fr """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import str, open import os import stat from time import sleep diff --git a/nipype/pipeline/plugins/pbs.py b/nipype/pipeline/plugins/pbs.py index 0738638765..cc5bbed93b 100644 --- a/nipype/pipeline/plugins/pbs.py +++ b/nipype/pipeline/plugins/pbs.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via PBS/Torque """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open - import os from time import sleep diff --git a/nipype/pipeline/plugins/pbsgraph.py b/nipype/pipeline/plugins/pbsgraph.py index 68fc651f5f..9b6e9da755 100644 --- a/nipype/pipeline/plugins/pbsgraph.py +++ b/nipype/pipeline/plugins/pbsgraph.py @@ -1,9 +1,5 @@ """Parallel workflow execution via PBS/Torque """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import sys diff --git a/nipype/pipeline/plugins/sge.py b/nipype/pipeline/plugins/sge.py index a4ce28297c..61b127e188 100644 --- a/nipype/pipeline/plugins/sge.py +++ b/nipype/pipeline/plugins/sge.py @@ -1,11 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via SGE """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import object - import os import pwd import re diff --git a/nipype/pipeline/plugins/sgegraph.py b/nipype/pipeline/plugins/sgegraph.py index fa07d6a436..06e5719654 100644 --- a/nipype/pipeline/plugins/sgegraph.py +++ b/nipype/pipeline/plugins/sgegraph.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via SGE """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import sys diff --git a/nipype/pipeline/plugins/slurm.py b/nipype/pipeline/plugins/slurm.py index 285d2d6584..d63e15dd6f 100644 --- a/nipype/pipeline/plugins/slurm.py +++ b/nipype/pipeline/plugins/slurm.py @@ -5,10 +5,6 @@ Parallel workflow execution with SLURM ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import re from time import sleep diff --git a/nipype/pipeline/plugins/slurmgraph.py b/nipype/pipeline/plugins/slurmgraph.py index b4013163cb..1b62177457 100644 --- a/nipype/pipeline/plugins/slurmgraph.py +++ b/nipype/pipeline/plugins/slurmgraph.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via SLURM """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import sys diff --git a/nipype/pipeline/plugins/tests/test_callback.py b/nipype/pipeline/plugins/tests/test_callback.py index 29c5cbd404..73f0cb8322 100644 --- a/nipype/pipeline/plugins/tests/test_callback.py +++ b/nipype/pipeline/plugins/tests/test_callback.py @@ -3,9 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Tests for workflow callbacks """ - -from builtins import object - import pytest import sys import nipype.interfaces.utility as niu diff --git a/nipype/pipeline/plugins/tests/test_legacymultiproc_nondaemon.py b/nipype/pipeline/plugins/tests/test_legacymultiproc_nondaemon.py index a83d426ada..3c4e673f55 100644 --- a/nipype/pipeline/plugins/tests/test_legacymultiproc_nondaemon.py +++ b/nipype/pipeline/plugins/tests/test_legacymultiproc_nondaemon.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Testing module for functions and classes from multiproc.py """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, open - # Import packages import os import sys diff --git a/nipype/pipeline/plugins/tools.py b/nipype/pipeline/plugins/tools.py index 54fffd2398..4eef64994d 100644 --- a/nipype/pipeline/plugins/tools.py +++ b/nipype/pipeline/plugins/tools.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Common graph operations for execution """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os import getpass from socket import gethostname diff --git a/nipype/pkg_info.py b/nipype/pkg_info.py index f2aa07030d..1d1150e318 100644 --- a/nipype/pkg_info.py +++ b/nipype/pkg_info.py @@ -1,10 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from future import standard_library -standard_library.install_aliases() -from builtins import open import configparser import os diff --git a/nipype/scripts/utils.py b/nipype/scripts/utils.py index f4b8a86fb1..432b6308ce 100644 --- a/nipype/scripts/utils.py +++ b/nipype/scripts/utils.py @@ -5,7 +5,7 @@ from __future__ import (print_function, division, unicode_literals, absolute_import) -from builtins import bytes, str + import re import click diff --git a/nipype/sphinxext/plot_workflow.py b/nipype/sphinxext/plot_workflow.py index 7fa0769401..5caa4e1645 100644 --- a/nipype/sphinxext/plot_workflow.py +++ b/nipype/sphinxext/plot_workflow.py @@ -106,8 +106,6 @@ Provide a customized template for preparing restructured text. """ -from __future__ import print_function, division, absolute_import, unicode_literals - import sys import os import shutil @@ -144,7 +142,7 @@ def format_template(template, **kw): except ImportError as e: missing_imports.append(str(e)) -from builtins import str, bytes + PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 diff --git a/nipype/testing/fixtures.py b/nipype/testing/fixtures.py index 6d8b3b0874..dabf3b3307 100644 --- a/nipype/testing/fixtures.py +++ b/nipype/testing/fixtures.py @@ -4,17 +4,11 @@ """ Pytest fixtures used in tests. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import os import pytest import numpy as np import nibabel as nb -from io import open -from builtins import str - from nipype.utils.filemanip import ensure_list from nipype.interfaces.fsl import Info from nipype.interfaces.fsl.base import FSLCommand diff --git a/nipype/testing/utils.py b/nipype/testing/utils.py index 716b16da78..6c36ce514e 100644 --- a/nipype/testing/utils.py +++ b/nipype/testing/utils.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Additional handy utilities for testing """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import range, object, open - import os import time import shutil @@ -14,7 +10,6 @@ import subprocess from subprocess import CalledProcessError from tempfile import mkdtemp -from future.utils import raise_from from ..utils.misc import package_check __docformat__ = 'restructuredtext' @@ -59,13 +54,13 @@ def __init__(self, size_in_mbytes=8, delay=0.5): subprocess.check_call( args=mkfs_args, stdout=self.dev_null, stderr=self.dev_null) except CalledProcessError as e: - raise_from(IOError("mkfs.vfat failed"), e) + raise IOError("mkfs.vfat failed") from e try: self.fusefat = subprocess.Popen( args=mount_args, stdout=self.dev_null, stderr=self.dev_null) except OSError as e: - raise_from(IOError("fusefat is not installed"), e) + raise IOError("fusefat is not installed") from e time.sleep(self.delay) diff --git a/nipype/utils/config.py b/nipype/utils/config.py index e4e518960c..10dce49f79 100644 --- a/nipype/utils/config.py +++ b/nipype/utils/config.py @@ -9,8 +9,6 @@ @author: Chris Filo Gorgolewski ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import sys import errno @@ -20,15 +18,11 @@ import configparser import numpy as np -from builtins import bytes, str, object, open from simplejson import load, dump -from future import standard_library from .misc import str2bool from ..external import portalocker -standard_library.install_aliases() - CONFIG_DEPRECATIONS = { 'profile_runtime': ('monitoring.enabled', '1.0'), 'filemanip_level': ('logging.utils_level', '1.0'), diff --git a/nipype/utils/docparse.py b/nipype/utils/docparse.py index 1df779f2ce..041e3ad5cf 100644 --- a/nipype/utils/docparse.py +++ b/nipype/utils/docparse.py @@ -13,10 +13,6 @@ docstring = docparse.get_doc(better.cmd, better.opt_map) """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open, bytes - import subprocess from ..interfaces.base import CommandLine from .misc import is_container diff --git a/nipype/utils/draw_gantt_chart.py b/nipype/utils/draw_gantt_chart.py index 7a52205090..7e6dbf94ed 100644 --- a/nipype/utils/draw_gantt_chart.py +++ b/nipype/utils/draw_gantt_chart.py @@ -5,18 +5,12 @@ Module to draw an html gantt chart from logfile produced by ``nipype.utils.profiler.log_nodes_cb()`` """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - # Import packages import sys import random import datetime import simplejson as json -from builtins import str, range, open -# Py2 compat: http://python-future.org/compatible_idioms.html#collections-counter-and-ordereddict -from future import standard_library -standard_library.install_aliases() + from collections import OrderedDict # Pandas diff --git a/nipype/utils/filemanip.py b/nipype/utils/filemanip.py index 80fc262f03..43f2d8d0ec 100644 --- a/nipype/utils/filemanip.py +++ b/nipype/utils/filemanip.py @@ -3,9 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Miscellaneous file manipulation functions """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import sys import pickle import errno @@ -21,14 +18,9 @@ import contextlib import posixpath import simplejson as json -import numpy as np - -from builtins import str, bytes, open from .. import logging, config from .misc import is_container -from future import standard_library -standard_library.install_aliases() fmlogger = logging.getLogger('nipype.utils') @@ -38,7 +30,6 @@ ('.BRIK', '.HEAD'), ] -PY3 = sys.version_info[0] >= 3 class FileNotFoundError(Exception): pass @@ -662,7 +653,7 @@ def loadpkl(infile, versioning=False): return unpkl - # Unpickling problems + # Unpickling problems except Exception as e: if not versioning: raise e @@ -919,18 +910,12 @@ def canonicalize_env(env): if os.name != 'nt': return env - # convert unicode to string for python 2 - if not PY3: - from future.utils import bytes_to_native_str out_env = {} for key, val in env.items(): if not isinstance(key, bytes): key = key.encode('utf-8') if not isinstance(val, bytes): val = val.encode('utf-8') - if not PY3: - key = bytes_to_native_str(key) - val = bytes_to_native_str(val) out_env[key] = val return out_env diff --git a/nipype/utils/functions.py b/nipype/utils/functions.py index 00b9412d5d..a36a7edfeb 100644 --- a/nipype/utils/functions.py +++ b/nipype/utils/functions.py @@ -3,8 +3,6 @@ Handles custom functions used in Function interface. Future imports are avoided to keep namespace as clear as possible. """ -from builtins import next, str -from future.utils import raise_from import inspect from textwrap import dedent @@ -41,7 +39,7 @@ def create_function_from_source(function_source, imports=None): "They cannot be declared either interactively or inside " "another function or inline in the connect string. Any " "imports should be done inside the function.") - raise_from(RuntimeError(msg), e) + raise RuntimeError(msg) from e ns_funcs = list(set(ns) - set(import_keys + ['__builtins__'])) assert len(ns_funcs) == 1, "Function or inputs are ill-defined" func = ns[ns_funcs[0]] diff --git a/nipype/utils/logger.py b/nipype/utils/logger.py index 2c8fe4607a..6acd76665c 100644 --- a/nipype/utils/logger.py +++ b/nipype/utils/logger.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import object # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: diff --git a/nipype/utils/matlabtools.py b/nipype/utils/matlabtools.py index bff9567ed5..c62627c2a8 100644 --- a/nipype/utils/matlabtools.py +++ b/nipype/utils/matlabtools.py @@ -2,10 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ Useful Functions for working with matlab""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import range # Stdlib imports import os diff --git a/nipype/utils/misc.py b/nipype/utils/misc.py index 6b7629e32a..9b16d53cb2 100644 --- a/nipype/utils/misc.py +++ b/nipype/utils/misc.py @@ -3,10 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Miscellaneous utility functions """ -from __future__ import (print_function, unicode_literals, division, - absolute_import) -from builtins import next, str - import os import sys import re @@ -16,8 +12,6 @@ from distutils.version import LooseVersion import numpy as np -from future.utils import raise_from -from future import standard_library try: from textwrap import indent as textwrap_indent except ImportError: @@ -30,9 +24,6 @@ def textwrap_indent(text, prefix): return prefix + prefix.join(splittext) -standard_library.install_aliases() - - def human_order_sorted(l): """Sorts string in human order (i.e. 'stat10' will go after 'stat2')""" @@ -179,14 +170,13 @@ def package_check(pkg_name, try: mod = __import__(pkg_name) except ImportError as e: - raise_from(exc_failed_import(msg), e) + raise exc_failed_import(msg) from e if not version: return try: have_version = mod.__version__ except AttributeError as e: - raise_from( - exc_failed_check('Cannot find version for %s' % pkg_name), e) + raise exc_failed_check('Cannot find version for %s' % pkg_name) from e if checker(have_version) < checker(version): raise exc_failed_check(msg) diff --git a/nipype/utils/nipype2boutiques.py b/nipype/utils/nipype2boutiques.py index 21ecbc0eee..a160365f09 100644 --- a/nipype/utils/nipype2boutiques.py +++ b/nipype/utils/nipype2boutiques.py @@ -1,8 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, open, bytes # This tool exports a Nipype interface in the Boutiques (https://github.com/boutiques) JSON format. # Boutiques tools can be imported in CBRAIN (https://github.com/aces/cbrain) among other platforms. # diff --git a/nipype/utils/nipype_cmd.py b/nipype/utils/nipype_cmd.py index b31795aa92..7d72d1b1bb 100644 --- a/nipype/utils/nipype_cmd.py +++ b/nipype/utils/nipype_cmd.py @@ -1,7 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str import os import argparse import inspect diff --git a/nipype/utils/onetime.py b/nipype/utils/onetime.py index 6983bc5c0f..e9a905254b 100644 --- a/nipype/utils/onetime.py +++ b/nipype/utils/onetime.py @@ -17,10 +17,6 @@ [2] Python data model, http://docs.python.org/reference/datamodel.html """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import object class OneTimeProperty(object): diff --git a/nipype/utils/profiler.py b/nipype/utils/profiler.py index d8ec32ffe3..40abb2b267 100644 --- a/nipype/utils/profiler.py +++ b/nipype/utils/profiler.py @@ -4,9 +4,6 @@ """ Utilities to keep track of performance """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) - import threading from time import time try: @@ -14,7 +11,7 @@ except ImportError as exc: psutil = None -from builtins import open, range + from .. import config, logging proflogger = logging.getLogger('nipype.utils') diff --git a/nipype/utils/provenance.py b/nipype/utils/provenance.py index fb2306ee4b..cb11ff9326 100644 --- a/nipype/utils/provenance.py +++ b/nipype/utils/provenance.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open, object, str, bytes - -# Py2 compat: http://python-future.org/compatible_idioms.html#collections-counter-and-ordereddict -from future import standard_library -standard_library.install_aliases() from collections import OrderedDict from copy import deepcopy diff --git a/nipype/utils/spm_docs.py b/nipype/utils/spm_docs.py index 4c71c05523..641ebd858e 100644 --- a/nipype/utils/spm_docs.py +++ b/nipype/utils/spm_docs.py @@ -2,10 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """Grab documentation from spm.""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from future.utils import raise_from - import os from ..interfaces import matlab @@ -60,4 +56,4 @@ def _strip_header(doc): index = len(doc) return doc[:index] except KeyError as e: - raise_from(IOError('This docstring was not generated by Nipype!\n'), e) + raise IOError('This docstring was not generated by Nipype!\n') from e diff --git a/nipype/utils/tests/test_cmd.py b/nipype/utils/tests/test_cmd.py index 0e16e0aad8..87a6005c2e 100644 --- a/nipype/utils/tests/test_cmd.py +++ b/nipype/utils/tests/test_cmd.py @@ -1,10 +1,4 @@ #!/usr/bin/env python -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from future import standard_library -standard_library.install_aliases() - import pytest import sys from contextlib import contextmanager diff --git a/nipype/utils/tests/test_config.py b/nipype/utils/tests/test_config.py index a3c0480b29..b52238da44 100644 --- a/nipype/utils/tests/test_config.py +++ b/nipype/utils/tests/test_config.py @@ -1,14 +1,11 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import sys import pytest from nipype import config from mock import MagicMock -from builtins import object try: import xvfbwrapper diff --git a/nipype/utils/tests/test_filemanip.py b/nipype/utils/tests/test_filemanip.py index ae5316c7d7..591df0d336 100644 --- a/nipype/utils/tests/test_filemanip.py +++ b/nipype/utils/tests/test_filemanip.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import unicode_literals -from builtins import open - import os import time import warnings diff --git a/nipype/utils/tests/test_misc.py b/nipype/utils/tests/test_misc.py index 8896039763..7c04a2a361 100644 --- a/nipype/utils/tests/test_misc.py +++ b/nipype/utils/tests/test_misc.py @@ -1,12 +1,8 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from future import standard_library -standard_library.install_aliases() - import os from shutil import rmtree -from builtins import next import pytest diff --git a/nipype/utils/tests/test_nipype2boutiques.py b/nipype/utils/tests/test_nipype2boutiques.py index f1d0c46eed..a376e02435 100644 --- a/nipype/utils/tests/test_nipype2boutiques.py +++ b/nipype/utils/tests/test_nipype2boutiques.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from future import standard_library -standard_library.install_aliases() - from ..nipype2boutiques import generate_boutiques_descriptor diff --git a/nipype/utils/tests/test_provenance.py b/nipype/utils/tests/test_provenance.py index 1d7233907a..cc48e899c5 100644 --- a/nipype/utils/tests/test_provenance.py +++ b/nipype/utils/tests/test_provenance.py @@ -1,11 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import unicode_literals -from builtins import str, bytes -from future import standard_library -standard_library.install_aliases() - import os from nipype.utils.provenance import ProvStore, safe_encode diff --git a/nipype/utils/tmpdirs.py b/nipype/utils/tmpdirs.py index 73f0c4ecc4..a1295c0a50 100644 --- a/nipype/utils/tmpdirs.py +++ b/nipype/utils/tmpdirs.py @@ -2,7 +2,7 @@ from __future__ import (print_function, division, unicode_literals, absolute_import) -from builtins import object + # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: import os diff --git a/nipype/workflows/dmri/connectivity/group_connectivity.py b/nipype/workflows/dmri/connectivity/group_connectivity.py index a918104bd1..98d75e7b38 100644 --- a/nipype/workflows/dmri/connectivity/group_connectivity.py +++ b/nipype/workflows/dmri/connectivity/group_connectivity.py @@ -1,10 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - -from future.utils import raise_from - import os.path as op from ....interfaces import io as nio # Data i/o @@ -535,10 +529,9 @@ def create_average_networks_by_group_workflow(group_list, l4infosource.inputs.group_id1 = list(group_list.keys())[0] l4infosource.inputs.group_id2 = list(group_list.keys())[1] except IndexError as e: - raise_from( - Exception( - 'The create_average_networks_by_group_workflow requires 2 groups' - ), e) + raise Exception( + 'The create_average_networks_by_group_workflow requires 2 groups' + ) from e l4info = dict( networks=[['group_id', '']], diff --git a/nipype/workflows/dmri/dipy/denoise.py b/nipype/workflows/dmri/dipy/denoise.py index a45f507b3c..07645dcfa1 100644 --- a/nipype/workflows/dmri/dipy/denoise.py +++ b/nipype/workflows/dmri/dipy/denoise.py @@ -3,7 +3,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import range from ....pipeline import engine as pe from ....interfaces import utility as niu from ....interfaces import dipy diff --git a/nipype/workflows/dmri/fsl/epi.py b/nipype/workflows/dmri/fsl/epi.py index 3bd88a99b7..334cd34305 100644 --- a/nipype/workflows/dmri/fsl/epi.py +++ b/nipype/workflows/dmri/fsl/epi.py @@ -1,8 +1,5 @@ # -*- coding: utf-8 -*- # coding: utf-8 -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open, str import warnings diff --git a/nipype/workflows/dmri/fsl/utils.py b/nipype/workflows/dmri/fsl/utils.py index bd53f5cb55..1779c42b6a 100644 --- a/nipype/workflows/dmri/fsl/utils.py +++ b/nipype/workflows/dmri/fsl/utils.py @@ -3,10 +3,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import zip, next, range, str - from ....pipeline import engine as pe from ....interfaces import utility as niu from ....interfaces import fsl diff --git a/nipype/workflows/fmri/fsl/estimate.py b/nipype/workflows/fmri/fsl/estimate.py index 638e422bfc..9f0480badb 100644 --- a/nipype/workflows/fmri/fsl/estimate.py +++ b/nipype/workflows/fmri/fsl/estimate.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from builtins import range from ....interfaces import fsl as fsl # fsl from ....interfaces import utility as util # utility diff --git a/nipype/workflows/misc/utils.py b/nipype/workflows/misc/utils.py index b581ec8c54..b81b932c54 100644 --- a/nipype/workflows/misc/utils.py +++ b/nipype/workflows/misc/utils.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) - -from builtins import map, range def get_vox_dims(volume): diff --git a/nipype/workflows/rsfmri/fsl/resting.py b/nipype/workflows/rsfmri/fsl/resting.py index 12d44a83cf..a731322446 100644 --- a/nipype/workflows/rsfmri/fsl/resting.py +++ b/nipype/workflows/rsfmri/fsl/resting.py @@ -1,10 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str - from ....interfaces import fsl as fsl # fsl from ....interfaces import utility as util # utility from ....pipeline import engine as pe # pypeline engine diff --git a/nipype/workflows/smri/ants/ANTSBuildTemplate.py b/nipype/workflows/smri/ants/ANTSBuildTemplate.py index 5a43d47bac..f5226d7dfd 100644 --- a/nipype/workflows/smri/ants/ANTSBuildTemplate.py +++ b/nipype/workflows/smri/ants/ANTSBuildTemplate.py @@ -10,11 +10,6 @@ # PURPOSE. ## ################################################################################# -from __future__ import print_function -from builtins import map -from builtins import zip -from builtins import range - from ....pipeline import engine as pe from ....interfaces import utility as util from ....interfaces.utility import Function diff --git a/nipype/workflows/smri/ants/antsRegistrationBuildTemplate.py b/nipype/workflows/smri/ants/antsRegistrationBuildTemplate.py index 3574935fc1..7c7478d3d4 100644 --- a/nipype/workflows/smri/ants/antsRegistrationBuildTemplate.py +++ b/nipype/workflows/smri/ants/antsRegistrationBuildTemplate.py @@ -10,9 +10,6 @@ # PURPOSE. ## ################################################################################# -from __future__ import print_function -from builtins import range - from ....pipeline import engine as pe from ....interfaces import utility as util from ....interfaces.utility import Function diff --git a/nipype/workflows/smri/niftyreg/groupwise.py b/nipype/workflows/smri/niftyreg/groupwise.py index fd8d25541b..c17452edf6 100644 --- a/nipype/workflows/smri/niftyreg/groupwise.py +++ b/nipype/workflows/smri/niftyreg/groupwise.py @@ -6,9 +6,6 @@ pipelines. Including linear and non-linear image co-registration """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import str, range from ....interfaces import utility as niu from ....interfaces import niftyreg as niftyreg from ....pipeline import engine as pe From 9e47ec05b79f619902a46eefe986c98586d26e53 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:26:57 -0400 Subject: [PATCH 03/28] RF: Drop one-line __future__ imports --- nipype/algorithms/tests/test_modelgen.py | 1 - nipype/external/fsl_imglob.py | 1 - nipype/interfaces/ants/tests/test_extra_Registration.py | 1 - nipype/interfaces/cmtk/tests/test_nbs.py | 1 - nipype/interfaces/dtitk/base.py | 3 --- nipype/interfaces/elastix/__init__.py | 1 - nipype/interfaces/freesurfer/tests/test_BBRegister.py | 1 - nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py | 1 - nipype/interfaces/mrtrix3/__init__.py | 1 - nipype/interfaces/niftyseg/stats.py | 1 - nipype/interfaces/quickshear.py | 1 - nipype/interfaces/semtools/__init__.py | 1 - nipype/interfaces/semtools/brains/__init__.py | 1 - nipype/interfaces/semtools/diffusion/__init__.py | 1 - nipype/interfaces/semtools/diffusion/tractography/__init__.py | 1 - nipype/interfaces/semtools/filtering/__init__.py | 1 - nipype/interfaces/semtools/legacy/__init__.py | 1 - nipype/interfaces/semtools/registration/__init__.py | 1 - nipype/interfaces/semtools/segmentation/__init__.py | 1 - nipype/interfaces/semtools/testing/__init__.py | 1 - nipype/interfaces/semtools/utilities/__init__.py | 1 - nipype/interfaces/slicer/__init__.py | 1 - nipype/interfaces/slicer/diffusion/__init__.py | 1 - nipype/interfaces/slicer/filtering/__init__.py | 1 - nipype/interfaces/slicer/legacy/__init__.py | 1 - nipype/interfaces/slicer/legacy/diffusion/__init__.py | 1 - nipype/interfaces/slicer/quantification/__init__.py | 1 - nipype/interfaces/slicer/registration/__init__.py | 1 - nipype/interfaces/slicer/segmentation/__init__.py | 1 - nipype/interfaces/utility/tests/test_base.py | 1 - nipype/interfaces/utility/tests/test_csv.py | 1 - nipype/interfaces/utility/tests/test_wrappers.py | 1 - nipype/pipeline/engine/__init__.py | 1 - nipype/pipeline/engine/tests/test_base.py | 1 - nipype/utils/__init__.py | 1 - nipype/workflows/dmri/camino/__init__.py | 1 - nipype/workflows/dmri/connectivity/__init__.py | 1 - nipype/workflows/dmri/dipy/__init__.py | 1 - nipype/workflows/dmri/dtitk/__init__.py | 1 - nipype/workflows/dmri/fsl/__init__.py | 1 - nipype/workflows/dmri/fsl/dti.py | 1 - nipype/workflows/dmri/fsl/tests/test_dti.py | 1 - nipype/workflows/dmri/mrtrix/__init__.py | 1 - nipype/workflows/fmri/fsl/preprocess.py | 1 - 44 files changed, 46 deletions(-) diff --git a/nipype/algorithms/tests/test_modelgen.py b/nipype/algorithms/tests/test_modelgen.py index 824a634354..2bcdf08a6e 100644 --- a/nipype/algorithms/tests/test_modelgen.py +++ b/nipype/algorithms/tests/test_modelgen.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import division from copy import deepcopy import os diff --git a/nipype/external/fsl_imglob.py b/nipype/external/fsl_imglob.py index 3b9a4eea4d..ea4cfe245a 100755 --- a/nipype/external/fsl_imglob.py +++ b/nipype/external/fsl_imglob.py @@ -63,7 +63,6 @@ # Innovation Limited ("Isis"), the technology transfer company of the # University, to negotiate a licence. Contact details are: # innovation@isis.ox.ac.uk quoting reference DE/9564. -from __future__ import print_function import sys import glob from builtins import range diff --git a/nipype/interfaces/ants/tests/test_extra_Registration.py b/nipype/interfaces/ants/tests/test_extra_Registration.py index 745b825c65..1f38f3c61f 100644 --- a/nipype/interfaces/ants/tests/test_extra_Registration.py +++ b/nipype/interfaces/ants/tests/test_extra_Registration.py @@ -1,6 +1,5 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import unicode_literals from nipype.interfaces.ants import registration import os import pytest diff --git a/nipype/interfaces/cmtk/tests/test_nbs.py b/nipype/interfaces/cmtk/tests/test_nbs.py index be3008fb09..a03b00de0f 100644 --- a/nipype/interfaces/cmtk/tests/test_nbs.py +++ b/nipype/interfaces/cmtk/tests/test_nbs.py @@ -1,4 +1,3 @@ -from __future__ import unicode_literals from ..nbs import NetworkBasedStatistic from ....utils.misc import package_check import numpy as np diff --git a/nipype/interfaces/dtitk/base.py b/nipype/interfaces/dtitk/base.py index 5cfb81d9dd..32289e5217 100644 --- a/nipype/interfaces/dtitk/base.py +++ b/nipype/interfaces/dtitk/base.py @@ -25,9 +25,6 @@ See the docstrings of the individual classes for examples. """ -from __future__ import print_function, division, unicode_literals, \ - absolute_import - import os from ... import logging diff --git a/nipype/interfaces/elastix/__init__.py b/nipype/interfaces/elastix/__init__.py index 9dcdb88c18..e7ddc2a9f7 100644 --- a/nipype/interfaces/elastix/__init__.py +++ b/nipype/interfaces/elastix/__init__.py @@ -4,7 +4,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Top-level namespace for elastix.""" -from __future__ import absolute_import from .registration import Registration, ApplyWarp, AnalyzeWarp, PointsWarp from .utils import EditTransform diff --git a/nipype/interfaces/freesurfer/tests/test_BBRegister.py b/nipype/interfaces/freesurfer/tests/test_BBRegister.py index 3e80ad4e9c..81a67742e2 100644 --- a/nipype/interfaces/freesurfer/tests/test_BBRegister.py +++ b/nipype/interfaces/freesurfer/tests/test_BBRegister.py @@ -1,4 +1,3 @@ -from __future__ import unicode_literals from ..preprocess import BBRegister, BBRegisterInputSpec6 diff --git a/nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py b/nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py index 704dfeaaf3..bc34a8d7aa 100644 --- a/nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py +++ b/nipype/interfaces/freesurfer/tests/test_FSSurfaceCommand.py @@ -1,5 +1,4 @@ # Modified 2017.04.21 by Chris Markiewicz -from __future__ import unicode_literals import pytest from ..base import FSSurfaceCommand diff --git a/nipype/interfaces/mrtrix3/__init__.py b/nipype/interfaces/mrtrix3/__init__.py index 507380c30e..3ed323539a 100644 --- a/nipype/interfaces/mrtrix3/__init__.py +++ b/nipype/interfaces/mrtrix3/__init__.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- diff --git a/nipype/interfaces/niftyseg/stats.py b/nipype/interfaces/niftyseg/stats.py index 796e07410c..94c7abd49e 100644 --- a/nipype/interfaces/niftyseg/stats.py +++ b/nipype/interfaces/niftyseg/stats.py @@ -4,7 +4,6 @@ The stats module provides higher-level interfaces to some of the operations that can be performed with the niftyseg stats (seg_stats) command-line program. """ -from __future__ import print_function import numpy as np from ..base import TraitedSpec, File, traits, CommandLineInputSpec diff --git a/nipype/interfaces/quickshear.py b/nipype/interfaces/quickshear.py index b1317c3599..7508c0a356 100644 --- a/nipype/interfaces/quickshear.py +++ b/nipype/interfaces/quickshear.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- """ Quickshear is a simple geometric defacing algorithm """ -from __future__ import unicode_literals from .base import CommandLineInputSpec, CommandLine, traits, TraitedSpec, File from ..external.due import BibTeX diff --git a/nipype/interfaces/semtools/__init__.py b/nipype/interfaces/semtools/__init__.py index 14473b8381..243e3a43a0 100644 --- a/nipype/interfaces/semtools/__init__.py +++ b/nipype/interfaces/semtools/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import * from .featurecreator import GenerateCsfClippedFromClassifiedImage from .segmentation import * diff --git a/nipype/interfaces/semtools/brains/__init__.py b/nipype/interfaces/semtools/brains/__init__.py index ebfab84bf3..a8bd05a1be 100644 --- a/nipype/interfaces/semtools/brains/__init__.py +++ b/nipype/interfaces/semtools/brains/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .segmentation import SimilarityIndex, BRAINSTalairach, BRAINSTalairachMask from .utilities import (HistogramMatchingFilter, GenerateEdgeMapImage, GeneratePurePlugMask) diff --git a/nipype/interfaces/semtools/diffusion/__init__.py b/nipype/interfaces/semtools/diffusion/__init__.py index 215cfa41d7..f9f414d087 100644 --- a/nipype/interfaces/semtools/diffusion/__init__.py +++ b/nipype/interfaces/semtools/diffusion/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import dtiaverage, dtiestim, dtiprocess, DWIConvert from .tractography import * from .gtract import ( diff --git a/nipype/interfaces/semtools/diffusion/tractography/__init__.py b/nipype/interfaces/semtools/diffusion/tractography/__init__.py index f846b7fde5..ac45b2050f 100644 --- a/nipype/interfaces/semtools/diffusion/tractography/__init__.py +++ b/nipype/interfaces/semtools/diffusion/tractography/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .commandlineonly import fiberstats from .fiberprocess import fiberprocess from .fibertrack import fibertrack diff --git a/nipype/interfaces/semtools/filtering/__init__.py b/nipype/interfaces/semtools/filtering/__init__.py index 1e69233303..82ad67a9c1 100644 --- a/nipype/interfaces/semtools/filtering/__init__.py +++ b/nipype/interfaces/semtools/filtering/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .denoising import UnbiasedNonLocalMeans from .featuredetection import ( GenerateSummedGradientImage, CannySegmentationLevelSetImageFilter, diff --git a/nipype/interfaces/semtools/legacy/__init__.py b/nipype/interfaces/semtools/legacy/__init__.py index 3309d49d62..343704adb7 100644 --- a/nipype/interfaces/semtools/legacy/__init__.py +++ b/nipype/interfaces/semtools/legacy/__init__.py @@ -1,3 +1,2 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .registration import scalartransform diff --git a/nipype/interfaces/semtools/registration/__init__.py b/nipype/interfaces/semtools/registration/__init__.py index 33bd60ad59..3487d13134 100644 --- a/nipype/interfaces/semtools/registration/__init__.py +++ b/nipype/interfaces/semtools/registration/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .specialized import (VBRAINSDemonWarp, BRAINSDemonWarp, BRAINSTransformFromFiducials) from .brainsresample import BRAINSResample diff --git a/nipype/interfaces/semtools/segmentation/__init__.py b/nipype/interfaces/semtools/segmentation/__init__.py index d0cd69e0c9..e5ea4e2776 100644 --- a/nipype/interfaces/semtools/segmentation/__init__.py +++ b/nipype/interfaces/semtools/segmentation/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .specialized import ( BRAINSCut, BRAINSROIAuto, BRAINSConstellationDetector, BRAINSCreateLabelMapFromProbabilityMaps, BinaryMaskEditorBasedOnLandmarks, diff --git a/nipype/interfaces/semtools/testing/__init__.py b/nipype/interfaces/semtools/testing/__init__.py index 66a4a2262e..d06a7ea2df 100644 --- a/nipype/interfaces/semtools/testing/__init__.py +++ b/nipype/interfaces/semtools/testing/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .featuredetection import SphericalCoordinateGeneration from .landmarkscompare import LandmarksCompare from .generateaveragelmkfile import GenerateAverageLmkFile diff --git a/nipype/interfaces/semtools/utilities/__init__.py b/nipype/interfaces/semtools/utilities/__init__.py index 698b76a534..b59f373cf9 100644 --- a/nipype/interfaces/semtools/utilities/__init__.py +++ b/nipype/interfaces/semtools/utilities/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .brains import ( BRAINSConstellationModeler, landmarksConstellationWeights, BRAINSTrimForegroundInDirection, BRAINSLmkTransform, BRAINSMush, diff --git a/nipype/interfaces/slicer/__init__.py b/nipype/interfaces/slicer/__init__.py index c7ffc42259..5198d81be3 100644 --- a/nipype/interfaces/slicer/__init__.py +++ b/nipype/interfaces/slicer/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import * from .segmentation import * from .filtering import * diff --git a/nipype/interfaces/slicer/diffusion/__init__.py b/nipype/interfaces/slicer/diffusion/__init__.py index fd7231cefe..f6081f6c0c 100644 --- a/nipype/interfaces/slicer/diffusion/__init__.py +++ b/nipype/interfaces/slicer/diffusion/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import ( ResampleDTIVolume, DWIRicianLMMSEFilter, TractographyLabelMapSeeding, DWIJointRicianLMMSEFilter, DiffusionWeightedVolumeMasking, DTIimport, diff --git a/nipype/interfaces/slicer/filtering/__init__.py b/nipype/interfaces/slicer/filtering/__init__.py index 30ace1d2f2..1270e20d26 100644 --- a/nipype/interfaces/slicer/filtering/__init__.py +++ b/nipype/interfaces/slicer/filtering/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .morphology import (GrayscaleGrindPeakImageFilter, GrayscaleFillHoleImageFilter) from .denoising import (GradientAnisotropicDiffusion, diff --git a/nipype/interfaces/slicer/legacy/__init__.py b/nipype/interfaces/slicer/legacy/__init__.py index 75c6b9d327..92cbc1ff73 100644 --- a/nipype/interfaces/slicer/legacy/__init__.py +++ b/nipype/interfaces/slicer/legacy/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import * from .segmentation import OtsuThresholdSegmentation from .filtering import OtsuThresholdImageFilter, ResampleScalarVolume diff --git a/nipype/interfaces/slicer/legacy/diffusion/__init__.py b/nipype/interfaces/slicer/legacy/diffusion/__init__.py index f66daabb5b..9a9143d214 100644 --- a/nipype/interfaces/slicer/legacy/diffusion/__init__.py +++ b/nipype/interfaces/slicer/legacy/diffusion/__init__.py @@ -1,3 +1,2 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .denoising import DWIUnbiasedNonLocalMeansFilter diff --git a/nipype/interfaces/slicer/quantification/__init__.py b/nipype/interfaces/slicer/quantification/__init__.py index 6054dddd59..c0e1e870e7 100644 --- a/nipype/interfaces/slicer/quantification/__init__.py +++ b/nipype/interfaces/slicer/quantification/__init__.py @@ -1,4 +1,3 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .changequantification import IntensityDifferenceMetric from .petstandarduptakevaluecomputation import PETStandardUptakeValueComputation diff --git a/nipype/interfaces/slicer/registration/__init__.py b/nipype/interfaces/slicer/registration/__init__.py index 375b9b5416..2d03aabe03 100644 --- a/nipype/interfaces/slicer/registration/__init__.py +++ b/nipype/interfaces/slicer/registration/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .specialized import (ACPCTransform, FiducialRegistration, VBRAINSDemonWarp, BRAINSDemonWarp) from .brainsresample import BRAINSResample diff --git a/nipype/interfaces/slicer/segmentation/__init__.py b/nipype/interfaces/slicer/segmentation/__init__.py index d966f07e27..5b3cf6d468 100644 --- a/nipype/interfaces/slicer/segmentation/__init__.py +++ b/nipype/interfaces/slicer/segmentation/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .specialized import (RobustStatisticsSegmenter, EMSegmentCommandLine, BRAINSROIAuto) from .simpleregiongrowingsegmentation import SimpleRegionGrowingSegmentation diff --git a/nipype/interfaces/utility/tests/test_base.py b/nipype/interfaces/utility/tests/test_base.py index 159454a7fc..0356452638 100644 --- a/nipype/interfaces/utility/tests/test_base.py +++ b/nipype/interfaces/utility/tests/test_base.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals import os import pytest diff --git a/nipype/interfaces/utility/tests/test_csv.py b/nipype/interfaces/utility/tests/test_csv.py index a5c678153e..3c15c81239 100644 --- a/nipype/interfaces/utility/tests/test_csv.py +++ b/nipype/interfaces/utility/tests/test_csv.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals from nipype.interfaces import utility diff --git a/nipype/interfaces/utility/tests/test_wrappers.py b/nipype/interfaces/utility/tests/test_wrappers.py index 392ae094b0..79b2682af9 100644 --- a/nipype/interfaces/utility/tests/test_wrappers.py +++ b/nipype/interfaces/utility/tests/test_wrappers.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals import os import pytest diff --git a/nipype/pipeline/engine/__init__.py b/nipype/pipeline/engine/__init__.py index e950086307..4dc6784276 100644 --- a/nipype/pipeline/engine/__init__.py +++ b/nipype/pipeline/engine/__init__.py @@ -7,7 +7,6 @@ """ -from __future__ import absolute_import __docformat__ = 'restructuredtext' from .workflows import Workflow from .nodes import Node, MapNode, JoinNode diff --git a/nipype/pipeline/engine/tests/test_base.py b/nipype/pipeline/engine/tests/test_base.py index fd87aa6878..5933996d59 100644 --- a/nipype/pipeline/engine/tests/test_base.py +++ b/nipype/pipeline/engine/tests/test_base.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import print_function, unicode_literals import pytest from ..base import EngineBase diff --git a/nipype/utils/__init__.py b/nipype/utils/__init__.py index 4a0741e48e..6508602eb8 100644 --- a/nipype/utils/__init__.py +++ b/nipype/utils/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .config import NUMPY_MMAP from .onetime import OneTimeProperty, setattr_on_read diff --git a/nipype/workflows/dmri/camino/__init__.py b/nipype/workflows/dmri/camino/__init__.py index 07ba37fc52..c012d1c726 100644 --- a/nipype/workflows/dmri/camino/__init__.py +++ b/nipype/workflows/dmri/camino/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import create_camino_dti_pipeline from .connectivity_mapping import create_connectivity_pipeline from .group_connectivity import create_group_connectivity_pipeline diff --git a/nipype/workflows/dmri/connectivity/__init__.py b/nipype/workflows/dmri/connectivity/__init__.py index b34ca0dacb..39b3060eb0 100644 --- a/nipype/workflows/dmri/connectivity/__init__.py +++ b/nipype/workflows/dmri/connectivity/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .nx import (create_networkx_pipeline, create_cmats_to_csv_pipeline) from .group_connectivity import ( create_merge_networks_by_group_workflow, diff --git a/nipype/workflows/dmri/dipy/__init__.py b/nipype/workflows/dmri/dipy/__init__.py index 354ba7a7e6..55b3c1502d 100644 --- a/nipype/workflows/dmri/dipy/__init__.py +++ b/nipype/workflows/dmri/dipy/__init__.py @@ -3,5 +3,4 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import absolute_import from .denoise import nlmeans_pipeline diff --git a/nipype/workflows/dmri/dtitk/__init__.py b/nipype/workflows/dmri/dtitk/__init__.py index 02dbf25549..454ca31373 100644 --- a/nipype/workflows/dmri/dtitk/__init__.py +++ b/nipype/workflows/dmri/dtitk/__init__.py @@ -3,6 +3,5 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import absolute_import from .tensor_registration import (affine_tensor_pipeline, diffeomorphic_tensor_pipeline) diff --git a/nipype/workflows/dmri/fsl/__init__.py b/nipype/workflows/dmri/fsl/__init__.py index 66be352b84..efb43f1edb 100644 --- a/nipype/workflows/dmri/fsl/__init__.py +++ b/nipype/workflows/dmri/fsl/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .dti import create_bedpostx_pipeline, bedpostx_parallel from .artifacts import (all_fmb_pipeline, all_peb_pipeline, all_fsl_pipeline, diff --git a/nipype/workflows/dmri/fsl/dti.py b/nipype/workflows/dmri/fsl/dti.py index ee7e48dd5a..ef4bf6ae6e 100644 --- a/nipype/workflows/dmri/fsl/dti.py +++ b/nipype/workflows/dmri/fsl/dti.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # coding: utf-8 -from __future__ import absolute_import from ....pipeline import engine as pe from ....interfaces import utility as niu diff --git a/nipype/workflows/dmri/fsl/tests/test_dti.py b/nipype/workflows/dmri/fsl/tests/test_dti.py index 23cd8f37d8..2fcd59d0de 100644 --- a/nipype/workflows/dmri/fsl/tests/test_dti.py +++ b/nipype/workflows/dmri/fsl/tests/test_dti.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals, print_function, absolute_import import os import pytest diff --git a/nipype/workflows/dmri/mrtrix/__init__.py b/nipype/workflows/dmri/mrtrix/__init__.py index 6851021111..c8b70ac0bc 100644 --- a/nipype/workflows/dmri/mrtrix/__init__.py +++ b/nipype/workflows/dmri/mrtrix/__init__.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import from .diffusion import create_mrtrix_dti_pipeline from .connectivity_mapping import create_connectivity_pipeline from .group_connectivity import (create_group_connectivity_pipeline) diff --git a/nipype/workflows/fmri/fsl/preprocess.py b/nipype/workflows/fmri/fsl/preprocess.py index ac235bdba1..dbda71e861 100644 --- a/nipype/workflows/fmri/fsl/preprocess.py +++ b/nipype/workflows/fmri/fsl/preprocess.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import division import os from ....interfaces import fsl as fsl # fsl From 06ecbe442accc4f51e355233d9a23d38996ef508 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:28:29 -0400 Subject: [PATCH 04/28] RF: Remove two-line __future__ imports --- nipype/external/portalocker.py | 2 -- nipype/interfaces/afni/model.py | 2 -- nipype/interfaces/afni/svm.py | 2 -- nipype/interfaces/ants/utils.py | 2 -- nipype/interfaces/ants/visualization.py | 2 -- nipype/interfaces/base/tests/test_resource_monitor.py | 2 -- nipype/interfaces/brainsuite/brainsuite.py | 2 -- nipype/interfaces/bru2nii.py | 2 -- nipype/interfaces/c3.py | 2 -- nipype/interfaces/camino/calib.py | 2 -- nipype/interfaces/camino/connectivity.py | 2 -- nipype/interfaces/camino/convert.py | 2 -- nipype/interfaces/camino/dti.py | 2 -- nipype/interfaces/camino/odf.py | 2 -- nipype/interfaces/camino/utils.py | 2 -- nipype/interfaces/camino2trackvis/convert.py | 2 -- nipype/interfaces/cmtk/convert.py | 2 -- nipype/interfaces/cmtk/nbs.py | 2 -- nipype/interfaces/dcmstack.py | 2 -- nipype/interfaces/diffusion_toolkit/postproc.py | 2 -- nipype/interfaces/dipy/anisotropic_power.py | 2 -- nipype/interfaces/dipy/base.py | 2 -- nipype/interfaces/dipy/preprocess.py | 2 -- nipype/interfaces/dipy/setup.py | 2 -- nipype/interfaces/dipy/tensors.py | 2 -- nipype/interfaces/dipy/tracks.py | 2 -- nipype/interfaces/dynamic_slicer.py | 2 -- nipype/interfaces/elastix/base.py | 2 -- nipype/interfaces/freesurfer/longitudinal.py | 2 -- nipype/interfaces/freesurfer/model.py | 2 -- nipype/interfaces/freesurfer/registration.py | 2 -- nipype/interfaces/fsl/aroma.py | 2 -- nipype/interfaces/fsl/base.py | 2 -- nipype/interfaces/fsl/fix.py | 2 -- nipype/interfaces/fsl/maths.py | 2 -- nipype/interfaces/meshfix.py | 2 -- nipype/interfaces/minc/testdata.py | 2 -- nipype/interfaces/mipav/__init__.py | 2 -- nipype/interfaces/mixins/reporting.py | 2 -- nipype/interfaces/mrtrix/convert.py | 2 -- nipype/interfaces/mrtrix/preprocess.py | 2 -- nipype/interfaces/mrtrix/tensors.py | 2 -- nipype/interfaces/mrtrix/tracking.py | 2 -- nipype/interfaces/mrtrix3/base.py | 2 -- nipype/interfaces/mrtrix3/connectivity.py | 2 -- nipype/interfaces/mrtrix3/preprocess.py | 2 -- nipype/interfaces/mrtrix3/reconst.py | 2 -- nipype/interfaces/mrtrix3/tracking.py | 2 -- nipype/interfaces/mrtrix3/utils.py | 2 -- nipype/interfaces/niftyseg/base.py | 2 -- nipype/interfaces/nilearn.py | 2 -- nipype/interfaces/nipy/utils.py | 2 -- nipype/interfaces/petpvc.py | 2 -- nipype/interfaces/slicer/generate_classes.py | 1 - nipype/interfaces/spm/utils.py | 2 -- nipype/interfaces/vista/vista.py | 2 -- nipype/interfaces/vtkbase.py | 2 -- nipype/interfaces/workbench/base.py | 2 -- nipype/interfaces/workbench/metric.py | 2 -- nipype/pipeline/__init__.py | 2 -- nipype/pipeline/plugins/__init__.py | 2 -- nipype/pipeline/plugins/condor.py | 2 -- nipype/pipeline/plugins/debug.py | 2 -- nipype/pipeline/plugins/legacymultiproc.py | 2 -- nipype/pipeline/plugins/linear.py | 2 -- nipype/pipeline/plugins/lsf.py | 2 -- nipype/pipeline/plugins/multiproc.py | 2 -- nipype/pipeline/plugins/semaphore_singleton.py | 2 -- nipype/pipeline/plugins/somaflow.py | 2 -- nipype/scripts/utils.py | 2 -- nipype/sphinxext/__init__.py | 1 - nipype/utils/tmpdirs.py | 2 -- nipype/workflows/data/__init__.py | 2 -- nipype/workflows/dmri/__init__.py | 2 -- nipype/workflows/dmri/fsl/artifacts.py | 2 -- nipype/workflows/fmri/__init__.py | 2 -- nipype/workflows/graph/__init__.py | 2 -- nipype/workflows/rsfmri/__init__.py | 2 -- nipype/workflows/smri/__init__.py | 2 -- nipype/workflows/smri/freesurfer/autorecon1.py | 2 -- nipype/workflows/smri/freesurfer/autorecon2.py | 2 -- nipype/workflows/smri/freesurfer/autorecon3.py | 2 -- nipype/workflows/smri/freesurfer/ba_maps.py | 2 -- nipype/workflows/smri/freesurfer/recon.py | 2 -- 84 files changed, 166 deletions(-) diff --git a/nipype/external/portalocker.py b/nipype/external/portalocker.py index 1da24d894c..0b171f9825 100644 --- a/nipype/external/portalocker.py +++ b/nipype/external/portalocker.py @@ -49,8 +49,6 @@ Version: $Id: portalocker.py 5474 2008-05-16 20:53:50Z lowell $ ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) from builtins import open __all__ = [ diff --git a/nipype/interfaces/afni/model.py b/nipype/interfaces/afni/model.py index 2cccdfe869..615db086f7 100644 --- a/nipype/interfaces/afni/model.py +++ b/nipype/interfaces/afni/model.py @@ -7,8 +7,6 @@ -------- See the docstrings of the individual classes for examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/afni/svm.py b/nipype/interfaces/afni/svm.py index d465c1caaa..d7cef574a7 100644 --- a/nipype/interfaces/afni/svm.py +++ b/nipype/interfaces/afni/svm.py @@ -3,8 +3,6 @@ # vi: set ft = python sts = 4 ts = 4 sw = 4 et: """Afni svm interfaces """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..base import TraitedSpec, traits, File from .base import AFNICommand, AFNICommandInputSpec, AFNICommandOutputSpec diff --git a/nipype/interfaces/ants/utils.py b/nipype/interfaces/ants/utils.py index 5d284b89c0..0725f45edc 100644 --- a/nipype/interfaces/ants/utils.py +++ b/nipype/interfaces/ants/utils.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """ANTS Apply Transforms interface """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/ants/visualization.py b/nipype/interfaces/ants/visualization.py index 21186931ce..b5ab661889 100644 --- a/nipype/interfaces/ants/visualization.py +++ b/nipype/interfaces/ants/visualization.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """The ants visualisation module provides basic functions based on ITK. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/base/tests/test_resource_monitor.py b/nipype/interfaces/base/tests/test_resource_monitor.py index f82a82661d..555e163c5c 100644 --- a/nipype/interfaces/base/tests/test_resource_monitor.py +++ b/nipype/interfaces/base/tests/test_resource_monitor.py @@ -6,8 +6,6 @@ Module to unit test the resource_monitor in nipype """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import pytest diff --git a/nipype/interfaces/brainsuite/brainsuite.py b/nipype/interfaces/brainsuite/brainsuite.py index aa75d2bf81..919e9aba1a 100644 --- a/nipype/interfaces/brainsuite/brainsuite.py +++ b/nipype/interfaces/brainsuite/brainsuite.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import re as regex diff --git a/nipype/interfaces/bru2nii.py b/nipype/interfaces/bru2nii.py index c1c1484d38..eada2350a0 100644 --- a/nipype/interfaces/bru2nii.py +++ b/nipype/interfaces/bru2nii.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """The bru2nii module provides basic functions for dicom conversion """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from .base import (CommandLine, CommandLineInputSpec, traits, TraitedSpec, diff --git a/nipype/interfaces/c3.py b/nipype/interfaces/c3.py index 115804cc3f..db81fce55f 100644 --- a/nipype/interfaces/c3.py +++ b/nipype/interfaces/c3.py @@ -2,8 +2,6 @@ """The ants module provides basic functions for interfacing with ants functions. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from glob import glob diff --git a/nipype/interfaces/camino/calib.py b/nipype/interfaces/camino/calib.py index 1921f62651..24eb993bf6 100644 --- a/nipype/interfaces/camino/calib.py +++ b/nipype/interfaces/camino/calib.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/camino/connectivity.py b/nipype/interfaces/camino/connectivity.py index 97e400e0f5..78172db9cc 100644 --- a/nipype/interfaces/camino/connectivity.py +++ b/nipype/interfaces/camino/connectivity.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ...utils.filemanip import split_filename diff --git a/nipype/interfaces/camino/convert.py b/nipype/interfaces/camino/convert.py index ee2ae2eb82..b187e89b0c 100644 --- a/nipype/interfaces/camino/convert.py +++ b/nipype/interfaces/camino/convert.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import glob diff --git a/nipype/interfaces/camino/dti.py b/nipype/interfaces/camino/dti.py index b32b9dc528..13a243434d 100644 --- a/nipype/interfaces/camino/dti.py +++ b/nipype/interfaces/camino/dti.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/camino/odf.py b/nipype/interfaces/camino/odf.py index 6fea6fdcfd..163c41fd87 100644 --- a/nipype/interfaces/camino/odf.py +++ b/nipype/interfaces/camino/odf.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/camino/utils.py b/nipype/interfaces/camino/utils.py index 57fcd58d9a..6cfba21653 100644 --- a/nipype/interfaces/camino/utils.py +++ b/nipype/interfaces/camino/utils.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ..base import (traits, TraitedSpec, File, CommandLine, diff --git a/nipype/interfaces/camino2trackvis/convert.py b/nipype/interfaces/camino2trackvis/convert.py index 573ddffe2d..3f5664b975 100644 --- a/nipype/interfaces/camino2trackvis/convert.py +++ b/nipype/interfaces/camino2trackvis/convert.py @@ -2,8 +2,6 @@ """ Provides interfaces to various commands provided by Camino-Trackvis """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/cmtk/convert.py b/nipype/interfaces/cmtk/convert.py index 93802d5eb8..170ca44366 100644 --- a/nipype/interfaces/cmtk/convert.py +++ b/nipype/interfaces/cmtk/convert.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import os.path as op diff --git a/nipype/interfaces/cmtk/nbs.py b/nipype/interfaces/cmtk/nbs.py index f21f2b33ea..19425d2977 100644 --- a/nipype/interfaces/cmtk/nbs.py +++ b/nipype/interfaces/cmtk/nbs.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/dcmstack.py b/nipype/interfaces/dcmstack.py index 626cabe6cf..711d84920f 100644 --- a/nipype/interfaces/dcmstack.py +++ b/nipype/interfaces/dcmstack.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """Provides interfaces to various commands provided by dcmstack """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from os import path as op diff --git a/nipype/interfaces/diffusion_toolkit/postproc.py b/nipype/interfaces/diffusion_toolkit/postproc.py index 20aaeea927..19cafe8d7d 100644 --- a/nipype/interfaces/diffusion_toolkit/postproc.py +++ b/nipype/interfaces/diffusion_toolkit/postproc.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various commands provided by diffusion toolkit """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ..base import (TraitedSpec, File, traits, CommandLine, InputMultiPath, diff --git a/nipype/interfaces/dipy/anisotropic_power.py b/nipype/interfaces/dipy/anisotropic_power.py index e28ae2bd19..21208326f4 100644 --- a/nipype/interfaces/dipy/anisotropic_power.py +++ b/nipype/interfaces/dipy/anisotropic_power.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import nibabel as nb diff --git a/nipype/interfaces/dipy/base.py b/nipype/interfaces/dipy/base.py index 7a9221e3d1..30d10bd3a3 100644 --- a/nipype/interfaces/dipy/base.py +++ b/nipype/interfaces/dipy/base.py @@ -1,7 +1,5 @@ # -*- coding: utf-8 -*- """ Base interfaces for dipy """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op import numpy as np diff --git a/nipype/interfaces/dipy/preprocess.py b/nipype/interfaces/dipy/preprocess.py index cc589f6579..1245ece316 100644 --- a/nipype/interfaces/dipy/preprocess.py +++ b/nipype/interfaces/dipy/preprocess.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op import nibabel as nb diff --git a/nipype/interfaces/dipy/setup.py b/nipype/interfaces/dipy/setup.py index e6c8f000b2..408d7af731 100644 --- a/nipype/interfaces/dipy/setup.py +++ b/nipype/interfaces/dipy/setup.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) def configuration(parent_package='', top_path=None): diff --git a/nipype/interfaces/dipy/tensors.py b/nipype/interfaces/dipy/tensors.py index c79e063683..49bab47bfd 100644 --- a/nipype/interfaces/dipy/tensors.py +++ b/nipype/interfaces/dipy/tensors.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import nibabel as nb diff --git a/nipype/interfaces/dipy/tracks.py b/nipype/interfaces/dipy/tracks.py index b7d965ece1..7600ee3dba 100644 --- a/nipype/interfaces/dipy/tracks.py +++ b/nipype/interfaces/dipy/tracks.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op import numpy as np diff --git a/nipype/interfaces/dynamic_slicer.py b/nipype/interfaces/dynamic_slicer.py index 5d3a3c1899..db238127c9 100644 --- a/nipype/interfaces/dynamic_slicer.py +++ b/nipype/interfaces/dynamic_slicer.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import warnings diff --git a/nipype/interfaces/elastix/base.py b/nipype/interfaces/elastix/base.py index b47e1fec17..748f69f44d 100644 --- a/nipype/interfaces/elastix/base.py +++ b/nipype/interfaces/elastix/base.py @@ -9,8 +9,6 @@ """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ... import logging from ..base import CommandLineInputSpec, Directory, traits diff --git a/nipype/interfaces/freesurfer/longitudinal.py b/nipype/interfaces/freesurfer/longitudinal.py index 1d982a7a44..eed32173b4 100644 --- a/nipype/interfaces/freesurfer/longitudinal.py +++ b/nipype/interfaces/freesurfer/longitudinal.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various longitudinal commands provided by freesurfer """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/freesurfer/model.py b/nipype/interfaces/freesurfer/model.py index 58d168e2d7..f8ce0291e9 100644 --- a/nipype/interfaces/freesurfer/model.py +++ b/nipype/interfaces/freesurfer/model.py @@ -4,8 +4,6 @@ """The freesurfer module provides basic functions for interfacing with freesurfer tools. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/freesurfer/registration.py b/nipype/interfaces/freesurfer/registration.py index 99ee7d0179..79d12bbab9 100644 --- a/nipype/interfaces/freesurfer/registration.py +++ b/nipype/interfaces/freesurfer/registration.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Provides interfaces to various longitudinal commands provided by freesurfer """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import os.path diff --git a/nipype/interfaces/fsl/aroma.py b/nipype/interfaces/fsl/aroma.py index a86763e3e5..ed0b85df90 100644 --- a/nipype/interfaces/fsl/aroma.py +++ b/nipype/interfaces/fsl/aroma.py @@ -5,8 +5,6 @@ `ICA-AROMA.py`_ command line tool. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..base import (TraitedSpec, CommandLineInputSpec, CommandLine, File, Directory, traits, isdefined) import os diff --git a/nipype/interfaces/fsl/base.py b/nipype/interfaces/fsl/base.py index db74e900b8..bd62751c1a 100644 --- a/nipype/interfaces/fsl/base.py +++ b/nipype/interfaces/fsl/base.py @@ -25,8 +25,6 @@ See the docstrings of the individual classes for examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from glob import glob import os diff --git a/nipype/interfaces/fsl/fix.py b/nipype/interfaces/fsl/fix.py index ebe986eb79..b681e62b2f 100644 --- a/nipype/interfaces/fsl/fix.py +++ b/nipype/interfaces/fsl/fix.py @@ -54,8 +54,6 @@ outgraph = fix_pipeline.run() """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..base import (TraitedSpec, CommandLineInputSpec, CommandLine, InputMultiPath, OutputMultiPath, BaseInterface, diff --git a/nipype/interfaces/fsl/maths.py b/nipype/interfaces/fsl/maths.py index 3862cea8c7..afa9328205 100644 --- a/nipype/interfaces/fsl/maths.py +++ b/nipype/interfaces/fsl/maths.py @@ -5,8 +5,6 @@ The maths module provides higher-level interfaces to some of the operations that can be performed with the fslmaths command-line program. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import numpy as np diff --git a/nipype/interfaces/meshfix.py b/nipype/interfaces/meshfix.py index 4b9db519a9..880ae2da06 100644 --- a/nipype/interfaces/meshfix.py +++ b/nipype/interfaces/meshfix.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """ Fixes meshes: """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op from ..utils.filemanip import split_filename diff --git a/nipype/interfaces/minc/testdata.py b/nipype/interfaces/minc/testdata.py index 0a8d6bfd88..f027efa35e 100644 --- a/nipype/interfaces/minc/testdata.py +++ b/nipype/interfaces/minc/testdata.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ...testing import example_data diff --git a/nipype/interfaces/mipav/__init__.py b/nipype/interfaces/mipav/__init__.py index 8a9e08fd9b..2d5fce8652 100644 --- a/nipype/interfaces/mipav/__init__.py +++ b/nipype/interfaces/mipav/__init__.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from .developer import ( JistLaminarVolumetricLayering, JistBrainMgdmSegmentation, JistLaminarProfileGeometry, JistLaminarProfileCalculator, MedicAlgorithmN3, diff --git a/nipype/interfaces/mixins/reporting.py b/nipype/interfaces/mixins/reporting.py index 3f4d1b1317..fecdb337c5 100644 --- a/nipype/interfaces/mixins/reporting.py +++ b/nipype/interfaces/mixins/reporting.py @@ -2,8 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """ class mixin and utilities for enabling reports for nipype interfaces """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from abc import abstractmethod diff --git a/nipype/interfaces/mrtrix/convert.py b/nipype/interfaces/mrtrix/convert.py index a3a280c895..62b53fc19b 100644 --- a/nipype/interfaces/mrtrix/convert.py +++ b/nipype/interfaces/mrtrix/convert.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) from io import open import os.path as op diff --git a/nipype/interfaces/mrtrix/preprocess.py b/nipype/interfaces/mrtrix/preprocess.py index 5fc67177a1..adc2ef27d7 100644 --- a/nipype/interfaces/mrtrix/preprocess.py +++ b/nipype/interfaces/mrtrix/preprocess.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/mrtrix/tensors.py b/nipype/interfaces/mrtrix/tensors.py index 04c901f1f9..6751b6196d 100644 --- a/nipype/interfaces/mrtrix/tensors.py +++ b/nipype/interfaces/mrtrix/tensors.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op import numpy as np diff --git a/nipype/interfaces/mrtrix/tracking.py b/nipype/interfaces/mrtrix/tracking.py index 7a7ed995f0..f115841482 100644 --- a/nipype/interfaces/mrtrix/tracking.py +++ b/nipype/interfaces/mrtrix/tracking.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import os.path as op diff --git a/nipype/interfaces/mrtrix3/base.py b/nipype/interfaces/mrtrix3/base.py index 55ca385153..a4ad818681 100644 --- a/nipype/interfaces/mrtrix3/base.py +++ b/nipype/interfaces/mrtrix3/base.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ... import logging from ..base import (CommandLineInputSpec, CommandLine, traits, File, isdefined) diff --git a/nipype/interfaces/mrtrix3/connectivity.py b/nipype/interfaces/mrtrix3/connectivity.py index 0e246c796b..63277d7a38 100644 --- a/nipype/interfaces/mrtrix3/connectivity.py +++ b/nipype/interfaces/mrtrix3/connectivity.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import os.path as op diff --git a/nipype/interfaces/mrtrix3/preprocess.py b/nipype/interfaces/mrtrix3/preprocess.py index fc3559c918..5fd28a7494 100644 --- a/nipype/interfaces/mrtrix3/preprocess.py +++ b/nipype/interfaces/mrtrix3/preprocess.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/mrtrix3/reconst.py b/nipype/interfaces/mrtrix3/reconst.py index 6583c58996..f7d09d740c 100644 --- a/nipype/interfaces/mrtrix3/reconst.py +++ b/nipype/interfaces/mrtrix3/reconst.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/mrtrix3/tracking.py b/nipype/interfaces/mrtrix3/tracking.py index e8bf15a33f..b5cd33612f 100644 --- a/nipype/interfaces/mrtrix3/tracking.py +++ b/nipype/interfaces/mrtrix3/tracking.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/mrtrix3/utils.py b/nipype/interfaces/mrtrix3/utils.py index a667c716f4..e82733c674 100644 --- a/nipype/interfaces/mrtrix3/utils.py +++ b/nipype/interfaces/mrtrix3/utils.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/interfaces/niftyseg/base.py b/nipype/interfaces/niftyseg/base.py index d68bbcc73b..cc831aa9b5 100644 --- a/nipype/interfaces/niftyseg/base.py +++ b/nipype/interfaces/niftyseg/base.py @@ -15,8 +15,6 @@ -------- See the docstrings of the individual classes for examples. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..niftyfit.base import NiftyFitCommand diff --git a/nipype/interfaces/nilearn.py b/nipype/interfaces/nilearn.py index 699b7dc8d3..06bfdf899f 100644 --- a/nipype/interfaces/nilearn.py +++ b/nipype/interfaces/nilearn.py @@ -4,8 +4,6 @@ ''' Algorithms to compute statistics on :abbr:`fMRI (functional MRI)` ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import numpy as np diff --git a/nipype/interfaces/nipy/utils.py b/nipype/interfaces/nipy/utils.py index 406960fc6d..22856c01d6 100644 --- a/nipype/interfaces/nipy/utils.py +++ b/nipype/interfaces/nipy/utils.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import warnings import nibabel as nb diff --git a/nipype/interfaces/petpvc.py b/nipype/interfaces/petpvc.py index 598dd898c5..1cf4f3a42e 100644 --- a/nipype/interfaces/petpvc.py +++ b/nipype/interfaces/petpvc.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/interfaces/slicer/generate_classes.py b/nipype/interfaces/slicer/generate_classes.py index 850b561c47..08d0030317 100644 --- a/nipype/interfaces/slicer/generate_classes.py +++ b/nipype/interfaces/slicer/generate_classes.py @@ -37,7 +37,6 @@ def add_class_to_package(class_codes, class_names, module_name, package_dir): If you spot a bug, please report it on the mailing list and/or change the generator.\"\"\"\n\n""" ) imports = """from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..base import (CommandLine, CommandLineInputSpec, SEMLikeCommandLine, TraitedSpec, File, Directory, traits, isdefined, InputMultiPath, OutputMultiPath) import os\n\n\n""" diff --git a/nipype/interfaces/spm/utils.py b/nipype/interfaces/spm/utils.py index 275f0781a9..919b5853ab 100644 --- a/nipype/interfaces/spm/utils.py +++ b/nipype/interfaces/spm/utils.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import numpy as np diff --git a/nipype/interfaces/vista/vista.py b/nipype/interfaces/vista/vista.py index 5000036d02..ada6f430f1 100644 --- a/nipype/interfaces/vista/vista.py +++ b/nipype/interfaces/vista/vista.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ..base import CommandLineInputSpec, CommandLine, TraitedSpec, File diff --git a/nipype/interfaces/vtkbase.py b/nipype/interfaces/vtkbase.py index 1ec66ea614..67edef41c3 100644 --- a/nipype/interfaces/vtkbase.py +++ b/nipype/interfaces/vtkbase.py @@ -6,8 +6,6 @@ Code using tvtk should import it through this module """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from .. import logging diff --git a/nipype/interfaces/workbench/base.py b/nipype/interfaces/workbench/base.py index 4adc9dc69b..2c2620dbb6 100644 --- a/nipype/interfaces/workbench/base.py +++ b/nipype/interfaces/workbench/base.py @@ -10,8 +10,6 @@ Human Connectome Project. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import re diff --git a/nipype/interfaces/workbench/metric.py b/nipype/interfaces/workbench/metric.py index e5bbb60739..b3653576a4 100644 --- a/nipype/interfaces/workbench/metric.py +++ b/nipype/interfaces/workbench/metric.py @@ -2,8 +2,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """This module provides interfaces for workbench surface commands""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ..base import (TraitedSpec, File, traits, CommandLineInputSpec) diff --git a/nipype/pipeline/__init__.py b/nipype/pipeline/__init__.py index badfda5ba0..b410fc8ea0 100644 --- a/nipype/pipeline/__init__.py +++ b/nipype/pipeline/__init__.py @@ -5,7 +5,5 @@ Package contains modules for generating pipelines using interfaces """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) __docformat__ = 'restructuredtext' from .engine import Node, MapNode, JoinNode, Workflow diff --git a/nipype/pipeline/plugins/__init__.py b/nipype/pipeline/plugins/__init__.py index e3c797a10a..83f4869a41 100644 --- a/nipype/pipeline/plugins/__init__.py +++ b/nipype/pipeline/plugins/__init__.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) from .debug import DebugPlugin from .linear import LinearPlugin diff --git a/nipype/pipeline/plugins/condor.py b/nipype/pipeline/plugins/condor.py index 9f5ca632e5..bdf598c5f6 100644 --- a/nipype/pipeline/plugins/condor.py +++ b/nipype/pipeline/plugins/condor.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via Condor """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from time import sleep diff --git a/nipype/pipeline/plugins/debug.py b/nipype/pipeline/plugins/debug.py index 9921bb9cf4..0b9b009c2f 100644 --- a/nipype/pipeline/plugins/debug.py +++ b/nipype/pipeline/plugins/debug.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Debug plugin """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import networkx as nx from .base import PluginBase, logger diff --git a/nipype/pipeline/plugins/legacymultiproc.py b/nipype/pipeline/plugins/legacymultiproc.py index d93e6e77d1..c10f9dd45b 100644 --- a/nipype/pipeline/plugins/legacymultiproc.py +++ b/nipype/pipeline/plugins/legacymultiproc.py @@ -6,8 +6,6 @@ Support for child processes running as non-daemons based on http://stackoverflow.com/a/8963618/1183453 """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) # Import packages import os diff --git a/nipype/pipeline/plugins/linear.py b/nipype/pipeline/plugins/linear.py index 2180d614ad..a3cf7556be 100644 --- a/nipype/pipeline/plugins/linear.py +++ b/nipype/pipeline/plugins/linear.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Local serial workflow execution """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os diff --git a/nipype/pipeline/plugins/lsf.py b/nipype/pipeline/plugins/lsf.py index bdaabc31e6..6e996c5aeb 100644 --- a/nipype/pipeline/plugins/lsf.py +++ b/nipype/pipeline/plugins/lsf.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via LSF """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import re diff --git a/nipype/pipeline/plugins/multiproc.py b/nipype/pipeline/plugins/multiproc.py index c89a6af8e8..7f57b6625e 100644 --- a/nipype/pipeline/plugins/multiproc.py +++ b/nipype/pipeline/plugins/multiproc.py @@ -6,8 +6,6 @@ Support for child processes running as non-daemons based on http://stackoverflow.com/a/8963618/1183453 """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) # Import packages import os diff --git a/nipype/pipeline/plugins/semaphore_singleton.py b/nipype/pipeline/plugins/semaphore_singleton.py index 96dfe657bd..fe25cf2c61 100644 --- a/nipype/pipeline/plugins/semaphore_singleton.py +++ b/nipype/pipeline/plugins/semaphore_singleton.py @@ -1,5 +1,3 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import threading semaphore = threading.Semaphore(0) diff --git a/nipype/pipeline/plugins/somaflow.py b/nipype/pipeline/plugins/somaflow.py index 174b277c6f..e31a901169 100644 --- a/nipype/pipeline/plugins/somaflow.py +++ b/nipype/pipeline/plugins/somaflow.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- """Parallel workflow execution via PBS/Torque """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os import sys diff --git a/nipype/scripts/utils.py b/nipype/scripts/utils.py index 432b6308ce..bcdf195c2f 100644 --- a/nipype/scripts/utils.py +++ b/nipype/scripts/utils.py @@ -2,8 +2,6 @@ """ Utilities for the CLI functions. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) diff --git a/nipype/sphinxext/__init__.py b/nipype/sphinxext/__init__.py index 5f8ba4da2b..5ad1fa8c52 100644 --- a/nipype/sphinxext/__init__.py +++ b/nipype/sphinxext/__init__.py @@ -2,5 +2,4 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, absolute_import, unicode_literals) diff --git a/nipype/utils/tmpdirs.py b/nipype/utils/tmpdirs.py index a1295c0a50..4752514e8f 100644 --- a/nipype/utils/tmpdirs.py +++ b/nipype/utils/tmpdirs.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- diff --git a/nipype/workflows/data/__init__.py b/nipype/workflows/data/__init__.py index 85fcd2dee0..bc6b1d6e9d 100644 --- a/nipype/workflows/data/__init__.py +++ b/nipype/workflows/data/__init__.py @@ -2,8 +2,6 @@ # coding: utf-8 # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os.path as op diff --git a/nipype/workflows/dmri/__init__.py b/nipype/workflows/dmri/__init__.py index 628b6c2bc1..ab59dad57e 100644 --- a/nipype/workflows/dmri/__init__.py +++ b/nipype/workflows/dmri/__init__.py @@ -1,4 +1,2 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from . import camino, mrtrix, fsl, dipy diff --git a/nipype/workflows/dmri/fsl/artifacts.py b/nipype/workflows/dmri/fsl/artifacts.py index 3b29c5a07c..d1faebafdf 100644 --- a/nipype/workflows/dmri/fsl/artifacts.py +++ b/nipype/workflows/dmri/fsl/artifacts.py @@ -2,8 +2,6 @@ # coding: utf-8 # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ....interfaces.io import JSONFileGrabber from ....interfaces import utility as niu diff --git a/nipype/workflows/fmri/__init__.py b/nipype/workflows/fmri/__init__.py index 5523a0c412..a71a96ad06 100644 --- a/nipype/workflows/fmri/__init__.py +++ b/nipype/workflows/fmri/__init__.py @@ -1,4 +1,2 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from . import fsl, spm diff --git a/nipype/workflows/graph/__init__.py b/nipype/workflows/graph/__init__.py index ead6180dc8..40a96afc6f 100644 --- a/nipype/workflows/graph/__init__.py +++ b/nipype/workflows/graph/__init__.py @@ -1,3 +1 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) diff --git a/nipype/workflows/rsfmri/__init__.py b/nipype/workflows/rsfmri/__init__.py index bd58039343..6346a6afa2 100644 --- a/nipype/workflows/rsfmri/__init__.py +++ b/nipype/workflows/rsfmri/__init__.py @@ -1,5 +1,3 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from . import fsl diff --git a/nipype/workflows/smri/__init__.py b/nipype/workflows/smri/__init__.py index b6d7bf5731..2e8b34eab2 100644 --- a/nipype/workflows/smri/__init__.py +++ b/nipype/workflows/smri/__init__.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from . import ants from . import freesurfer diff --git a/nipype/workflows/smri/freesurfer/autorecon1.py b/nipype/workflows/smri/freesurfer/autorecon1.py index 0973e210a7..31783eec5a 100644 --- a/nipype/workflows/smri/freesurfer/autorecon1.py +++ b/nipype/workflows/smri/freesurfer/autorecon1.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ....utils import NUMPY_MMAP from ....pipeline import engine as pe from ....interfaces.utility import Function, IdentityInterface diff --git a/nipype/workflows/smri/freesurfer/autorecon2.py b/nipype/workflows/smri/freesurfer/autorecon2.py index a11587412d..7c2de2b40d 100644 --- a/nipype/workflows/smri/freesurfer/autorecon2.py +++ b/nipype/workflows/smri/freesurfer/autorecon2.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ....interfaces.utility import Function, IdentityInterface, Merge from ....pipeline import engine as pe from ....interfaces.freesurfer import * diff --git a/nipype/workflows/smri/freesurfer/autorecon3.py b/nipype/workflows/smri/freesurfer/autorecon3.py index 477198d2da..47359afa20 100644 --- a/nipype/workflows/smri/freesurfer/autorecon3.py +++ b/nipype/workflows/smri/freesurfer/autorecon3.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ....interfaces.utility import IdentityInterface, Merge, Function from ....pipeline import engine as pe from ....interfaces.freesurfer import * diff --git a/nipype/workflows/smri/freesurfer/ba_maps.py b/nipype/workflows/smri/freesurfer/ba_maps.py index 8a4ae6caf1..480d6a9ece 100644 --- a/nipype/workflows/smri/freesurfer/ba_maps.py +++ b/nipype/workflows/smri/freesurfer/ba_maps.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) import os from ....interfaces.utility import Function, IdentityInterface from ....pipeline import engine as pe # pypeline engine diff --git a/nipype/workflows/smri/freesurfer/recon.py b/nipype/workflows/smri/freesurfer/recon.py index f0ad4ad6fd..5c6c2579fc 100644 --- a/nipype/workflows/smri/freesurfer/recon.py +++ b/nipype/workflows/smri/freesurfer/recon.py @@ -1,6 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import (print_function, division, unicode_literals, - absolute_import) from ....pipeline import engine as pe from ....interfaces import freesurfer as fs from ....interfaces import utility as niu From b90f7d586c162060b915566a380dcd75e4d1534b Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:29:47 -0400 Subject: [PATCH 05/28] MAINT: Update version, supported Python versions --- nipype/info.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nipype/info.py b/nipype/info.py index f1d72f18e9..ad17ffe8d4 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -8,7 +8,7 @@ # full release. '.dev' as a version_extra string means this is a development # version # Remove -dev for release -__version__ = '1.1.1-dev' +__version__ = '2.0.0-dev' def get_nipype_gitversion(): @@ -53,7 +53,6 @@ def get_nipype_gitversion(): 'License :: OSI Approved :: Apache Software License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering' From b5ef915ff5fd8191df12529c27aae7dc8e0b5e2d Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:31:20 -0400 Subject: [PATCH 06/28] FIX: Dangling import --- nipype/sphinxext/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nipype/sphinxext/__init__.py b/nipype/sphinxext/__init__.py index 5ad1fa8c52..7f877fb023 100644 --- a/nipype/sphinxext/__init__.py +++ b/nipype/sphinxext/__init__.py @@ -2,4 +2,3 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: - unicode_literals) From e968b8de650b0cd724863d22b7536ab607d8dc0b Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:36:51 -0400 Subject: [PATCH 07/28] RF: Drop imports in checkspecs --- tools/checkspecs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/checkspecs.py b/tools/checkspecs.py index e282728c8e..6b7e4e2813 100644 --- a/tools/checkspecs.py +++ b/tools/checkspecs.py @@ -2,9 +2,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Attempt to check each interface in nipype """ -from __future__ import print_function, unicode_literals -from builtins import object, str, bytes, open - # Stdlib imports import os import re @@ -223,7 +220,6 @@ def test_specs(self, uri): if not os.path.exists(nonautotest): cmd = [ '# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT', - 'from __future__ import unicode_literals', 'from ..%s import %s' % (uri.split('.')[-1], c), '' ] cmd.append('\ndef test_%s_inputs():' % c) From 7a0e638a852dd57a48e9fb259124ca4221557c87 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:37:05 -0400 Subject: [PATCH 08/28] MAINT: make specs --- nipype/algorithms/tests/test_auto_ACompCor.py | 1 - nipype/algorithms/tests/test_auto_ActivationCount.py | 1 - nipype/algorithms/tests/test_auto_AddCSVColumn.py | 1 - nipype/algorithms/tests/test_auto_AddCSVRow.py | 1 - nipype/algorithms/tests/test_auto_AddNoise.py | 1 - nipype/algorithms/tests/test_auto_ArtifactDetect.py | 1 - nipype/algorithms/tests/test_auto_CalculateMedian.py | 1 - nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py | 1 - nipype/algorithms/tests/test_auto_ComputeDVARS.py | 1 - nipype/algorithms/tests/test_auto_ComputeMeshWarp.py | 1 - nipype/algorithms/tests/test_auto_CreateNifti.py | 1 - nipype/algorithms/tests/test_auto_Distance.py | 1 - nipype/algorithms/tests/test_auto_FramewiseDisplacement.py | 1 - nipype/algorithms/tests/test_auto_FuzzyOverlap.py | 1 - nipype/algorithms/tests/test_auto_Gunzip.py | 1 - nipype/algorithms/tests/test_auto_ICC.py | 1 - nipype/algorithms/tests/test_auto_Matlab2CSV.py | 1 - nipype/algorithms/tests/test_auto_MergeCSVFiles.py | 1 - nipype/algorithms/tests/test_auto_MergeROIs.py | 1 - nipype/algorithms/tests/test_auto_MeshWarpMaths.py | 1 - nipype/algorithms/tests/test_auto_ModifyAffine.py | 1 - nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py | 1 - nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py | 1 - nipype/algorithms/tests/test_auto_P2PDistance.py | 1 - nipype/algorithms/tests/test_auto_PickAtlas.py | 1 - nipype/algorithms/tests/test_auto_Similarity.py | 1 - nipype/algorithms/tests/test_auto_SimpleThreshold.py | 1 - nipype/algorithms/tests/test_auto_SpecifyModel.py | 1 - nipype/algorithms/tests/test_auto_SpecifySPMModel.py | 1 - nipype/algorithms/tests/test_auto_SpecifySparseModel.py | 1 - nipype/algorithms/tests/test_auto_SplitROIs.py | 1 - nipype/algorithms/tests/test_auto_StimulusCorrelation.py | 1 - nipype/algorithms/tests/test_auto_TCompCor.py | 1 - nipype/algorithms/tests/test_auto_TVTKBaseInterface.py | 1 - nipype/algorithms/tests/test_auto_WarpPoints.py | 1 - nipype/interfaces/afni/tests/test_auto_ABoverlap.py | 1 - nipype/interfaces/afni/tests/test_auto_AFNICommand.py | 1 - nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py | 1 - nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py | 1 - nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py | 1 - nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py | 1 - nipype/interfaces/afni/tests/test_auto_Allineate.py | 1 - nipype/interfaces/afni/tests/test_auto_AutoTLRC.py | 1 - nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py | 1 - nipype/interfaces/afni/tests/test_auto_Autobox.py | 1 - nipype/interfaces/afni/tests/test_auto_Automask.py | 1 - nipype/interfaces/afni/tests/test_auto_Axialize.py | 1 - nipype/interfaces/afni/tests/test_auto_Bandpass.py | 1 - nipype/interfaces/afni/tests/test_auto_BlurInMask.py | 1 - nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py | 1 - nipype/interfaces/afni/tests/test_auto_BrickStat.py | 1 - nipype/interfaces/afni/tests/test_auto_Bucket.py | 1 - nipype/interfaces/afni/tests/test_auto_Calc.py | 1 - nipype/interfaces/afni/tests/test_auto_Cat.py | 1 - nipype/interfaces/afni/tests/test_auto_CatMatvec.py | 1 - nipype/interfaces/afni/tests/test_auto_CenterMass.py | 1 - nipype/interfaces/afni/tests/test_auto_ClipLevel.py | 1 - nipype/interfaces/afni/tests/test_auto_ConvertDset.py | 1 - nipype/interfaces/afni/tests/test_auto_Copy.py | 1 - nipype/interfaces/afni/tests/test_auto_Deconvolve.py | 1 - nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py | 1 - nipype/interfaces/afni/tests/test_auto_Despike.py | 1 - nipype/interfaces/afni/tests/test_auto_Detrend.py | 1 - nipype/interfaces/afni/tests/test_auto_Dot.py | 1 - nipype/interfaces/afni/tests/test_auto_ECM.py | 1 - nipype/interfaces/afni/tests/test_auto_Edge3.py | 1 - nipype/interfaces/afni/tests/test_auto_Eval.py | 1 - nipype/interfaces/afni/tests/test_auto_FWHMx.py | 1 - nipype/interfaces/afni/tests/test_auto_Fim.py | 1 - nipype/interfaces/afni/tests/test_auto_Fourier.py | 1 - nipype/interfaces/afni/tests/test_auto_GCOR.py | 1 - nipype/interfaces/afni/tests/test_auto_Hist.py | 1 - nipype/interfaces/afni/tests/test_auto_LFCD.py | 1 - nipype/interfaces/afni/tests/test_auto_LocalBistat.py | 1 - nipype/interfaces/afni/tests/test_auto_MaskTool.py | 1 - nipype/interfaces/afni/tests/test_auto_Maskave.py | 1 - nipype/interfaces/afni/tests/test_auto_Means.py | 1 - nipype/interfaces/afni/tests/test_auto_Merge.py | 1 - nipype/interfaces/afni/tests/test_auto_Notes.py | 1 - nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py | 1 - nipype/interfaces/afni/tests/test_auto_NwarpApply.py | 1 - nipype/interfaces/afni/tests/test_auto_NwarpCat.py | 1 - nipype/interfaces/afni/tests/test_auto_OneDToolPy.py | 1 - nipype/interfaces/afni/tests/test_auto_OutlierCount.py | 1 - nipype/interfaces/afni/tests/test_auto_QualityIndex.py | 1 - nipype/interfaces/afni/tests/test_auto_Qwarp.py | 1 - nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py | 1 - nipype/interfaces/afni/tests/test_auto_ROIStats.py | 1 - nipype/interfaces/afni/tests/test_auto_Refit.py | 1 - nipype/interfaces/afni/tests/test_auto_Remlfit.py | 1 - nipype/interfaces/afni/tests/test_auto_Resample.py | 1 - nipype/interfaces/afni/tests/test_auto_Retroicor.py | 1 - nipype/interfaces/afni/tests/test_auto_SVMTest.py | 1 - nipype/interfaces/afni/tests/test_auto_SVMTrain.py | 1 - nipype/interfaces/afni/tests/test_auto_Seg.py | 1 - nipype/interfaces/afni/tests/test_auto_SkullStrip.py | 1 - nipype/interfaces/afni/tests/test_auto_Synthesize.py | 1 - nipype/interfaces/afni/tests/test_auto_TCat.py | 1 - nipype/interfaces/afni/tests/test_auto_TCatSubBrick.py | 1 - nipype/interfaces/afni/tests/test_auto_TCorr1D.py | 1 - nipype/interfaces/afni/tests/test_auto_TCorrMap.py | 1 - nipype/interfaces/afni/tests/test_auto_TCorrelate.py | 1 - nipype/interfaces/afni/tests/test_auto_TNorm.py | 1 - nipype/interfaces/afni/tests/test_auto_TProject.py | 1 - nipype/interfaces/afni/tests/test_auto_TShift.py | 1 - nipype/interfaces/afni/tests/test_auto_TStat.py | 1 - nipype/interfaces/afni/tests/test_auto_To3D.py | 1 - nipype/interfaces/afni/tests/test_auto_Undump.py | 1 - nipype/interfaces/afni/tests/test_auto_Unifize.py | 1 - nipype/interfaces/afni/tests/test_auto_Volreg.py | 1 - nipype/interfaces/afni/tests/test_auto_Warp.py | 1 - nipype/interfaces/afni/tests/test_auto_ZCutUp.py | 1 - nipype/interfaces/afni/tests/test_auto_Zcat.py | 1 - nipype/interfaces/afni/tests/test_auto_Zeropad.py | 1 - nipype/interfaces/ants/tests/test_auto_ANTS.py | 1 - nipype/interfaces/ants/tests/test_auto_ANTSCommand.py | 1 - nipype/interfaces/ants/tests/test_auto_AffineInitializer.py | 1 - nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py | 1 - nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py | 1 - .../interfaces/ants/tests/test_auto_ApplyTransformsToPoints.py | 1 - nipype/interfaces/ants/tests/test_auto_Atropos.py | 1 - nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py | 1 - nipype/interfaces/ants/tests/test_auto_AverageImages.py | 1 - nipype/interfaces/ants/tests/test_auto_BrainExtraction.py | 1 - nipype/interfaces/ants/tests/test_auto_ComposeMultiTransform.py | 1 - .../interfaces/ants/tests/test_auto_ConvertScalarImageToRGB.py | 1 - nipype/interfaces/ants/tests/test_auto_CorticalThickness.py | 1 - .../ants/tests/test_auto_CreateJacobianDeterminantImage.py | 1 - nipype/interfaces/ants/tests/test_auto_CreateTiledMosaic.py | 1 - nipype/interfaces/ants/tests/test_auto_DenoiseImage.py | 1 - nipype/interfaces/ants/tests/test_auto_JointFusion.py | 1 - nipype/interfaces/ants/tests/test_auto_KellyKapowski.py | 1 - nipype/interfaces/ants/tests/test_auto_LabelGeometry.py | 1 - nipype/interfaces/ants/tests/test_auto_LaplacianThickness.py | 1 - nipype/interfaces/ants/tests/test_auto_MeasureImageSimilarity.py | 1 - nipype/interfaces/ants/tests/test_auto_MultiplyImages.py | 1 - nipype/interfaces/ants/tests/test_auto_N4BiasFieldCorrection.py | 1 - nipype/interfaces/ants/tests/test_auto_Registration.py | 1 - nipype/interfaces/ants/tests/test_auto_RegistrationSynQuick.py | 1 - .../interfaces/ants/tests/test_auto_WarpImageMultiTransform.py | 1 - .../ants/tests/test_auto_WarpTimeSeriesImageMultiTransform.py | 1 - nipype/interfaces/base/tests/test_auto_BaseInterface.py | 1 - nipype/interfaces/base/tests/test_auto_CommandLine.py | 1 - nipype/interfaces/base/tests/test_auto_LibraryBaseInterface.py | 1 - nipype/interfaces/base/tests/test_auto_MpiCommandLine.py | 1 - nipype/interfaces/base/tests/test_auto_SEMLikeCommandLine.py | 1 - nipype/interfaces/base/tests/test_auto_SimpleInterface.py | 1 - nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_BDP.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Bfc.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Bse.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Cerebro.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Cortex.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Dewisp.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Dfs.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Hemisplit.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Pialmesh.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Pvc.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_SVReg.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Scrubmask.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Skullfinder.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_Tca.py | 1 - nipype/interfaces/brainsuite/tests/test_auto_ThicknessPVC.py | 1 - nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py | 1 - nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py | 1 - .../camino/tests/test_auto_ComputeFractionalAnisotropy.py | 1 - .../interfaces/camino/tests/test_auto_ComputeMeanDiffusivity.py | 1 - nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py | 1 - nipype/interfaces/camino/tests/test_auto_Conmat.py | 1 - nipype/interfaces/camino/tests/test_auto_DT2NIfTI.py | 1 - nipype/interfaces/camino/tests/test_auto_DTIFit.py | 1 - nipype/interfaces/camino/tests/test_auto_DTLUTGen.py | 1 - nipype/interfaces/camino/tests/test_auto_DTMetric.py | 1 - nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py | 1 - nipype/interfaces/camino/tests/test_auto_Image2Voxel.py | 1 - nipype/interfaces/camino/tests/test_auto_ImageStats.py | 1 - nipype/interfaces/camino/tests/test_auto_LinRecon.py | 1 - nipype/interfaces/camino/tests/test_auto_MESD.py | 1 - nipype/interfaces/camino/tests/test_auto_ModelFit.py | 1 - nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py | 1 - nipype/interfaces/camino/tests/test_auto_PicoPDFs.py | 1 - nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py | 1 - nipype/interfaces/camino/tests/test_auto_QBallMX.py | 1 - nipype/interfaces/camino/tests/test_auto_SFLUTGen.py | 1 - nipype/interfaces/camino/tests/test_auto_SFPICOCalibData.py | 1 - nipype/interfaces/camino/tests/test_auto_SFPeaks.py | 1 - nipype/interfaces/camino/tests/test_auto_Shredder.py | 1 - nipype/interfaces/camino/tests/test_auto_Track.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackBallStick.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackBayesDirac.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackBedpostxDeter.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackBedpostxProba.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackBootstrap.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackDT.py | 1 - nipype/interfaces/camino/tests/test_auto_TrackPICo.py | 1 - nipype/interfaces/camino/tests/test_auto_TractShredder.py | 1 - nipype/interfaces/camino/tests/test_auto_VtkStreamlines.py | 1 - .../camino2trackvis/tests/test_auto_Camino2Trackvis.py | 1 - .../camino2trackvis/tests/test_auto_Trackvis2Camino.py | 1 - nipype/interfaces/cmtk/tests/test_auto_AverageNetworks.py | 1 - nipype/interfaces/cmtk/tests/test_auto_CFFBaseInterface.py | 1 - nipype/interfaces/cmtk/tests/test_auto_CFFConverter.py | 1 - nipype/interfaces/cmtk/tests/test_auto_CreateMatrix.py | 1 - nipype/interfaces/cmtk/tests/test_auto_CreateNodes.py | 1 - nipype/interfaces/cmtk/tests/test_auto_MergeCNetworks.py | 1 - nipype/interfaces/cmtk/tests/test_auto_NetworkBasedStatistic.py | 1 - nipype/interfaces/cmtk/tests/test_auto_NetworkXMetrics.py | 1 - nipype/interfaces/cmtk/tests/test_auto_Parcellate.py | 1 - nipype/interfaces/cmtk/tests/test_auto_ROIGen.py | 1 - nipype/interfaces/diffusion_toolkit/tests/test_auto_DTIRecon.py | 1 - .../interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py | 1 - nipype/interfaces/diffusion_toolkit/tests/test_auto_HARDIMat.py | 1 - nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFRecon.py | 1 - .../interfaces/diffusion_toolkit/tests/test_auto_ODFTracker.py | 1 - .../interfaces/diffusion_toolkit/tests/test_auto_SplineFilter.py | 1 - .../interfaces/diffusion_toolkit/tests/test_auto_TrackMerge.py | 1 - nipype/interfaces/dipy/tests/test_auto_APMQball.py | 1 - nipype/interfaces/dipy/tests/test_auto_CSD.py | 1 - nipype/interfaces/dipy/tests/test_auto_DTI.py | 1 - nipype/interfaces/dipy/tests/test_auto_Denoise.py | 1 - nipype/interfaces/dipy/tests/test_auto_DipyBaseInterface.py | 1 - nipype/interfaces/dipy/tests/test_auto_DipyDiffusionInterface.py | 1 - nipype/interfaces/dipy/tests/test_auto_EstimateResponseSH.py | 1 - nipype/interfaces/dipy/tests/test_auto_RESTORE.py | 1 - nipype/interfaces/dipy/tests/test_auto_Resample.py | 1 - nipype/interfaces/dipy/tests/test_auto_SimulateMultiTensor.py | 1 - nipype/interfaces/dipy/tests/test_auto_StreamlineTractography.py | 1 - nipype/interfaces/dipy/tests/test_auto_TensorMode.py | 1 - nipype/interfaces/dipy/tests/test_auto_TrackDensityMap.py | 1 - nipype/interfaces/dtitk/tests/test_auto_AffScalarVol.py | 1 - nipype/interfaces/dtitk/tests/test_auto_AffSymTensor3DVol.py | 1 - nipype/interfaces/dtitk/tests/test_auto_Affine.py | 1 - nipype/interfaces/dtitk/tests/test_auto_AffineTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_BinThresh.py | 1 - nipype/interfaces/dtitk/tests/test_auto_BinThreshTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_CommandLineDtitk.py | 1 - nipype/interfaces/dtitk/tests/test_auto_ComposeXfm.py | 1 - nipype/interfaces/dtitk/tests/test_auto_ComposeXfmTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_Diffeo.py | 1 - nipype/interfaces/dtitk/tests/test_auto_DiffeoScalarVol.py | 1 - nipype/interfaces/dtitk/tests/test_auto_DiffeoSymTensor3DVol.py | 1 - nipype/interfaces/dtitk/tests/test_auto_DiffeoTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_Rigid.py | 1 - nipype/interfaces/dtitk/tests/test_auto_RigidTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSp.py | 1 - nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSpTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_SVResample.py | 1 - nipype/interfaces/dtitk/tests/test_auto_SVResampleTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVAdjustOriginTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSp.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSpTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVResample.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVResampleTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVtool.py | 1 - nipype/interfaces/dtitk/tests/test_auto_TVtoolTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_affScalarVolTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_affSymTensor3DVolTask.py | 1 - nipype/interfaces/dtitk/tests/test_auto_diffeoScalarVolTask.py | 1 - .../interfaces/dtitk/tests/test_auto_diffeoSymTensor3DVolTask.py | 1 - nipype/interfaces/elastix/tests/test_auto_AnalyzeWarp.py | 1 - nipype/interfaces/elastix/tests/test_auto_ApplyWarp.py | 1 - nipype/interfaces/elastix/tests/test_auto_EditTransform.py | 1 - nipype/interfaces/elastix/tests/test_auto_PointsWarp.py | 1 - nipype/interfaces/elastix/tests/test_auto_Registration.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_AddXFormToHeader.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Aparc2Aseg.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Apas2Aseg.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_ApplyMask.py | 1 - .../interfaces/freesurfer/tests/test_auto_ApplyVolTransform.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Binarize.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_CALabel.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_CANormalize.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_CARegister.py | 1 - .../freesurfer/tests/test_auto_CheckTalairachAlignment.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Concatenate.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_ConcatenateLTA.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Contrast.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Curvature.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_CurvatureStats.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_DICOMConvert.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_EMRegister.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_EditWMwithAseg.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_EulerNumber.py | 1 - .../freesurfer/tests/test_auto_ExtractMainComponent.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_FSCommand.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_FSCommandOpenMP.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_FSScriptCommand.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_FitMSParams.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_FixTopology.py | 1 - .../interfaces/freesurfer/tests/test_auto_FuseSegmentations.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_ImageInfo.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Jacobian.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_LTAConvert.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Label2Annot.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Label2Label.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Label2Vol.py | 1 - .../interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MPRtoMNI305.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIConvert.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRICoreg.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIFill.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIMarchingCubes.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIPretess.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRISPreproc.py | 1 - .../interfaces/freesurfer/tests/test_auto_MRISPreprocReconAll.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRITessellate.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsCALabel.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsCalc.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsCombine.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsConvert.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsExpand.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MRIsInflate.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py | 1 - .../interfaces/freesurfer/tests/test_auto_MakeAverageSubject.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_MakeSurfaces.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Normalize.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Paint.py | 1 - .../interfaces/freesurfer/tests/test_auto_ParcellationStats.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_ParseDICOMDir.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Register.py | 1 - .../freesurfer/tests/test_auto_RegisterAVItoTalairach.py | 1 - .../freesurfer/tests/test_auto_RelabelHypointensities.py | 1 - .../interfaces/freesurfer/tests/test_auto_RemoveIntersection.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_RemoveNeck.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Resample.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_RobustRegister.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_RobustTemplate.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SegStats.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SegStatsReconAll.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SegmentCC.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SegmentWM.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Smooth.py | 1 - .../interfaces/freesurfer/tests/test_auto_SmoothTessellation.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Sphere.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.py | 1 - .../freesurfer/tests/test_auto_Surface2VolTransform.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SurfaceSmooth.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SurfaceTransform.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_SynthesizeFLASH.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_TalairachAVI.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_TalairachQC.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_UnpackSDICOMDir.py | 1 - nipype/interfaces/freesurfer/tests/test_auto_VolumeMask.py | 1 - .../interfaces/freesurfer/tests/test_auto_WatershedSkullStrip.py | 1 - nipype/interfaces/fsl/tests/test_auto_AR1Image.py | 1 - nipype/interfaces/fsl/tests/test_auto_AccuracyTester.py | 1 - nipype/interfaces/fsl/tests/test_auto_ApplyMask.py | 1 - nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py | 1 - nipype/interfaces/fsl/tests/test_auto_ApplyWarp.py | 1 - nipype/interfaces/fsl/tests/test_auto_ApplyXFM.py | 1 - nipype/interfaces/fsl/tests/test_auto_AvScale.py | 1 - nipype/interfaces/fsl/tests/test_auto_B0Calc.py | 1 - nipype/interfaces/fsl/tests/test_auto_BEDPOSTX5.py | 1 - nipype/interfaces/fsl/tests/test_auto_BET.py | 1 - nipype/interfaces/fsl/tests/test_auto_BinaryMaths.py | 1 - nipype/interfaces/fsl/tests/test_auto_ChangeDataType.py | 1 - nipype/interfaces/fsl/tests/test_auto_Classifier.py | 1 - nipype/interfaces/fsl/tests/test_auto_Cleaner.py | 1 - nipype/interfaces/fsl/tests/test_auto_Cluster.py | 1 - nipype/interfaces/fsl/tests/test_auto_Complex.py | 1 - nipype/interfaces/fsl/tests/test_auto_ContrastMgr.py | 1 - nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py | 1 - nipype/interfaces/fsl/tests/test_auto_ConvertXFM.py | 1 - nipype/interfaces/fsl/tests/test_auto_CopyGeom.py | 1 - nipype/interfaces/fsl/tests/test_auto_DTIFit.py | 1 - nipype/interfaces/fsl/tests/test_auto_DilateImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_DistanceMap.py | 1 - nipype/interfaces/fsl/tests/test_auto_DualRegression.py | 1 - nipype/interfaces/fsl/tests/test_auto_EPIDeWarp.py | 1 - nipype/interfaces/fsl/tests/test_auto_Eddy.py | 1 - nipype/interfaces/fsl/tests/test_auto_EddyCorrect.py | 1 - nipype/interfaces/fsl/tests/test_auto_EpiReg.py | 1 - nipype/interfaces/fsl/tests/test_auto_ErodeImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_ExtractROI.py | 1 - nipype/interfaces/fsl/tests/test_auto_FAST.py | 1 - nipype/interfaces/fsl/tests/test_auto_FEAT.py | 1 - nipype/interfaces/fsl/tests/test_auto_FEATModel.py | 1 - nipype/interfaces/fsl/tests/test_auto_FEATRegister.py | 1 - nipype/interfaces/fsl/tests/test_auto_FIRST.py | 1 - nipype/interfaces/fsl/tests/test_auto_FLAMEO.py | 1 - nipype/interfaces/fsl/tests/test_auto_FLIRT.py | 1 - nipype/interfaces/fsl/tests/test_auto_FNIRT.py | 1 - nipype/interfaces/fsl/tests/test_auto_FSLCommand.py | 1 - nipype/interfaces/fsl/tests/test_auto_FSLXCommand.py | 1 - nipype/interfaces/fsl/tests/test_auto_FUGUE.py | 1 - nipype/interfaces/fsl/tests/test_auto_FeatureExtractor.py | 1 - nipype/interfaces/fsl/tests/test_auto_FilterRegressor.py | 1 - nipype/interfaces/fsl/tests/test_auto_FindTheBiggest.py | 1 - nipype/interfaces/fsl/tests/test_auto_GLM.py | 1 - nipype/interfaces/fsl/tests/test_auto_ICA_AROMA.py | 1 - nipype/interfaces/fsl/tests/test_auto_ImageMaths.py | 1 - nipype/interfaces/fsl/tests/test_auto_ImageMeants.py | 1 - nipype/interfaces/fsl/tests/test_auto_ImageStats.py | 1 - nipype/interfaces/fsl/tests/test_auto_InvWarp.py | 1 - nipype/interfaces/fsl/tests/test_auto_IsotropicSmooth.py | 1 - nipype/interfaces/fsl/tests/test_auto_L2Model.py | 1 - nipype/interfaces/fsl/tests/test_auto_Level1Design.py | 1 - nipype/interfaces/fsl/tests/test_auto_MCFLIRT.py | 1 - nipype/interfaces/fsl/tests/test_auto_MELODIC.py | 1 - nipype/interfaces/fsl/tests/test_auto_MakeDyadicVectors.py | 1 - nipype/interfaces/fsl/tests/test_auto_MathsCommand.py | 1 - nipype/interfaces/fsl/tests/test_auto_MaxImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_MaxnImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_MeanImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_MedianImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_Merge.py | 1 - nipype/interfaces/fsl/tests/test_auto_MinImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_MotionOutliers.py | 1 - nipype/interfaces/fsl/tests/test_auto_MultiImageMaths.py | 1 - nipype/interfaces/fsl/tests/test_auto_MultipleRegressDesign.py | 1 - nipype/interfaces/fsl/tests/test_auto_Overlay.py | 1 - nipype/interfaces/fsl/tests/test_auto_PRELUDE.py | 1 - nipype/interfaces/fsl/tests/test_auto_PercentileImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_PlotMotionParams.py | 1 - nipype/interfaces/fsl/tests/test_auto_PlotTimeSeries.py | 1 - nipype/interfaces/fsl/tests/test_auto_PowerSpectrum.py | 1 - nipype/interfaces/fsl/tests/test_auto_PrepareFieldmap.py | 1 - nipype/interfaces/fsl/tests/test_auto_ProbTrackX.py | 1 - nipype/interfaces/fsl/tests/test_auto_ProbTrackX2.py | 1 - nipype/interfaces/fsl/tests/test_auto_ProjThresh.py | 1 - nipype/interfaces/fsl/tests/test_auto_Randomise.py | 1 - nipype/interfaces/fsl/tests/test_auto_Reorient2Std.py | 1 - nipype/interfaces/fsl/tests/test_auto_RobustFOV.py | 1 - nipype/interfaces/fsl/tests/test_auto_SMM.py | 1 - nipype/interfaces/fsl/tests/test_auto_SUSAN.py | 1 - nipype/interfaces/fsl/tests/test_auto_SigLoss.py | 1 - nipype/interfaces/fsl/tests/test_auto_Slice.py | 1 - nipype/interfaces/fsl/tests/test_auto_SliceTimer.py | 1 - nipype/interfaces/fsl/tests/test_auto_Slicer.py | 1 - nipype/interfaces/fsl/tests/test_auto_Smooth.py | 1 - nipype/interfaces/fsl/tests/test_auto_SmoothEstimate.py | 1 - nipype/interfaces/fsl/tests/test_auto_SpatialFilter.py | 1 - nipype/interfaces/fsl/tests/test_auto_Split.py | 1 - nipype/interfaces/fsl/tests/test_auto_StdImage.py | 1 - nipype/interfaces/fsl/tests/test_auto_SwapDimensions.py | 1 - nipype/interfaces/fsl/tests/test_auto_TOPUP.py | 1 - nipype/interfaces/fsl/tests/test_auto_TemporalFilter.py | 1 - nipype/interfaces/fsl/tests/test_auto_Threshold.py | 1 - nipype/interfaces/fsl/tests/test_auto_TractSkeleton.py | 1 - nipype/interfaces/fsl/tests/test_auto_Training.py | 1 - nipype/interfaces/fsl/tests/test_auto_TrainingSetCreator.py | 1 - nipype/interfaces/fsl/tests/test_auto_UnaryMaths.py | 1 - nipype/interfaces/fsl/tests/test_auto_VecReg.py | 1 - nipype/interfaces/fsl/tests/test_auto_WarpPoints.py | 1 - nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py | 1 - nipype/interfaces/fsl/tests/test_auto_WarpPointsToStd.py | 1 - nipype/interfaces/fsl/tests/test_auto_WarpUtils.py | 1 - nipype/interfaces/fsl/tests/test_auto_XFibres5.py | 1 - nipype/interfaces/minc/tests/test_auto_Average.py | 1 - nipype/interfaces/minc/tests/test_auto_BBox.py | 1 - nipype/interfaces/minc/tests/test_auto_Beast.py | 1 - nipype/interfaces/minc/tests/test_auto_BestLinReg.py | 1 - nipype/interfaces/minc/tests/test_auto_BigAverage.py | 1 - nipype/interfaces/minc/tests/test_auto_Blob.py | 1 - nipype/interfaces/minc/tests/test_auto_Blur.py | 1 - nipype/interfaces/minc/tests/test_auto_Calc.py | 1 - nipype/interfaces/minc/tests/test_auto_Convert.py | 1 - nipype/interfaces/minc/tests/test_auto_Copy.py | 1 - nipype/interfaces/minc/tests/test_auto_Dump.py | 1 - nipype/interfaces/minc/tests/test_auto_Extract.py | 1 - nipype/interfaces/minc/tests/test_auto_Gennlxfm.py | 1 - nipype/interfaces/minc/tests/test_auto_Math.py | 1 - nipype/interfaces/minc/tests/test_auto_NlpFit.py | 1 - nipype/interfaces/minc/tests/test_auto_Norm.py | 1 - nipype/interfaces/minc/tests/test_auto_Pik.py | 1 - nipype/interfaces/minc/tests/test_auto_Resample.py | 1 - nipype/interfaces/minc/tests/test_auto_Reshape.py | 1 - nipype/interfaces/minc/tests/test_auto_ToEcat.py | 1 - nipype/interfaces/minc/tests/test_auto_ToRaw.py | 1 - nipype/interfaces/minc/tests/test_auto_VolSymm.py | 1 - nipype/interfaces/minc/tests/test_auto_Volcentre.py | 1 - nipype/interfaces/minc/tests/test_auto_Voliso.py | 1 - nipype/interfaces/minc/tests/test_auto_Volpad.py | 1 - nipype/interfaces/minc/tests/test_auto_XfmAvg.py | 1 - nipype/interfaces/minc/tests/test_auto_XfmConcat.py | 1 - nipype/interfaces/minc/tests/test_auto_XfmInvert.py | 1 - .../mipav/tests/test_auto_JistBrainMgdmSegmentation.py | 1 - .../mipav/tests/test_auto_JistBrainMp2rageDuraEstimation.py | 1 - .../mipav/tests/test_auto_JistBrainMp2rageSkullStripping.py | 1 - .../mipav/tests/test_auto_JistBrainPartialVolumeFilter.py | 1 - .../mipav/tests/test_auto_JistCortexSurfaceMeshInflation.py | 1 - .../mipav/tests/test_auto_JistIntensityMp2rageMasking.py | 1 - .../mipav/tests/test_auto_JistLaminarProfileCalculator.py | 1 - .../mipav/tests/test_auto_JistLaminarProfileGeometry.py | 1 - .../mipav/tests/test_auto_JistLaminarProfileSampling.py | 1 - .../interfaces/mipav/tests/test_auto_JistLaminarROIAveraging.py | 1 - .../mipav/tests/test_auto_JistLaminarVolumetricLayering.py | 1 - .../mipav/tests/test_auto_MedicAlgorithmImageCalculator.py | 1 - .../mipav/tests/test_auto_MedicAlgorithmLesionToads.py | 1 - .../mipav/tests/test_auto_MedicAlgorithmMipavReorient.py | 1 - nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmN3.py | 1 - .../mipav/tests/test_auto_MedicAlgorithmSPECTRE2010.py | 1 - .../mipav/tests/test_auto_MedicAlgorithmThresholdToBinaryMask.py | 1 - nipype/interfaces/mipav/tests/test_auto_RandomVol.py | 1 - .../interfaces/mixins/tests/test_auto_ReportCapableInterface.py | 1 - nipype/interfaces/mne/tests/test_auto_WatershedBEM.py | 1 - .../mrtrix/tests/test_auto_ConstrainedSphericalDeconvolution.py | 1 - .../mrtrix/tests/test_auto_DWI2SphericalHarmonicsImage.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_DWI2Tensor.py | 1 - .../mrtrix/tests/test_auto_DiffusionTensorStreamlineTrack.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_Directions2Amplitude.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_Erode.py | 1 - .../interfaces/mrtrix/tests/test_auto_EstimateResponseForSH.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_FSL2MRTrix.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_FilterTracks.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_FindShPeaks.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_GenerateDirections.py | 1 - .../interfaces/mrtrix/tests/test_auto_GenerateWhiteMatterMask.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRConvert.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRMultiply.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRTransform.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRTrix2TrackVis.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRTrixInfo.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MRTrixViewer.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_MedianFilter3D.py | 1 - ...t_auto_ProbabilisticSphericallyDeconvolutedStreamlineTrack.py | 1 - .../tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_StreamlineTrack.py | 1 - .../mrtrix/tests/test_auto_Tensor2ApparentDiffusion.py | 1 - .../mrtrix/tests/test_auto_Tensor2FractionalAnisotropy.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_Tensor2Vector.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_Threshold.py | 1 - nipype/interfaces/mrtrix/tests/test_auto_Tracks2Prob.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_ACTPrepareFSL.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_DWIDenoise.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_DWIExtract.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_Generate5tt.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_LabelConvert.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_MRConvert.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_MRMath.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_MRTrix3Base.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_Mesh2PVE.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_ReplaceFSwithFIRST.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_TCK2VTK.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_TensorMetrics.py | 1 - nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py | 1 - nipype/interfaces/niftyfit/tests/test_auto_DwiTool.py | 1 - nipype/interfaces/niftyfit/tests/test_auto_FitAsl.py | 1 - nipype/interfaces/niftyfit/tests/test_auto_FitDwi.py | 1 - nipype/interfaces/niftyfit/tests/test_auto_FitQt1.py | 1 - nipype/interfaces/niftyfit/tests/test_auto_NiftyFitCommand.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_NiftyRegCommand.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegAladin.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegAverage.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegF3D.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegJacobian.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegMeasure.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegResample.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegTools.py | 1 - nipype/interfaces/niftyreg/tests/test_auto_RegTransform.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_BinaryMaths.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_BinaryMathsInteger.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_BinaryStats.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_CalcTopNCC.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_EM.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_FillLesions.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_LabelFusion.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_MathsCommand.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_Merge.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_NiftySegCommand.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_StatsCommand.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_TupleMaths.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_UnaryMaths.py | 1 - nipype/interfaces/niftyseg/tests/test_auto_UnaryStats.py | 1 - nipype/interfaces/nipy/tests/test_auto_ComputeMask.py | 1 - nipype/interfaces/nipy/tests/test_auto_EstimateContrast.py | 1 - nipype/interfaces/nipy/tests/test_auto_FitGLM.py | 1 - nipype/interfaces/nipy/tests/test_auto_NipyBaseInterface.py | 1 - nipype/interfaces/nipy/tests/test_auto_Similarity.py | 1 - nipype/interfaces/nipy/tests/test_auto_SpaceTimeRealigner.py | 1 - nipype/interfaces/nipy/tests/test_auto_Trim.py | 1 - nipype/interfaces/nitime/tests/test_auto_CoherenceAnalyzer.py | 1 - nipype/interfaces/nitime/tests/test_auto_NitimeBaseInterface.py | 1 - .../brains/tests/test_auto_BRAINSPosteriorToContinuousClass.py | 1 - .../semtools/brains/tests/test_auto_BRAINSTalairach.py | 1 - .../semtools/brains/tests/test_auto_BRAINSTalairachMask.py | 1 - .../semtools/brains/tests/test_auto_GenerateEdgeMapImage.py | 1 - .../semtools/brains/tests/test_auto_GeneratePurePlugMask.py | 1 - .../semtools/brains/tests/test_auto_HistogramMatchingFilter.py | 1 - .../semtools/brains/tests/test_auto_SimilarityIndex.py | 1 - .../interfaces/semtools/diffusion/tests/test_auto_DWIConvert.py | 1 - .../semtools/diffusion/tests/test_auto_compareTractInclusion.py | 1 - .../interfaces/semtools/diffusion/tests/test_auto_dtiaverage.py | 1 - nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py | 1 - .../interfaces/semtools/diffusion/tests/test_auto_dtiprocess.py | 1 - .../semtools/diffusion/tests/test_auto_extractNrrdVectorIndex.py | 1 - .../semtools/diffusion/tests/test_auto_gtractAnisotropyMap.py | 1 - .../semtools/diffusion/tests/test_auto_gtractAverageBvalues.py | 1 - .../semtools/diffusion/tests/test_auto_gtractClipAnisotropy.py | 1 - .../semtools/diffusion/tests/test_auto_gtractCoRegAnatomy.py | 1 - .../semtools/diffusion/tests/test_auto_gtractConcatDwi.py | 1 - .../diffusion/tests/test_auto_gtractCopyImageOrientation.py | 1 - .../semtools/diffusion/tests/test_auto_gtractCoregBvalues.py | 1 - .../semtools/diffusion/tests/test_auto_gtractCostFastMarching.py | 1 - .../semtools/diffusion/tests/test_auto_gtractCreateGuideFiber.py | 1 - .../diffusion/tests/test_auto_gtractFastMarchingTracking.py | 1 - .../semtools/diffusion/tests/test_auto_gtractFiberTracking.py | 1 - .../semtools/diffusion/tests/test_auto_gtractImageConformity.py | 1 - .../diffusion/tests/test_auto_gtractInvertBSplineTransform.py | 1 - .../diffusion/tests/test_auto_gtractInvertDisplacementField.py | 1 - .../diffusion/tests/test_auto_gtractInvertRigidTransform.py | 1 - .../diffusion/tests/test_auto_gtractResampleAnisotropy.py | 1 - .../semtools/diffusion/tests/test_auto_gtractResampleB0.py | 1 - .../diffusion/tests/test_auto_gtractResampleCodeImage.py | 1 - .../diffusion/tests/test_auto_gtractResampleDWIInPlace.py | 1 - .../semtools/diffusion/tests/test_auto_gtractResampleFibers.py | 1 - .../semtools/diffusion/tests/test_auto_gtractTensor.py | 1 - .../tests/test_auto_gtractTransformToDisplacementField.py | 1 - .../semtools/diffusion/tests/test_auto_maxcurvature.py | 1 - .../diffusion/tractography/tests/test_auto_UKFTractography.py | 1 - .../diffusion/tractography/tests/test_auto_fiberprocess.py | 1 - .../diffusion/tractography/tests/test_auto_fiberstats.py | 1 - .../diffusion/tractography/tests/test_auto_fibertrack.py | 1 - .../interfaces/semtools/filtering/tests/test_auto_CannyEdge.py | 1 - .../tests/test_auto_CannySegmentationLevelSetImageFilter.py | 1 - .../interfaces/semtools/filtering/tests/test_auto_DilateImage.py | 1 - .../interfaces/semtools/filtering/tests/test_auto_DilateMask.py | 1 - .../semtools/filtering/tests/test_auto_DistanceMaps.py | 1 - .../filtering/tests/test_auto_DumpBinaryTrainingVectors.py | 1 - .../interfaces/semtools/filtering/tests/test_auto_ErodeImage.py | 1 - .../semtools/filtering/tests/test_auto_FlippedDifference.py | 1 - .../filtering/tests/test_auto_GenerateBrainClippedImage.py | 1 - .../filtering/tests/test_auto_GenerateSummedGradientImage.py | 1 - .../semtools/filtering/tests/test_auto_GenerateTestImage.py | 1 - .../tests/test_auto_GradientAnisotropicDiffusionImageFilter.py | 1 - .../semtools/filtering/tests/test_auto_HammerAttributeCreator.py | 1 - .../semtools/filtering/tests/test_auto_NeighborhoodMean.py | 1 - .../semtools/filtering/tests/test_auto_NeighborhoodMedian.py | 1 - .../semtools/filtering/tests/test_auto_STAPLEAnalysis.py | 1 - .../filtering/tests/test_auto_TextureFromNoiseImageFilter.py | 1 - .../semtools/filtering/tests/test_auto_TextureMeasureFilter.py | 1 - .../semtools/filtering/tests/test_auto_UnbiasedNonLocalMeans.py | 1 - .../semtools/legacy/tests/test_auto_scalartransform.py | 1 - .../semtools/registration/tests/test_auto_BRAINSDemonWarp.py | 1 - .../semtools/registration/tests/test_auto_BRAINSFit.py | 1 - .../semtools/registration/tests/test_auto_BRAINSResample.py | 1 - .../semtools/registration/tests/test_auto_BRAINSResize.py | 1 - .../registration/tests/test_auto_BRAINSTransformFromFiducials.py | 1 - .../semtools/registration/tests/test_auto_VBRAINSDemonWarp.py | 1 - .../semtools/segmentation/tests/test_auto_BRAINSABC.py | 1 - .../segmentation/tests/test_auto_BRAINSConstellationDetector.py | 1 - .../tests/test_auto_BRAINSCreateLabelMapFromProbabilityMaps.py | 1 - .../semtools/segmentation/tests/test_auto_BRAINSCut.py | 1 - .../semtools/segmentation/tests/test_auto_BRAINSMultiSTAPLE.py | 1 - .../semtools/segmentation/tests/test_auto_BRAINSROIAuto.py | 1 - .../tests/test_auto_BinaryMaskEditorBasedOnLandmarks.py | 1 - nipype/interfaces/semtools/segmentation/tests/test_auto_ESLR.py | 1 - nipype/interfaces/semtools/tests/test_auto_DWICompare.py | 1 - nipype/interfaces/semtools/tests/test_auto_DWISimpleCompare.py | 1 - .../tests/test_auto_GenerateCsfClippedFromClassifiedImage.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSAlignMSP.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSClipInferior.py | 1 - .../utilities/tests/test_auto_BRAINSConstellationModeler.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSEyeDetector.py | 1 - .../utilities/tests/test_auto_BRAINSInitializedControlPoints.py | 1 - .../utilities/tests/test_auto_BRAINSLandmarkInitializer.py | 1 - .../utilities/tests/test_auto_BRAINSLinearModelerEPCA.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSLmkTransform.py | 1 - .../interfaces/semtools/utilities/tests/test_auto_BRAINSMush.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSSnapShotWriter.py | 1 - .../semtools/utilities/tests/test_auto_BRAINSTransformConvert.py | 1 - .../utilities/tests/test_auto_BRAINSTrimForegroundInDirection.py | 1 - .../semtools/utilities/tests/test_auto_CleanUpOverlapLabels.py | 1 - .../semtools/utilities/tests/test_auto_FindCenterOfBrain.py | 1 - .../tests/test_auto_GenerateLabelMapFromProbabilityMap.py | 1 - .../semtools/utilities/tests/test_auto_ImageRegionPlotter.py | 1 - .../semtools/utilities/tests/test_auto_JointHistogram.py | 1 - .../semtools/utilities/tests/test_auto_ShuffleVectorsModule.py | 1 - .../semtools/utilities/tests/test_auto_fcsv_to_hdf5.py | 1 - .../semtools/utilities/tests/test_auto_insertMidACPCpoint.py | 1 - .../utilities/tests/test_auto_landmarksConstellationAligner.py | 1 - .../utilities/tests/test_auto_landmarksConstellationWeights.py | 1 - nipype/interfaces/slicer/diffusion/tests/test_auto_DTIexport.py | 1 - nipype/interfaces/slicer/diffusion/tests/test_auto_DTIimport.py | 1 - .../diffusion/tests/test_auto_DWIJointRicianLMMSEFilter.py | 1 - .../slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py | 1 - .../slicer/diffusion/tests/test_auto_DWIToDTIEstimation.py | 1 - .../tests/test_auto_DiffusionTensorScalarMeasurements.py | 1 - .../diffusion/tests/test_auto_DiffusionWeightedVolumeMasking.py | 1 - .../slicer/diffusion/tests/test_auto_ResampleDTIVolume.py | 1 - .../diffusion/tests/test_auto_TractographyLabelMapSeeding.py | 1 - .../slicer/filtering/tests/test_auto_AddScalarVolumes.py | 1 - .../slicer/filtering/tests/test_auto_CastScalarVolume.py | 1 - .../slicer/filtering/tests/test_auto_CheckerBoardFilter.py | 1 - .../filtering/tests/test_auto_CurvatureAnisotropicDiffusion.py | 1 - .../slicer/filtering/tests/test_auto_ExtractSkeleton.py | 1 - .../slicer/filtering/tests/test_auto_GaussianBlurImageFilter.py | 1 - .../filtering/tests/test_auto_GradientAnisotropicDiffusion.py | 1 - .../filtering/tests/test_auto_GrayscaleFillHoleImageFilter.py | 1 - .../filtering/tests/test_auto_GrayscaleGrindPeakImageFilter.py | 1 - .../slicer/filtering/tests/test_auto_HistogramMatching.py | 1 - .../slicer/filtering/tests/test_auto_ImageLabelCombine.py | 1 - .../slicer/filtering/tests/test_auto_MaskScalarVolume.py | 1 - .../slicer/filtering/tests/test_auto_MedianImageFilter.py | 1 - .../slicer/filtering/tests/test_auto_MultiplyScalarVolumes.py | 1 - .../slicer/filtering/tests/test_auto_N4ITKBiasFieldCorrection.py | 1 - .../filtering/tests/test_auto_ResampleScalarVectorDWIVolume.py | 1 - .../slicer/filtering/tests/test_auto_SubtractScalarVolumes.py | 1 - .../slicer/filtering/tests/test_auto_ThresholdScalarVolume.py | 1 - .../tests/test_auto_VotingBinaryHoleFillingImageFilter.py | 1 - .../diffusion/tests/test_auto_DWIUnbiasedNonLocalMeansFilter.py | 1 - .../slicer/legacy/tests/test_auto_AffineRegistration.py | 1 - .../legacy/tests/test_auto_BSplineDeformableRegistration.py | 1 - .../slicer/legacy/tests/test_auto_BSplineToDeformationField.py | 1 - .../slicer/legacy/tests/test_auto_ExpertAutomatedRegistration.py | 1 - .../slicer/legacy/tests/test_auto_LinearRegistration.py | 1 - .../legacy/tests/test_auto_MultiResolutionAffineRegistration.py | 1 - .../slicer/legacy/tests/test_auto_OtsuThresholdImageFilter.py | 1 - .../slicer/legacy/tests/test_auto_OtsuThresholdSegmentation.py | 1 - .../slicer/legacy/tests/test_auto_ResampleScalarVolume.py | 1 - .../slicer/legacy/tests/test_auto_RigidRegistration.py | 1 - .../quantification/tests/test_auto_IntensityDifferenceMetric.py | 1 - .../tests/test_auto_PETStandardUptakeValueComputation.py | 1 - .../slicer/registration/tests/test_auto_ACPCTransform.py | 1 - .../slicer/registration/tests/test_auto_BRAINSDemonWarp.py | 1 - .../interfaces/slicer/registration/tests/test_auto_BRAINSFit.py | 1 - .../slicer/registration/tests/test_auto_BRAINSResample.py | 1 - .../slicer/registration/tests/test_auto_FiducialRegistration.py | 1 - .../slicer/registration/tests/test_auto_VBRAINSDemonWarp.py | 1 - .../slicer/segmentation/tests/test_auto_BRAINSROIAuto.py | 1 - .../slicer/segmentation/tests/test_auto_EMSegmentCommandLine.py | 1 - .../segmentation/tests/test_auto_RobustStatisticsSegmenter.py | 1 - .../tests/test_auto_SimpleRegionGrowingSegmentation.py | 1 - nipype/interfaces/slicer/tests/test_auto_DicomToNrrdConverter.py | 1 - .../slicer/tests/test_auto_EMSegmentTransformToNewFormat.py | 1 - nipype/interfaces/slicer/tests/test_auto_GrayscaleModelMaker.py | 1 - nipype/interfaces/slicer/tests/test_auto_LabelMapSmoothing.py | 1 - nipype/interfaces/slicer/tests/test_auto_MergeModels.py | 1 - nipype/interfaces/slicer/tests/test_auto_ModelMaker.py | 1 - nipype/interfaces/slicer/tests/test_auto_ModelToLabelMap.py | 1 - nipype/interfaces/slicer/tests/test_auto_OrientScalarVolume.py | 1 - nipype/interfaces/slicer/tests/test_auto_ProbeVolumeWithModel.py | 1 - nipype/interfaces/slicer/tests/test_auto_SlicerCommandLine.py | 1 - nipype/interfaces/spm/tests/test_auto_Analyze2nii.py | 1 - nipype/interfaces/spm/tests/test_auto_ApplyDeformations.py | 1 - nipype/interfaces/spm/tests/test_auto_ApplyInverseDeformation.py | 1 - nipype/interfaces/spm/tests/test_auto_ApplyTransform.py | 1 - nipype/interfaces/spm/tests/test_auto_CalcCoregAffine.py | 1 - nipype/interfaces/spm/tests/test_auto_Coregister.py | 1 - nipype/interfaces/spm/tests/test_auto_CreateWarped.py | 1 - nipype/interfaces/spm/tests/test_auto_DARTEL.py | 1 - nipype/interfaces/spm/tests/test_auto_DARTELNorm2MNI.py | 1 - nipype/interfaces/spm/tests/test_auto_DicomImport.py | 1 - nipype/interfaces/spm/tests/test_auto_EstimateContrast.py | 1 - nipype/interfaces/spm/tests/test_auto_EstimateModel.py | 1 - nipype/interfaces/spm/tests/test_auto_FactorialDesign.py | 1 - nipype/interfaces/spm/tests/test_auto_FieldMap.py | 1 - nipype/interfaces/spm/tests/test_auto_Level1Design.py | 1 - .../interfaces/spm/tests/test_auto_MultipleRegressionDesign.py | 1 - nipype/interfaces/spm/tests/test_auto_NewSegment.py | 1 - nipype/interfaces/spm/tests/test_auto_Normalize.py | 1 - nipype/interfaces/spm/tests/test_auto_Normalize12.py | 1 - nipype/interfaces/spm/tests/test_auto_OneSampleTTestDesign.py | 1 - nipype/interfaces/spm/tests/test_auto_PairedTTestDesign.py | 1 - nipype/interfaces/spm/tests/test_auto_Realign.py | 1 - nipype/interfaces/spm/tests/test_auto_Reslice.py | 1 - nipype/interfaces/spm/tests/test_auto_ResliceToReference.py | 1 - nipype/interfaces/spm/tests/test_auto_SPMCommand.py | 1 - nipype/interfaces/spm/tests/test_auto_Segment.py | 1 - nipype/interfaces/spm/tests/test_auto_SliceTiming.py | 1 - nipype/interfaces/spm/tests/test_auto_Smooth.py | 1 - nipype/interfaces/spm/tests/test_auto_Threshold.py | 1 - nipype/interfaces/spm/tests/test_auto_ThresholdStatistics.py | 1 - nipype/interfaces/spm/tests/test_auto_TwoSampleTTestDesign.py | 1 - nipype/interfaces/spm/tests/test_auto_VBMSegment.py | 1 - nipype/interfaces/tests/test_auto_BIDSDataGrabber.py | 1 - nipype/interfaces/tests/test_auto_Bru2.py | 1 - nipype/interfaces/tests/test_auto_C3d.py | 1 - nipype/interfaces/tests/test_auto_C3dAffineTool.py | 1 - nipype/interfaces/tests/test_auto_CopyMeta.py | 1 - nipype/interfaces/tests/test_auto_DataFinder.py | 1 - nipype/interfaces/tests/test_auto_DataGrabber.py | 1 - nipype/interfaces/tests/test_auto_DataSink.py | 1 - nipype/interfaces/tests/test_auto_Dcm2nii.py | 1 - nipype/interfaces/tests/test_auto_Dcm2niix.py | 1 - nipype/interfaces/tests/test_auto_DcmStack.py | 1 - nipype/interfaces/tests/test_auto_FreeSurferSource.py | 1 - nipype/interfaces/tests/test_auto_GroupAndStack.py | 1 - nipype/interfaces/tests/test_auto_IOBase.py | 1 - nipype/interfaces/tests/test_auto_JSONFileGrabber.py | 1 - nipype/interfaces/tests/test_auto_JSONFileSink.py | 1 - nipype/interfaces/tests/test_auto_LookupMeta.py | 1 - nipype/interfaces/tests/test_auto_MatlabCommand.py | 1 - nipype/interfaces/tests/test_auto_MergeNifti.py | 1 - nipype/interfaces/tests/test_auto_MeshFix.py | 1 - nipype/interfaces/tests/test_auto_MySQLSink.py | 1 - nipype/interfaces/tests/test_auto_NiftiGeneratorBase.py | 1 - nipype/interfaces/tests/test_auto_NilearnBaseInterface.py | 1 - nipype/interfaces/tests/test_auto_PETPVC.py | 1 - nipype/interfaces/tests/test_auto_Quickshear.py | 1 - nipype/interfaces/tests/test_auto_Reorient.py | 1 - nipype/interfaces/tests/test_auto_Rescale.py | 1 - nipype/interfaces/tests/test_auto_S3DataGrabber.py | 1 - nipype/interfaces/tests/test_auto_SQLiteSink.py | 1 - nipype/interfaces/tests/test_auto_SSHDataGrabber.py | 1 - nipype/interfaces/tests/test_auto_SelectFiles.py | 1 - nipype/interfaces/tests/test_auto_SignalExtraction.py | 1 - nipype/interfaces/tests/test_auto_SlicerCommandLine.py | 1 - nipype/interfaces/tests/test_auto_SplitNifti.py | 1 - nipype/interfaces/tests/test_auto_XNATSink.py | 1 - nipype/interfaces/tests/test_auto_XNATSource.py | 1 - nipype/interfaces/utility/tests/test_auto_AssertEqual.py | 1 - nipype/interfaces/utility/tests/test_auto_CSVReader.py | 1 - nipype/interfaces/utility/tests/test_auto_Function.py | 1 - nipype/interfaces/utility/tests/test_auto_IdentityInterface.py | 1 - nipype/interfaces/utility/tests/test_auto_Merge.py | 1 - nipype/interfaces/utility/tests/test_auto_Rename.py | 1 - nipype/interfaces/utility/tests/test_auto_Select.py | 1 - nipype/interfaces/utility/tests/test_auto_Split.py | 1 - nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py | 1 - nipype/interfaces/vista/tests/test_auto_VtoMat.py | 1 - nipype/interfaces/workbench/tests/test_auto_MetricResample.py | 1 - nipype/interfaces/workbench/tests/test_auto_WBCommand.py | 1 - 827 files changed, 827 deletions(-) diff --git a/nipype/algorithms/tests/test_auto_ACompCor.py b/nipype/algorithms/tests/test_auto_ACompCor.py index eadbf3e126..168dd27249 100644 --- a/nipype/algorithms/tests/test_auto_ACompCor.py +++ b/nipype/algorithms/tests/test_auto_ACompCor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..confounds import ACompCor diff --git a/nipype/algorithms/tests/test_auto_ActivationCount.py b/nipype/algorithms/tests/test_auto_ActivationCount.py index d6e3ff7165..d88bf9b025 100644 --- a/nipype/algorithms/tests/test_auto_ActivationCount.py +++ b/nipype/algorithms/tests/test_auto_ActivationCount.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..stats import ActivationCount diff --git a/nipype/algorithms/tests/test_auto_AddCSVColumn.py b/nipype/algorithms/tests/test_auto_AddCSVColumn.py index feedcf46e8..acab44d3c7 100644 --- a/nipype/algorithms/tests/test_auto_AddCSVColumn.py +++ b/nipype/algorithms/tests/test_auto_AddCSVColumn.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import AddCSVColumn diff --git a/nipype/algorithms/tests/test_auto_AddCSVRow.py b/nipype/algorithms/tests/test_auto_AddCSVRow.py index 4666a147d2..17a56d43e8 100644 --- a/nipype/algorithms/tests/test_auto_AddCSVRow.py +++ b/nipype/algorithms/tests/test_auto_AddCSVRow.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import AddCSVRow diff --git a/nipype/algorithms/tests/test_auto_AddNoise.py b/nipype/algorithms/tests/test_auto_AddNoise.py index 6e0655a93e..6cd2b78e69 100644 --- a/nipype/algorithms/tests/test_auto_AddNoise.py +++ b/nipype/algorithms/tests/test_auto_AddNoise.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import AddNoise diff --git a/nipype/algorithms/tests/test_auto_ArtifactDetect.py b/nipype/algorithms/tests/test_auto_ArtifactDetect.py index 85c57b8823..0811629c6a 100644 --- a/nipype/algorithms/tests/test_auto_ArtifactDetect.py +++ b/nipype/algorithms/tests/test_auto_ArtifactDetect.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..rapidart import ArtifactDetect diff --git a/nipype/algorithms/tests/test_auto_CalculateMedian.py b/nipype/algorithms/tests/test_auto_CalculateMedian.py index 1f9aa6cd4d..1da36b096f 100644 --- a/nipype/algorithms/tests/test_auto_CalculateMedian.py +++ b/nipype/algorithms/tests/test_auto_CalculateMedian.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import CalculateMedian diff --git a/nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py b/nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py index 3dbbd772c8..59e18068fd 100644 --- a/nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py +++ b/nipype/algorithms/tests/test_auto_CalculateNormalizedMoments.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import CalculateNormalizedMoments diff --git a/nipype/algorithms/tests/test_auto_ComputeDVARS.py b/nipype/algorithms/tests/test_auto_ComputeDVARS.py index ca263c77ac..c3bbcafe73 100644 --- a/nipype/algorithms/tests/test_auto_ComputeDVARS.py +++ b/nipype/algorithms/tests/test_auto_ComputeDVARS.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..confounds import ComputeDVARS diff --git a/nipype/algorithms/tests/test_auto_ComputeMeshWarp.py b/nipype/algorithms/tests/test_auto_ComputeMeshWarp.py index 0308653786..835fde1bfa 100644 --- a/nipype/algorithms/tests/test_auto_ComputeMeshWarp.py +++ b/nipype/algorithms/tests/test_auto_ComputeMeshWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..mesh import ComputeMeshWarp diff --git a/nipype/algorithms/tests/test_auto_CreateNifti.py b/nipype/algorithms/tests/test_auto_CreateNifti.py index f8bf8a405f..99b1360500 100644 --- a/nipype/algorithms/tests/test_auto_CreateNifti.py +++ b/nipype/algorithms/tests/test_auto_CreateNifti.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import CreateNifti diff --git a/nipype/algorithms/tests/test_auto_Distance.py b/nipype/algorithms/tests/test_auto_Distance.py index 2c5d098d73..d768235e2e 100644 --- a/nipype/algorithms/tests/test_auto_Distance.py +++ b/nipype/algorithms/tests/test_auto_Distance.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import Distance diff --git a/nipype/algorithms/tests/test_auto_FramewiseDisplacement.py b/nipype/algorithms/tests/test_auto_FramewiseDisplacement.py index 685dec61e8..65c030df73 100644 --- a/nipype/algorithms/tests/test_auto_FramewiseDisplacement.py +++ b/nipype/algorithms/tests/test_auto_FramewiseDisplacement.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..confounds import FramewiseDisplacement diff --git a/nipype/algorithms/tests/test_auto_FuzzyOverlap.py b/nipype/algorithms/tests/test_auto_FuzzyOverlap.py index e9e28aaa44..bf2bf4fcac 100644 --- a/nipype/algorithms/tests/test_auto_FuzzyOverlap.py +++ b/nipype/algorithms/tests/test_auto_FuzzyOverlap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import FuzzyOverlap diff --git a/nipype/algorithms/tests/test_auto_Gunzip.py b/nipype/algorithms/tests/test_auto_Gunzip.py index f12e1f9b45..8ee8ad9dbb 100644 --- a/nipype/algorithms/tests/test_auto_Gunzip.py +++ b/nipype/algorithms/tests/test_auto_Gunzip.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import Gunzip diff --git a/nipype/algorithms/tests/test_auto_ICC.py b/nipype/algorithms/tests/test_auto_ICC.py index 1a4a2b1517..4b1fb99b32 100644 --- a/nipype/algorithms/tests/test_auto_ICC.py +++ b/nipype/algorithms/tests/test_auto_ICC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..icc import ICC diff --git a/nipype/algorithms/tests/test_auto_Matlab2CSV.py b/nipype/algorithms/tests/test_auto_Matlab2CSV.py index fcc1648bf9..53f12ceeac 100644 --- a/nipype/algorithms/tests/test_auto_Matlab2CSV.py +++ b/nipype/algorithms/tests/test_auto_Matlab2CSV.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import Matlab2CSV diff --git a/nipype/algorithms/tests/test_auto_MergeCSVFiles.py b/nipype/algorithms/tests/test_auto_MergeCSVFiles.py index fd882e850a..353bee7380 100644 --- a/nipype/algorithms/tests/test_auto_MergeCSVFiles.py +++ b/nipype/algorithms/tests/test_auto_MergeCSVFiles.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import MergeCSVFiles diff --git a/nipype/algorithms/tests/test_auto_MergeROIs.py b/nipype/algorithms/tests/test_auto_MergeROIs.py index 01b2b097a8..bda2f01f7d 100644 --- a/nipype/algorithms/tests/test_auto_MergeROIs.py +++ b/nipype/algorithms/tests/test_auto_MergeROIs.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import MergeROIs diff --git a/nipype/algorithms/tests/test_auto_MeshWarpMaths.py b/nipype/algorithms/tests/test_auto_MeshWarpMaths.py index f89b16017b..603ac40bbc 100644 --- a/nipype/algorithms/tests/test_auto_MeshWarpMaths.py +++ b/nipype/algorithms/tests/test_auto_MeshWarpMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..mesh import MeshWarpMaths diff --git a/nipype/algorithms/tests/test_auto_ModifyAffine.py b/nipype/algorithms/tests/test_auto_ModifyAffine.py index a0c4150a98..d524a3cf58 100644 --- a/nipype/algorithms/tests/test_auto_ModifyAffine.py +++ b/nipype/algorithms/tests/test_auto_ModifyAffine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import ModifyAffine diff --git a/nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py b/nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py index b86fe3df03..9c0ab829e8 100644 --- a/nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py +++ b/nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..confounds import NonSteadyStateDetector diff --git a/nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py b/nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py index 4c9a5584d0..27e16e8ce0 100644 --- a/nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py +++ b/nipype/algorithms/tests/test_auto_NormalizeProbabilityMapSet.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import NormalizeProbabilityMapSet diff --git a/nipype/algorithms/tests/test_auto_P2PDistance.py b/nipype/algorithms/tests/test_auto_P2PDistance.py index 9948e3675e..71788dbce2 100644 --- a/nipype/algorithms/tests/test_auto_P2PDistance.py +++ b/nipype/algorithms/tests/test_auto_P2PDistance.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..mesh import P2PDistance diff --git a/nipype/algorithms/tests/test_auto_PickAtlas.py b/nipype/algorithms/tests/test_auto_PickAtlas.py index 3b15c302e5..c379d86ee8 100644 --- a/nipype/algorithms/tests/test_auto_PickAtlas.py +++ b/nipype/algorithms/tests/test_auto_PickAtlas.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import PickAtlas diff --git a/nipype/algorithms/tests/test_auto_Similarity.py b/nipype/algorithms/tests/test_auto_Similarity.py index b2ad79b5eb..8e2427c140 100644 --- a/nipype/algorithms/tests/test_auto_Similarity.py +++ b/nipype/algorithms/tests/test_auto_Similarity.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..metrics import Similarity diff --git a/nipype/algorithms/tests/test_auto_SimpleThreshold.py b/nipype/algorithms/tests/test_auto_SimpleThreshold.py index 4e34d86799..2c66dc9f76 100644 --- a/nipype/algorithms/tests/test_auto_SimpleThreshold.py +++ b/nipype/algorithms/tests/test_auto_SimpleThreshold.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import SimpleThreshold diff --git a/nipype/algorithms/tests/test_auto_SpecifyModel.py b/nipype/algorithms/tests/test_auto_SpecifyModel.py index 452a048764..17650c68f8 100644 --- a/nipype/algorithms/tests/test_auto_SpecifyModel.py +++ b/nipype/algorithms/tests/test_auto_SpecifyModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..modelgen import SpecifyModel diff --git a/nipype/algorithms/tests/test_auto_SpecifySPMModel.py b/nipype/algorithms/tests/test_auto_SpecifySPMModel.py index 1f3ec7058d..29cef2cf46 100644 --- a/nipype/algorithms/tests/test_auto_SpecifySPMModel.py +++ b/nipype/algorithms/tests/test_auto_SpecifySPMModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..modelgen import SpecifySPMModel diff --git a/nipype/algorithms/tests/test_auto_SpecifySparseModel.py b/nipype/algorithms/tests/test_auto_SpecifySparseModel.py index 93fc035fc2..02893582b9 100644 --- a/nipype/algorithms/tests/test_auto_SpecifySparseModel.py +++ b/nipype/algorithms/tests/test_auto_SpecifySparseModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..modelgen import SpecifySparseModel diff --git a/nipype/algorithms/tests/test_auto_SplitROIs.py b/nipype/algorithms/tests/test_auto_SplitROIs.py index 963926666d..53f12d2b29 100644 --- a/nipype/algorithms/tests/test_auto_SplitROIs.py +++ b/nipype/algorithms/tests/test_auto_SplitROIs.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..misc import SplitROIs diff --git a/nipype/algorithms/tests/test_auto_StimulusCorrelation.py b/nipype/algorithms/tests/test_auto_StimulusCorrelation.py index 8c7ef276d9..6af303270e 100644 --- a/nipype/algorithms/tests/test_auto_StimulusCorrelation.py +++ b/nipype/algorithms/tests/test_auto_StimulusCorrelation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..rapidart import StimulusCorrelation diff --git a/nipype/algorithms/tests/test_auto_TCompCor.py b/nipype/algorithms/tests/test_auto_TCompCor.py index 44b01b2972..b531ef8f94 100644 --- a/nipype/algorithms/tests/test_auto_TCompCor.py +++ b/nipype/algorithms/tests/test_auto_TCompCor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..confounds import TCompCor diff --git a/nipype/algorithms/tests/test_auto_TVTKBaseInterface.py b/nipype/algorithms/tests/test_auto_TVTKBaseInterface.py index 9fc2d17aba..d9b7309778 100644 --- a/nipype/algorithms/tests/test_auto_TVTKBaseInterface.py +++ b/nipype/algorithms/tests/test_auto_TVTKBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..mesh import TVTKBaseInterface diff --git a/nipype/algorithms/tests/test_auto_WarpPoints.py b/nipype/algorithms/tests/test_auto_WarpPoints.py index b6965065a2..21dc4fae69 100644 --- a/nipype/algorithms/tests/test_auto_WarpPoints.py +++ b/nipype/algorithms/tests/test_auto_WarpPoints.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..mesh import WarpPoints diff --git a/nipype/interfaces/afni/tests/test_auto_ABoverlap.py b/nipype/interfaces/afni/tests/test_auto_ABoverlap.py index 55cb12c27f..df36cee5fa 100644 --- a/nipype/interfaces/afni/tests/test_auto_ABoverlap.py +++ b/nipype/interfaces/afni/tests/test_auto_ABoverlap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ABoverlap diff --git a/nipype/interfaces/afni/tests/test_auto_AFNICommand.py b/nipype/interfaces/afni/tests/test_auto_AFNICommand.py index 724c98dcb2..b178be3f70 100644 --- a/nipype/interfaces/afni/tests/test_auto_AFNICommand.py +++ b/nipype/interfaces/afni/tests/test_auto_AFNICommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import AFNICommand diff --git a/nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py b/nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py index 431baec30b..ce0a85708c 100644 --- a/nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py +++ b/nipype/interfaces/afni/tests/test_auto_AFNICommandBase.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import AFNICommandBase diff --git a/nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py b/nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py index ba2411edfb..27be6a2006 100644 --- a/nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py +++ b/nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import AFNIPythonCommand diff --git a/nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py b/nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py index d89519d571..b97334c9e2 100644 --- a/nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py +++ b/nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AFNItoNIFTI diff --git a/nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py b/nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py index dfbfc648f7..00643dd8cf 100644 --- a/nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py +++ b/nipype/interfaces/afni/tests/test_auto_AlignEpiAnatPy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import AlignEpiAnatPy diff --git a/nipype/interfaces/afni/tests/test_auto_Allineate.py b/nipype/interfaces/afni/tests/test_auto_Allineate.py index be02af14da..1e0caddc49 100644 --- a/nipype/interfaces/afni/tests/test_auto_Allineate.py +++ b/nipype/interfaces/afni/tests/test_auto_Allineate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Allineate diff --git a/nipype/interfaces/afni/tests/test_auto_AutoTLRC.py b/nipype/interfaces/afni/tests/test_auto_AutoTLRC.py index bb00b3b585..5d0920eaf7 100644 --- a/nipype/interfaces/afni/tests/test_auto_AutoTLRC.py +++ b/nipype/interfaces/afni/tests/test_auto_AutoTLRC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import AutoTLRC diff --git a/nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py b/nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py index 424b7d25b1..62ce618e16 100644 --- a/nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py +++ b/nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import AutoTcorrelate diff --git a/nipype/interfaces/afni/tests/test_auto_Autobox.py b/nipype/interfaces/afni/tests/test_auto_Autobox.py index f158263c54..593461d2d0 100644 --- a/nipype/interfaces/afni/tests/test_auto_Autobox.py +++ b/nipype/interfaces/afni/tests/test_auto_Autobox.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Autobox diff --git a/nipype/interfaces/afni/tests/test_auto_Automask.py b/nipype/interfaces/afni/tests/test_auto_Automask.py index efffd19cba..c0145dba15 100644 --- a/nipype/interfaces/afni/tests/test_auto_Automask.py +++ b/nipype/interfaces/afni/tests/test_auto_Automask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Automask diff --git a/nipype/interfaces/afni/tests/test_auto_Axialize.py b/nipype/interfaces/afni/tests/test_auto_Axialize.py index 62b425c932..a998ec3e93 100644 --- a/nipype/interfaces/afni/tests/test_auto_Axialize.py +++ b/nipype/interfaces/afni/tests/test_auto_Axialize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Axialize diff --git a/nipype/interfaces/afni/tests/test_auto_Bandpass.py b/nipype/interfaces/afni/tests/test_auto_Bandpass.py index fb0861a747..41bdbd8ca1 100644 --- a/nipype/interfaces/afni/tests/test_auto_Bandpass.py +++ b/nipype/interfaces/afni/tests/test_auto_Bandpass.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Bandpass diff --git a/nipype/interfaces/afni/tests/test_auto_BlurInMask.py b/nipype/interfaces/afni/tests/test_auto_BlurInMask.py index 334116d945..dce4ae290e 100644 --- a/nipype/interfaces/afni/tests/test_auto_BlurInMask.py +++ b/nipype/interfaces/afni/tests/test_auto_BlurInMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import BlurInMask diff --git a/nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py b/nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py index 2f88a1edcb..4b219d38a5 100644 --- a/nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py +++ b/nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import BlurToFWHM diff --git a/nipype/interfaces/afni/tests/test_auto_BrickStat.py b/nipype/interfaces/afni/tests/test_auto_BrickStat.py index 0056df5980..c584719309 100644 --- a/nipype/interfaces/afni/tests/test_auto_BrickStat.py +++ b/nipype/interfaces/afni/tests/test_auto_BrickStat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import BrickStat diff --git a/nipype/interfaces/afni/tests/test_auto_Bucket.py b/nipype/interfaces/afni/tests/test_auto_Bucket.py index c3faf87a09..ae6fd3317c 100644 --- a/nipype/interfaces/afni/tests/test_auto_Bucket.py +++ b/nipype/interfaces/afni/tests/test_auto_Bucket.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Bucket diff --git a/nipype/interfaces/afni/tests/test_auto_Calc.py b/nipype/interfaces/afni/tests/test_auto_Calc.py index 28863d5a4b..d719c4d315 100644 --- a/nipype/interfaces/afni/tests/test_auto_Calc.py +++ b/nipype/interfaces/afni/tests/test_auto_Calc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Calc diff --git a/nipype/interfaces/afni/tests/test_auto_Cat.py b/nipype/interfaces/afni/tests/test_auto_Cat.py index 3da86c66d6..80cc6cf86f 100644 --- a/nipype/interfaces/afni/tests/test_auto_Cat.py +++ b/nipype/interfaces/afni/tests/test_auto_Cat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Cat diff --git a/nipype/interfaces/afni/tests/test_auto_CatMatvec.py b/nipype/interfaces/afni/tests/test_auto_CatMatvec.py index b67ab485d4..0b3f294bec 100644 --- a/nipype/interfaces/afni/tests/test_auto_CatMatvec.py +++ b/nipype/interfaces/afni/tests/test_auto_CatMatvec.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CatMatvec diff --git a/nipype/interfaces/afni/tests/test_auto_CenterMass.py b/nipype/interfaces/afni/tests/test_auto_CenterMass.py index 322218a50d..f7dec27c41 100644 --- a/nipype/interfaces/afni/tests/test_auto_CenterMass.py +++ b/nipype/interfaces/afni/tests/test_auto_CenterMass.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CenterMass diff --git a/nipype/interfaces/afni/tests/test_auto_ClipLevel.py b/nipype/interfaces/afni/tests/test_auto_ClipLevel.py index 8b8c61208d..cd1d963248 100644 --- a/nipype/interfaces/afni/tests/test_auto_ClipLevel.py +++ b/nipype/interfaces/afni/tests/test_auto_ClipLevel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ClipLevel diff --git a/nipype/interfaces/afni/tests/test_auto_ConvertDset.py b/nipype/interfaces/afni/tests/test_auto_ConvertDset.py index 06ba3a54f2..5b52606b51 100644 --- a/nipype/interfaces/afni/tests/test_auto_ConvertDset.py +++ b/nipype/interfaces/afni/tests/test_auto_ConvertDset.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ConvertDset diff --git a/nipype/interfaces/afni/tests/test_auto_Copy.py b/nipype/interfaces/afni/tests/test_auto_Copy.py index a8e67d5607..c347e111c6 100644 --- a/nipype/interfaces/afni/tests/test_auto_Copy.py +++ b/nipype/interfaces/afni/tests/test_auto_Copy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Copy diff --git a/nipype/interfaces/afni/tests/test_auto_Deconvolve.py b/nipype/interfaces/afni/tests/test_auto_Deconvolve.py index ae42a77019..256f68fc8f 100644 --- a/nipype/interfaces/afni/tests/test_auto_Deconvolve.py +++ b/nipype/interfaces/afni/tests/test_auto_Deconvolve.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Deconvolve diff --git a/nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py b/nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py index 664cca5985..f939dcdadf 100644 --- a/nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py +++ b/nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DegreeCentrality diff --git a/nipype/interfaces/afni/tests/test_auto_Despike.py b/nipype/interfaces/afni/tests/test_auto_Despike.py index ff0b8b532a..5cb7f9d17a 100644 --- a/nipype/interfaces/afni/tests/test_auto_Despike.py +++ b/nipype/interfaces/afni/tests/test_auto_Despike.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Despike diff --git a/nipype/interfaces/afni/tests/test_auto_Detrend.py b/nipype/interfaces/afni/tests/test_auto_Detrend.py index 1938529cf7..1b70ad27c6 100644 --- a/nipype/interfaces/afni/tests/test_auto_Detrend.py +++ b/nipype/interfaces/afni/tests/test_auto_Detrend.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Detrend diff --git a/nipype/interfaces/afni/tests/test_auto_Dot.py b/nipype/interfaces/afni/tests/test_auto_Dot.py index 7623e90ca7..1a1054aaa0 100644 --- a/nipype/interfaces/afni/tests/test_auto_Dot.py +++ b/nipype/interfaces/afni/tests/test_auto_Dot.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Dot diff --git a/nipype/interfaces/afni/tests/test_auto_ECM.py b/nipype/interfaces/afni/tests/test_auto_ECM.py index 8a4793fb7f..9a7e4a0e84 100644 --- a/nipype/interfaces/afni/tests/test_auto_ECM.py +++ b/nipype/interfaces/afni/tests/test_auto_ECM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ECM diff --git a/nipype/interfaces/afni/tests/test_auto_Edge3.py b/nipype/interfaces/afni/tests/test_auto_Edge3.py index 8fc6953c28..6d0820f856 100644 --- a/nipype/interfaces/afni/tests/test_auto_Edge3.py +++ b/nipype/interfaces/afni/tests/test_auto_Edge3.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Edge3 diff --git a/nipype/interfaces/afni/tests/test_auto_Eval.py b/nipype/interfaces/afni/tests/test_auto_Eval.py index 35c1360a6e..751f446bd8 100644 --- a/nipype/interfaces/afni/tests/test_auto_Eval.py +++ b/nipype/interfaces/afni/tests/test_auto_Eval.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Eval diff --git a/nipype/interfaces/afni/tests/test_auto_FWHMx.py b/nipype/interfaces/afni/tests/test_auto_FWHMx.py index 14ab26fa4f..8e8049ea5d 100644 --- a/nipype/interfaces/afni/tests/test_auto_FWHMx.py +++ b/nipype/interfaces/afni/tests/test_auto_FWHMx.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import FWHMx diff --git a/nipype/interfaces/afni/tests/test_auto_Fim.py b/nipype/interfaces/afni/tests/test_auto_Fim.py index 931e5ff244..b1207e841b 100644 --- a/nipype/interfaces/afni/tests/test_auto_Fim.py +++ b/nipype/interfaces/afni/tests/test_auto_Fim.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Fim diff --git a/nipype/interfaces/afni/tests/test_auto_Fourier.py b/nipype/interfaces/afni/tests/test_auto_Fourier.py index 69cd955cbc..bed8de92dd 100644 --- a/nipype/interfaces/afni/tests/test_auto_Fourier.py +++ b/nipype/interfaces/afni/tests/test_auto_Fourier.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Fourier diff --git a/nipype/interfaces/afni/tests/test_auto_GCOR.py b/nipype/interfaces/afni/tests/test_auto_GCOR.py index 9d603dda36..4d0c67132f 100644 --- a/nipype/interfaces/afni/tests/test_auto_GCOR.py +++ b/nipype/interfaces/afni/tests/test_auto_GCOR.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import GCOR diff --git a/nipype/interfaces/afni/tests/test_auto_Hist.py b/nipype/interfaces/afni/tests/test_auto_Hist.py index 48499a9605..d86b999174 100644 --- a/nipype/interfaces/afni/tests/test_auto_Hist.py +++ b/nipype/interfaces/afni/tests/test_auto_Hist.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Hist diff --git a/nipype/interfaces/afni/tests/test_auto_LFCD.py b/nipype/interfaces/afni/tests/test_auto_LFCD.py index 9cbde10b56..c7606278db 100644 --- a/nipype/interfaces/afni/tests/test_auto_LFCD.py +++ b/nipype/interfaces/afni/tests/test_auto_LFCD.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import LFCD diff --git a/nipype/interfaces/afni/tests/test_auto_LocalBistat.py b/nipype/interfaces/afni/tests/test_auto_LocalBistat.py index 22f0b717d8..40982c80c8 100644 --- a/nipype/interfaces/afni/tests/test_auto_LocalBistat.py +++ b/nipype/interfaces/afni/tests/test_auto_LocalBistat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import LocalBistat diff --git a/nipype/interfaces/afni/tests/test_auto_MaskTool.py b/nipype/interfaces/afni/tests/test_auto_MaskTool.py index 1644bee878..f53f733ec9 100644 --- a/nipype/interfaces/afni/tests/test_auto_MaskTool.py +++ b/nipype/interfaces/afni/tests/test_auto_MaskTool.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MaskTool diff --git a/nipype/interfaces/afni/tests/test_auto_Maskave.py b/nipype/interfaces/afni/tests/test_auto_Maskave.py index a318e685a9..7833854376 100644 --- a/nipype/interfaces/afni/tests/test_auto_Maskave.py +++ b/nipype/interfaces/afni/tests/test_auto_Maskave.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Maskave diff --git a/nipype/interfaces/afni/tests/test_auto_Means.py b/nipype/interfaces/afni/tests/test_auto_Means.py index 2e422e68db..db21d18737 100644 --- a/nipype/interfaces/afni/tests/test_auto_Means.py +++ b/nipype/interfaces/afni/tests/test_auto_Means.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Means diff --git a/nipype/interfaces/afni/tests/test_auto_Merge.py b/nipype/interfaces/afni/tests/test_auto_Merge.py index c36ee6f7a1..1305dcb952 100644 --- a/nipype/interfaces/afni/tests/test_auto_Merge.py +++ b/nipype/interfaces/afni/tests/test_auto_Merge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Merge diff --git a/nipype/interfaces/afni/tests/test_auto_Notes.py b/nipype/interfaces/afni/tests/test_auto_Notes.py index 965bacb000..2d489e02b5 100644 --- a/nipype/interfaces/afni/tests/test_auto_Notes.py +++ b/nipype/interfaces/afni/tests/test_auto_Notes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Notes diff --git a/nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py b/nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py index 48b59a2968..28d900bfe4 100644 --- a/nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py +++ b/nipype/interfaces/afni/tests/test_auto_NwarpAdjust.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import NwarpAdjust diff --git a/nipype/interfaces/afni/tests/test_auto_NwarpApply.py b/nipype/interfaces/afni/tests/test_auto_NwarpApply.py index 63f6baa044..dcf43fe06e 100644 --- a/nipype/interfaces/afni/tests/test_auto_NwarpApply.py +++ b/nipype/interfaces/afni/tests/test_auto_NwarpApply.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import NwarpApply diff --git a/nipype/interfaces/afni/tests/test_auto_NwarpCat.py b/nipype/interfaces/afni/tests/test_auto_NwarpCat.py index c6b3689c9e..aa6ff98c3c 100644 --- a/nipype/interfaces/afni/tests/test_auto_NwarpCat.py +++ b/nipype/interfaces/afni/tests/test_auto_NwarpCat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import NwarpCat diff --git a/nipype/interfaces/afni/tests/test_auto_OneDToolPy.py b/nipype/interfaces/afni/tests/test_auto_OneDToolPy.py index fe037851af..444cf9c496 100644 --- a/nipype/interfaces/afni/tests/test_auto_OneDToolPy.py +++ b/nipype/interfaces/afni/tests/test_auto_OneDToolPy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import OneDToolPy diff --git a/nipype/interfaces/afni/tests/test_auto_OutlierCount.py b/nipype/interfaces/afni/tests/test_auto_OutlierCount.py index a63fbb8bef..0a2b9871e2 100644 --- a/nipype/interfaces/afni/tests/test_auto_OutlierCount.py +++ b/nipype/interfaces/afni/tests/test_auto_OutlierCount.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import OutlierCount diff --git a/nipype/interfaces/afni/tests/test_auto_QualityIndex.py b/nipype/interfaces/afni/tests/test_auto_QualityIndex.py index 679a3e0393..60aad8f23f 100644 --- a/nipype/interfaces/afni/tests/test_auto_QualityIndex.py +++ b/nipype/interfaces/afni/tests/test_auto_QualityIndex.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import QualityIndex diff --git a/nipype/interfaces/afni/tests/test_auto_Qwarp.py b/nipype/interfaces/afni/tests/test_auto_Qwarp.py index f6df3d0ab5..be6dcb3255 100644 --- a/nipype/interfaces/afni/tests/test_auto_Qwarp.py +++ b/nipype/interfaces/afni/tests/test_auto_Qwarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Qwarp diff --git a/nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py b/nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py index 2b823cf8af..57527b5e55 100644 --- a/nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py +++ b/nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import QwarpPlusMinus diff --git a/nipype/interfaces/afni/tests/test_auto_ROIStats.py b/nipype/interfaces/afni/tests/test_auto_ROIStats.py index 57eb59d284..f52c37f06f 100644 --- a/nipype/interfaces/afni/tests/test_auto_ROIStats.py +++ b/nipype/interfaces/afni/tests/test_auto_ROIStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ROIStats diff --git a/nipype/interfaces/afni/tests/test_auto_Refit.py b/nipype/interfaces/afni/tests/test_auto_Refit.py index 4983eafc81..0134abfc6d 100644 --- a/nipype/interfaces/afni/tests/test_auto_Refit.py +++ b/nipype/interfaces/afni/tests/test_auto_Refit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Refit diff --git a/nipype/interfaces/afni/tests/test_auto_Remlfit.py b/nipype/interfaces/afni/tests/test_auto_Remlfit.py index 4cdc8b2ff2..54de8603a2 100644 --- a/nipype/interfaces/afni/tests/test_auto_Remlfit.py +++ b/nipype/interfaces/afni/tests/test_auto_Remlfit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Remlfit diff --git a/nipype/interfaces/afni/tests/test_auto_Resample.py b/nipype/interfaces/afni/tests/test_auto_Resample.py index 9ab2309307..575219ac69 100644 --- a/nipype/interfaces/afni/tests/test_auto_Resample.py +++ b/nipype/interfaces/afni/tests/test_auto_Resample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Resample diff --git a/nipype/interfaces/afni/tests/test_auto_Retroicor.py b/nipype/interfaces/afni/tests/test_auto_Retroicor.py index 4c2a1c2393..5f9b3c64e3 100644 --- a/nipype/interfaces/afni/tests/test_auto_Retroicor.py +++ b/nipype/interfaces/afni/tests/test_auto_Retroicor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Retroicor diff --git a/nipype/interfaces/afni/tests/test_auto_SVMTest.py b/nipype/interfaces/afni/tests/test_auto_SVMTest.py index 4b31d3a11c..1c7a63df11 100644 --- a/nipype/interfaces/afni/tests/test_auto_SVMTest.py +++ b/nipype/interfaces/afni/tests/test_auto_SVMTest.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..svm import SVMTest diff --git a/nipype/interfaces/afni/tests/test_auto_SVMTrain.py b/nipype/interfaces/afni/tests/test_auto_SVMTrain.py index ddb3f8c05f..52f49d4234 100644 --- a/nipype/interfaces/afni/tests/test_auto_SVMTrain.py +++ b/nipype/interfaces/afni/tests/test_auto_SVMTrain.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..svm import SVMTrain diff --git a/nipype/interfaces/afni/tests/test_auto_Seg.py b/nipype/interfaces/afni/tests/test_auto_Seg.py index e93d81a7aa..2759706abd 100644 --- a/nipype/interfaces/afni/tests/test_auto_Seg.py +++ b/nipype/interfaces/afni/tests/test_auto_Seg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Seg diff --git a/nipype/interfaces/afni/tests/test_auto_SkullStrip.py b/nipype/interfaces/afni/tests/test_auto_SkullStrip.py index e960369787..6d60c87473 100644 --- a/nipype/interfaces/afni/tests/test_auto_SkullStrip.py +++ b/nipype/interfaces/afni/tests/test_auto_SkullStrip.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SkullStrip diff --git a/nipype/interfaces/afni/tests/test_auto_Synthesize.py b/nipype/interfaces/afni/tests/test_auto_Synthesize.py index 87278098fb..da0461c5de 100644 --- a/nipype/interfaces/afni/tests/test_auto_Synthesize.py +++ b/nipype/interfaces/afni/tests/test_auto_Synthesize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Synthesize diff --git a/nipype/interfaces/afni/tests/test_auto_TCat.py b/nipype/interfaces/afni/tests/test_auto_TCat.py index 5c51b02637..55fd3bdb42 100644 --- a/nipype/interfaces/afni/tests/test_auto_TCat.py +++ b/nipype/interfaces/afni/tests/test_auto_TCat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TCat diff --git a/nipype/interfaces/afni/tests/test_auto_TCatSubBrick.py b/nipype/interfaces/afni/tests/test_auto_TCatSubBrick.py index 09b21ea408..9ea0b12f1b 100644 --- a/nipype/interfaces/afni/tests/test_auto_TCatSubBrick.py +++ b/nipype/interfaces/afni/tests/test_auto_TCatSubBrick.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TCatSubBrick diff --git a/nipype/interfaces/afni/tests/test_auto_TCorr1D.py b/nipype/interfaces/afni/tests/test_auto_TCorr1D.py index e1b23a3387..261fa14eda 100644 --- a/nipype/interfaces/afni/tests/test_auto_TCorr1D.py +++ b/nipype/interfaces/afni/tests/test_auto_TCorr1D.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TCorr1D diff --git a/nipype/interfaces/afni/tests/test_auto_TCorrMap.py b/nipype/interfaces/afni/tests/test_auto_TCorrMap.py index 32778fcf11..9780950bd8 100644 --- a/nipype/interfaces/afni/tests/test_auto_TCorrMap.py +++ b/nipype/interfaces/afni/tests/test_auto_TCorrMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TCorrMap diff --git a/nipype/interfaces/afni/tests/test_auto_TCorrelate.py b/nipype/interfaces/afni/tests/test_auto_TCorrelate.py index 8d773f429e..99c381ea55 100644 --- a/nipype/interfaces/afni/tests/test_auto_TCorrelate.py +++ b/nipype/interfaces/afni/tests/test_auto_TCorrelate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TCorrelate diff --git a/nipype/interfaces/afni/tests/test_auto_TNorm.py b/nipype/interfaces/afni/tests/test_auto_TNorm.py index 3fb246684b..482dba8f43 100644 --- a/nipype/interfaces/afni/tests/test_auto_TNorm.py +++ b/nipype/interfaces/afni/tests/test_auto_TNorm.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TNorm diff --git a/nipype/interfaces/afni/tests/test_auto_TProject.py b/nipype/interfaces/afni/tests/test_auto_TProject.py index ba4efd6189..00fdef29e9 100644 --- a/nipype/interfaces/afni/tests/test_auto_TProject.py +++ b/nipype/interfaces/afni/tests/test_auto_TProject.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TProject diff --git a/nipype/interfaces/afni/tests/test_auto_TShift.py b/nipype/interfaces/afni/tests/test_auto_TShift.py index a1208753d9..627352ed5b 100644 --- a/nipype/interfaces/afni/tests/test_auto_TShift.py +++ b/nipype/interfaces/afni/tests/test_auto_TShift.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import TShift diff --git a/nipype/interfaces/afni/tests/test_auto_TStat.py b/nipype/interfaces/afni/tests/test_auto_TStat.py index 5a3ebd8a21..1f3a7358ac 100644 --- a/nipype/interfaces/afni/tests/test_auto_TStat.py +++ b/nipype/interfaces/afni/tests/test_auto_TStat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TStat diff --git a/nipype/interfaces/afni/tests/test_auto_To3D.py b/nipype/interfaces/afni/tests/test_auto_To3D.py index 66ccabefcb..a6ced4b418 100644 --- a/nipype/interfaces/afni/tests/test_auto_To3D.py +++ b/nipype/interfaces/afni/tests/test_auto_To3D.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import To3D diff --git a/nipype/interfaces/afni/tests/test_auto_Undump.py b/nipype/interfaces/afni/tests/test_auto_Undump.py index 07d0ff8e81..86597b2d48 100644 --- a/nipype/interfaces/afni/tests/test_auto_Undump.py +++ b/nipype/interfaces/afni/tests/test_auto_Undump.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Undump diff --git a/nipype/interfaces/afni/tests/test_auto_Unifize.py b/nipype/interfaces/afni/tests/test_auto_Unifize.py index 3215d51e64..72031e7244 100644 --- a/nipype/interfaces/afni/tests/test_auto_Unifize.py +++ b/nipype/interfaces/afni/tests/test_auto_Unifize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Unifize diff --git a/nipype/interfaces/afni/tests/test_auto_Volreg.py b/nipype/interfaces/afni/tests/test_auto_Volreg.py index 293b7613e8..d3ac19f997 100644 --- a/nipype/interfaces/afni/tests/test_auto_Volreg.py +++ b/nipype/interfaces/afni/tests/test_auto_Volreg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Volreg diff --git a/nipype/interfaces/afni/tests/test_auto_Warp.py b/nipype/interfaces/afni/tests/test_auto_Warp.py index b85692310a..541f5f2c46 100644 --- a/nipype/interfaces/afni/tests/test_auto_Warp.py +++ b/nipype/interfaces/afni/tests/test_auto_Warp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Warp diff --git a/nipype/interfaces/afni/tests/test_auto_ZCutUp.py b/nipype/interfaces/afni/tests/test_auto_ZCutUp.py index cacb6b1534..9c88d931c8 100644 --- a/nipype/interfaces/afni/tests/test_auto_ZCutUp.py +++ b/nipype/interfaces/afni/tests/test_auto_ZCutUp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ZCutUp diff --git a/nipype/interfaces/afni/tests/test_auto_Zcat.py b/nipype/interfaces/afni/tests/test_auto_Zcat.py index 3a2b7ff853..c45919fbea 100644 --- a/nipype/interfaces/afni/tests/test_auto_Zcat.py +++ b/nipype/interfaces/afni/tests/test_auto_Zcat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Zcat diff --git a/nipype/interfaces/afni/tests/test_auto_Zeropad.py b/nipype/interfaces/afni/tests/test_auto_Zeropad.py index cfba8e2f3c..eda00b114a 100644 --- a/nipype/interfaces/afni/tests/test_auto_Zeropad.py +++ b/nipype/interfaces/afni/tests/test_auto_Zeropad.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Zeropad diff --git a/nipype/interfaces/ants/tests/test_auto_ANTS.py b/nipype/interfaces/ants/tests/test_auto_ANTS.py index 7c7ef6682c..1d8e84f756 100644 --- a/nipype/interfaces/ants/tests/test_auto_ANTS.py +++ b/nipype/interfaces/ants/tests/test_auto_ANTS.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import ANTS diff --git a/nipype/interfaces/ants/tests/test_auto_ANTSCommand.py b/nipype/interfaces/ants/tests/test_auto_ANTSCommand.py index 7423579ef7..54d1effe3a 100644 --- a/nipype/interfaces/ants/tests/test_auto_ANTSCommand.py +++ b/nipype/interfaces/ants/tests/test_auto_ANTSCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import ANTSCommand diff --git a/nipype/interfaces/ants/tests/test_auto_AffineInitializer.py b/nipype/interfaces/ants/tests/test_auto_AffineInitializer.py index fed21cdbef..4d42172975 100644 --- a/nipype/interfaces/ants/tests/test_auto_AffineInitializer.py +++ b/nipype/interfaces/ants/tests/test_auto_AffineInitializer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AffineInitializer diff --git a/nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py b/nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py index 292e6b398b..d5cd221c4a 100644 --- a/nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py +++ b/nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import AntsJointFusion diff --git a/nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py b/nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py index c2bbffa14f..dbf548cb03 100644 --- a/nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py +++ b/nipype/interfaces/ants/tests/test_auto_ApplyTransforms.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..resampling import ApplyTransforms diff --git a/nipype/interfaces/ants/tests/test_auto_ApplyTransformsToPoints.py b/nipype/interfaces/ants/tests/test_auto_ApplyTransformsToPoints.py index 92c6c21ec1..086cdbaf60 100644 --- a/nipype/interfaces/ants/tests/test_auto_ApplyTransformsToPoints.py +++ b/nipype/interfaces/ants/tests/test_auto_ApplyTransformsToPoints.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..resampling import ApplyTransformsToPoints diff --git a/nipype/interfaces/ants/tests/test_auto_Atropos.py b/nipype/interfaces/ants/tests/test_auto_Atropos.py index 90bc13778a..ad71b01d33 100644 --- a/nipype/interfaces/ants/tests/test_auto_Atropos.py +++ b/nipype/interfaces/ants/tests/test_auto_Atropos.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import Atropos diff --git a/nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py b/nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py index 3fe3abe5cf..adaad2d179 100644 --- a/nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py +++ b/nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AverageAffineTransform diff --git a/nipype/interfaces/ants/tests/test_auto_AverageImages.py b/nipype/interfaces/ants/tests/test_auto_AverageImages.py index 41e0c99007..93bad09b5c 100644 --- a/nipype/interfaces/ants/tests/test_auto_AverageImages.py +++ b/nipype/interfaces/ants/tests/test_auto_AverageImages.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AverageImages diff --git a/nipype/interfaces/ants/tests/test_auto_BrainExtraction.py b/nipype/interfaces/ants/tests/test_auto_BrainExtraction.py index 2d48192199..be8735414f 100644 --- a/nipype/interfaces/ants/tests/test_auto_BrainExtraction.py +++ b/nipype/interfaces/ants/tests/test_auto_BrainExtraction.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import BrainExtraction diff --git a/nipype/interfaces/ants/tests/test_auto_ComposeMultiTransform.py b/nipype/interfaces/ants/tests/test_auto_ComposeMultiTransform.py index 83fb2ed2aa..45b0a0d35e 100644 --- a/nipype/interfaces/ants/tests/test_auto_ComposeMultiTransform.py +++ b/nipype/interfaces/ants/tests/test_auto_ComposeMultiTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ComposeMultiTransform diff --git a/nipype/interfaces/ants/tests/test_auto_ConvertScalarImageToRGB.py b/nipype/interfaces/ants/tests/test_auto_ConvertScalarImageToRGB.py index ea9a16cbe2..a9b47e6b58 100644 --- a/nipype/interfaces/ants/tests/test_auto_ConvertScalarImageToRGB.py +++ b/nipype/interfaces/ants/tests/test_auto_ConvertScalarImageToRGB.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..visualization import ConvertScalarImageToRGB diff --git a/nipype/interfaces/ants/tests/test_auto_CorticalThickness.py b/nipype/interfaces/ants/tests/test_auto_CorticalThickness.py index dd39568bc0..76be0e9f9e 100644 --- a/nipype/interfaces/ants/tests/test_auto_CorticalThickness.py +++ b/nipype/interfaces/ants/tests/test_auto_CorticalThickness.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import CorticalThickness diff --git a/nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py b/nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py index b32e7b98e0..2833faf328 100644 --- a/nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py +++ b/nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CreateJacobianDeterminantImage diff --git a/nipype/interfaces/ants/tests/test_auto_CreateTiledMosaic.py b/nipype/interfaces/ants/tests/test_auto_CreateTiledMosaic.py index 74c2b0a7c2..ad3fe2aff2 100644 --- a/nipype/interfaces/ants/tests/test_auto_CreateTiledMosaic.py +++ b/nipype/interfaces/ants/tests/test_auto_CreateTiledMosaic.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..visualization import CreateTiledMosaic diff --git a/nipype/interfaces/ants/tests/test_auto_DenoiseImage.py b/nipype/interfaces/ants/tests/test_auto_DenoiseImage.py index 882cb21854..bfca341cd5 100644 --- a/nipype/interfaces/ants/tests/test_auto_DenoiseImage.py +++ b/nipype/interfaces/ants/tests/test_auto_DenoiseImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import DenoiseImage diff --git a/nipype/interfaces/ants/tests/test_auto_JointFusion.py b/nipype/interfaces/ants/tests/test_auto_JointFusion.py index 9e82584729..bfc5907034 100644 --- a/nipype/interfaces/ants/tests/test_auto_JointFusion.py +++ b/nipype/interfaces/ants/tests/test_auto_JointFusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import JointFusion diff --git a/nipype/interfaces/ants/tests/test_auto_KellyKapowski.py b/nipype/interfaces/ants/tests/test_auto_KellyKapowski.py index 6129670d39..813673d363 100644 --- a/nipype/interfaces/ants/tests/test_auto_KellyKapowski.py +++ b/nipype/interfaces/ants/tests/test_auto_KellyKapowski.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import KellyKapowski diff --git a/nipype/interfaces/ants/tests/test_auto_LabelGeometry.py b/nipype/interfaces/ants/tests/test_auto_LabelGeometry.py index a5de244711..035a8a796e 100644 --- a/nipype/interfaces/ants/tests/test_auto_LabelGeometry.py +++ b/nipype/interfaces/ants/tests/test_auto_LabelGeometry.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import LabelGeometry diff --git a/nipype/interfaces/ants/tests/test_auto_LaplacianThickness.py b/nipype/interfaces/ants/tests/test_auto_LaplacianThickness.py index 8f9a13d832..cdf0ceac88 100644 --- a/nipype/interfaces/ants/tests/test_auto_LaplacianThickness.py +++ b/nipype/interfaces/ants/tests/test_auto_LaplacianThickness.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import LaplacianThickness diff --git a/nipype/interfaces/ants/tests/test_auto_MeasureImageSimilarity.py b/nipype/interfaces/ants/tests/test_auto_MeasureImageSimilarity.py index 1a5041ae74..f6fb6bd389 100644 --- a/nipype/interfaces/ants/tests/test_auto_MeasureImageSimilarity.py +++ b/nipype/interfaces/ants/tests/test_auto_MeasureImageSimilarity.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import MeasureImageSimilarity diff --git a/nipype/interfaces/ants/tests/test_auto_MultiplyImages.py b/nipype/interfaces/ants/tests/test_auto_MultiplyImages.py index 1bf787018d..d6d39ca81d 100644 --- a/nipype/interfaces/ants/tests/test_auto_MultiplyImages.py +++ b/nipype/interfaces/ants/tests/test_auto_MultiplyImages.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MultiplyImages diff --git a/nipype/interfaces/ants/tests/test_auto_N4BiasFieldCorrection.py b/nipype/interfaces/ants/tests/test_auto_N4BiasFieldCorrection.py index 66edf0c3d6..24cd8774c0 100644 --- a/nipype/interfaces/ants/tests/test_auto_N4BiasFieldCorrection.py +++ b/nipype/interfaces/ants/tests/test_auto_N4BiasFieldCorrection.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import N4BiasFieldCorrection diff --git a/nipype/interfaces/ants/tests/test_auto_Registration.py b/nipype/interfaces/ants/tests/test_auto_Registration.py index 4bd253c3d0..ed379dcbb8 100644 --- a/nipype/interfaces/ants/tests/test_auto_Registration.py +++ b/nipype/interfaces/ants/tests/test_auto_Registration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Registration diff --git a/nipype/interfaces/ants/tests/test_auto_RegistrationSynQuick.py b/nipype/interfaces/ants/tests/test_auto_RegistrationSynQuick.py index 8bc79392e1..ca5ab4cbe4 100644 --- a/nipype/interfaces/ants/tests/test_auto_RegistrationSynQuick.py +++ b/nipype/interfaces/ants/tests/test_auto_RegistrationSynQuick.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import RegistrationSynQuick diff --git a/nipype/interfaces/ants/tests/test_auto_WarpImageMultiTransform.py b/nipype/interfaces/ants/tests/test_auto_WarpImageMultiTransform.py index 42020f6db9..8d7ecdd3f8 100644 --- a/nipype/interfaces/ants/tests/test_auto_WarpImageMultiTransform.py +++ b/nipype/interfaces/ants/tests/test_auto_WarpImageMultiTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..resampling import WarpImageMultiTransform diff --git a/nipype/interfaces/ants/tests/test_auto_WarpTimeSeriesImageMultiTransform.py b/nipype/interfaces/ants/tests/test_auto_WarpTimeSeriesImageMultiTransform.py index de3131f056..da719861d8 100644 --- a/nipype/interfaces/ants/tests/test_auto_WarpTimeSeriesImageMultiTransform.py +++ b/nipype/interfaces/ants/tests/test_auto_WarpTimeSeriesImageMultiTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..resampling import WarpTimeSeriesImageMultiTransform diff --git a/nipype/interfaces/base/tests/test_auto_BaseInterface.py b/nipype/interfaces/base/tests/test_auto_BaseInterface.py index eb0272d495..4ee8ea9359 100644 --- a/nipype/interfaces/base/tests/test_auto_BaseInterface.py +++ b/nipype/interfaces/base/tests/test_auto_BaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import BaseInterface diff --git a/nipype/interfaces/base/tests/test_auto_CommandLine.py b/nipype/interfaces/base/tests/test_auto_CommandLine.py index fb16422864..22d7406921 100644 --- a/nipype/interfaces/base/tests/test_auto_CommandLine.py +++ b/nipype/interfaces/base/tests/test_auto_CommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import CommandLine diff --git a/nipype/interfaces/base/tests/test_auto_LibraryBaseInterface.py b/nipype/interfaces/base/tests/test_auto_LibraryBaseInterface.py index 19beef071f..9893a781a9 100644 --- a/nipype/interfaces/base/tests/test_auto_LibraryBaseInterface.py +++ b/nipype/interfaces/base/tests/test_auto_LibraryBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import LibraryBaseInterface diff --git a/nipype/interfaces/base/tests/test_auto_MpiCommandLine.py b/nipype/interfaces/base/tests/test_auto_MpiCommandLine.py index 2d66f2f623..4084a19945 100644 --- a/nipype/interfaces/base/tests/test_auto_MpiCommandLine.py +++ b/nipype/interfaces/base/tests/test_auto_MpiCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import MpiCommandLine diff --git a/nipype/interfaces/base/tests/test_auto_SEMLikeCommandLine.py b/nipype/interfaces/base/tests/test_auto_SEMLikeCommandLine.py index aceabfe2a2..18e788f3a4 100644 --- a/nipype/interfaces/base/tests/test_auto_SEMLikeCommandLine.py +++ b/nipype/interfaces/base/tests/test_auto_SEMLikeCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import SEMLikeCommandLine diff --git a/nipype/interfaces/base/tests/test_auto_SimpleInterface.py b/nipype/interfaces/base/tests/test_auto_SimpleInterface.py index 2a4454dd9f..ac62059628 100644 --- a/nipype/interfaces/base/tests/test_auto_SimpleInterface.py +++ b/nipype/interfaces/base/tests/test_auto_SimpleInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import SimpleInterface diff --git a/nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py b/nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py index e39dc3acaa..5e4367addb 100644 --- a/nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py +++ b/nipype/interfaces/base/tests/test_auto_StdOutCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..core import StdOutCommandLine diff --git a/nipype/interfaces/brainsuite/tests/test_auto_BDP.py b/nipype/interfaces/brainsuite/tests/test_auto_BDP.py index ff705edfeb..e68d97201d 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_BDP.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_BDP.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import BDP diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Bfc.py b/nipype/interfaces/brainsuite/tests/test_auto_Bfc.py index 01200e50fc..c039b45b70 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Bfc.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Bfc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Bfc diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Bse.py b/nipype/interfaces/brainsuite/tests/test_auto_Bse.py index bbd154bc24..cfda027046 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Bse.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Bse.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Bse diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Cerebro.py b/nipype/interfaces/brainsuite/tests/test_auto_Cerebro.py index 808e4347c3..0413d3beb2 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Cerebro.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Cerebro.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Cerebro diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Cortex.py b/nipype/interfaces/brainsuite/tests/test_auto_Cortex.py index 536cb158f2..375d178685 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Cortex.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Cortex.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Cortex diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Dewisp.py b/nipype/interfaces/brainsuite/tests/test_auto_Dewisp.py index ba430fb1fd..b55a5792f7 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Dewisp.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Dewisp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Dewisp diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Dfs.py b/nipype/interfaces/brainsuite/tests/test_auto_Dfs.py index c69232fd01..95eb385ca2 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Dfs.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Dfs.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Dfs diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Hemisplit.py b/nipype/interfaces/brainsuite/tests/test_auto_Hemisplit.py index 9e3db80dd9..6c1c768739 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Hemisplit.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Hemisplit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Hemisplit diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Pialmesh.py b/nipype/interfaces/brainsuite/tests/test_auto_Pialmesh.py index afc621a56e..fae6dde517 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Pialmesh.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Pialmesh.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Pialmesh diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Pvc.py b/nipype/interfaces/brainsuite/tests/test_auto_Pvc.py index d425d4ddac..62a319fc51 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Pvc.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Pvc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Pvc diff --git a/nipype/interfaces/brainsuite/tests/test_auto_SVReg.py b/nipype/interfaces/brainsuite/tests/test_auto_SVReg.py index 7449e1488a..3d861a0677 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_SVReg.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_SVReg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import SVReg diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Scrubmask.py b/nipype/interfaces/brainsuite/tests/test_auto_Scrubmask.py index eb672d12b7..8aaba3d7d4 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Scrubmask.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Scrubmask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Scrubmask diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Skullfinder.py b/nipype/interfaces/brainsuite/tests/test_auto_Skullfinder.py index 2191f7b133..81d1860f99 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Skullfinder.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Skullfinder.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Skullfinder diff --git a/nipype/interfaces/brainsuite/tests/test_auto_Tca.py b/nipype/interfaces/brainsuite/tests/test_auto_Tca.py index ec2886b42f..b4ac0c4982 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_Tca.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_Tca.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import Tca diff --git a/nipype/interfaces/brainsuite/tests/test_auto_ThicknessPVC.py b/nipype/interfaces/brainsuite/tests/test_auto_ThicknessPVC.py index d614ce335a..cf2174690e 100644 --- a/nipype/interfaces/brainsuite/tests/test_auto_ThicknessPVC.py +++ b/nipype/interfaces/brainsuite/tests/test_auto_ThicknessPVC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsuite import ThicknessPVC diff --git a/nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py b/nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py index 5d796126cc..6ccda11987 100644 --- a/nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py +++ b/nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import AnalyzeHeader diff --git a/nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py b/nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py index caee9e68cf..df6e55f614 100644 --- a/nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py +++ b/nipype/interfaces/camino/tests/test_auto_ComputeEigensystem.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ComputeEigensystem diff --git a/nipype/interfaces/camino/tests/test_auto_ComputeFractionalAnisotropy.py b/nipype/interfaces/camino/tests/test_auto_ComputeFractionalAnisotropy.py index 49cfdfd96a..494eca16fb 100644 --- a/nipype/interfaces/camino/tests/test_auto_ComputeFractionalAnisotropy.py +++ b/nipype/interfaces/camino/tests/test_auto_ComputeFractionalAnisotropy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ComputeFractionalAnisotropy diff --git a/nipype/interfaces/camino/tests/test_auto_ComputeMeanDiffusivity.py b/nipype/interfaces/camino/tests/test_auto_ComputeMeanDiffusivity.py index 212477d149..58da9d9212 100644 --- a/nipype/interfaces/camino/tests/test_auto_ComputeMeanDiffusivity.py +++ b/nipype/interfaces/camino/tests/test_auto_ComputeMeanDiffusivity.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ComputeMeanDiffusivity diff --git a/nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py b/nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py index 1112c7c743..9402b6f047 100644 --- a/nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py +++ b/nipype/interfaces/camino/tests/test_auto_ComputeTensorTrace.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ComputeTensorTrace diff --git a/nipype/interfaces/camino/tests/test_auto_Conmat.py b/nipype/interfaces/camino/tests/test_auto_Conmat.py index 06a76fdf2b..3cad4700de 100644 --- a/nipype/interfaces/camino/tests/test_auto_Conmat.py +++ b/nipype/interfaces/camino/tests/test_auto_Conmat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..connectivity import Conmat diff --git a/nipype/interfaces/camino/tests/test_auto_DT2NIfTI.py b/nipype/interfaces/camino/tests/test_auto_DT2NIfTI.py index b20dcbf3bf..1e19db47c1 100644 --- a/nipype/interfaces/camino/tests/test_auto_DT2NIfTI.py +++ b/nipype/interfaces/camino/tests/test_auto_DT2NIfTI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import DT2NIfTI diff --git a/nipype/interfaces/camino/tests/test_auto_DTIFit.py b/nipype/interfaces/camino/tests/test_auto_DTIFit.py index a23da89552..addceabfcf 100644 --- a/nipype/interfaces/camino/tests/test_auto_DTIFit.py +++ b/nipype/interfaces/camino/tests/test_auto_DTIFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTIFit diff --git a/nipype/interfaces/camino/tests/test_auto_DTLUTGen.py b/nipype/interfaces/camino/tests/test_auto_DTLUTGen.py index 95e8e0bea5..4fa20efa22 100644 --- a/nipype/interfaces/camino/tests/test_auto_DTLUTGen.py +++ b/nipype/interfaces/camino/tests/test_auto_DTLUTGen.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTLUTGen diff --git a/nipype/interfaces/camino/tests/test_auto_DTMetric.py b/nipype/interfaces/camino/tests/test_auto_DTMetric.py index 12256a50d8..22fd8dab6a 100644 --- a/nipype/interfaces/camino/tests/test_auto_DTMetric.py +++ b/nipype/interfaces/camino/tests/test_auto_DTMetric.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTMetric diff --git a/nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py b/nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py index a2ebfbf0a6..0af0ffd55e 100644 --- a/nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py +++ b/nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import FSL2Scheme diff --git a/nipype/interfaces/camino/tests/test_auto_Image2Voxel.py b/nipype/interfaces/camino/tests/test_auto_Image2Voxel.py index adae10f0bb..7f69837444 100644 --- a/nipype/interfaces/camino/tests/test_auto_Image2Voxel.py +++ b/nipype/interfaces/camino/tests/test_auto_Image2Voxel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import Image2Voxel diff --git a/nipype/interfaces/camino/tests/test_auto_ImageStats.py b/nipype/interfaces/camino/tests/test_auto_ImageStats.py index 3813051025..8608bcf1fd 100644 --- a/nipype/interfaces/camino/tests/test_auto_ImageStats.py +++ b/nipype/interfaces/camino/tests/test_auto_ImageStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ImageStats diff --git a/nipype/interfaces/camino/tests/test_auto_LinRecon.py b/nipype/interfaces/camino/tests/test_auto_LinRecon.py index 8998f42602..960e50b57a 100644 --- a/nipype/interfaces/camino/tests/test_auto_LinRecon.py +++ b/nipype/interfaces/camino/tests/test_auto_LinRecon.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import LinRecon diff --git a/nipype/interfaces/camino/tests/test_auto_MESD.py b/nipype/interfaces/camino/tests/test_auto_MESD.py index 73089a3395..abdffa0819 100644 --- a/nipype/interfaces/camino/tests/test_auto_MESD.py +++ b/nipype/interfaces/camino/tests/test_auto_MESD.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import MESD diff --git a/nipype/interfaces/camino/tests/test_auto_ModelFit.py b/nipype/interfaces/camino/tests/test_auto_ModelFit.py index 04d22bbe59..e9fdf86251 100644 --- a/nipype/interfaces/camino/tests/test_auto_ModelFit.py +++ b/nipype/interfaces/camino/tests/test_auto_ModelFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ModelFit diff --git a/nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py b/nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py index 9a4867a73c..2864e3a374 100644 --- a/nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py +++ b/nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import NIfTIDT2Camino diff --git a/nipype/interfaces/camino/tests/test_auto_PicoPDFs.py b/nipype/interfaces/camino/tests/test_auto_PicoPDFs.py index f2b59666a2..17d8e10ebc 100644 --- a/nipype/interfaces/camino/tests/test_auto_PicoPDFs.py +++ b/nipype/interfaces/camino/tests/test_auto_PicoPDFs.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import PicoPDFs diff --git a/nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py b/nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py index 8838bb72cf..48a8c7c8ea 100644 --- a/nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py +++ b/nipype/interfaces/camino/tests/test_auto_ProcStreamlines.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import ProcStreamlines diff --git a/nipype/interfaces/camino/tests/test_auto_QBallMX.py b/nipype/interfaces/camino/tests/test_auto_QBallMX.py index e965cb606a..c3049ddf10 100644 --- a/nipype/interfaces/camino/tests/test_auto_QBallMX.py +++ b/nipype/interfaces/camino/tests/test_auto_QBallMX.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import QBallMX diff --git a/nipype/interfaces/camino/tests/test_auto_SFLUTGen.py b/nipype/interfaces/camino/tests/test_auto_SFLUTGen.py index c52ca04929..2fc3036dc6 100644 --- a/nipype/interfaces/camino/tests/test_auto_SFLUTGen.py +++ b/nipype/interfaces/camino/tests/test_auto_SFLUTGen.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..calib import SFLUTGen diff --git a/nipype/interfaces/camino/tests/test_auto_SFPICOCalibData.py b/nipype/interfaces/camino/tests/test_auto_SFPICOCalibData.py index e83a01e2c3..cb7ed0fe25 100644 --- a/nipype/interfaces/camino/tests/test_auto_SFPICOCalibData.py +++ b/nipype/interfaces/camino/tests/test_auto_SFPICOCalibData.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..calib import SFPICOCalibData diff --git a/nipype/interfaces/camino/tests/test_auto_SFPeaks.py b/nipype/interfaces/camino/tests/test_auto_SFPeaks.py index 959545d042..bbfd8ea602 100644 --- a/nipype/interfaces/camino/tests/test_auto_SFPeaks.py +++ b/nipype/interfaces/camino/tests/test_auto_SFPeaks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import SFPeaks diff --git a/nipype/interfaces/camino/tests/test_auto_Shredder.py b/nipype/interfaces/camino/tests/test_auto_Shredder.py index 1099693874..29b60e886a 100644 --- a/nipype/interfaces/camino/tests/test_auto_Shredder.py +++ b/nipype/interfaces/camino/tests/test_auto_Shredder.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import Shredder diff --git a/nipype/interfaces/camino/tests/test_auto_Track.py b/nipype/interfaces/camino/tests/test_auto_Track.py index ad8d3ff2bb..b0ec0f157e 100644 --- a/nipype/interfaces/camino/tests/test_auto_Track.py +++ b/nipype/interfaces/camino/tests/test_auto_Track.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import Track diff --git a/nipype/interfaces/camino/tests/test_auto_TrackBallStick.py b/nipype/interfaces/camino/tests/test_auto_TrackBallStick.py index 89515cef55..b055e4e4eb 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackBallStick.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackBallStick.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackBallStick diff --git a/nipype/interfaces/camino/tests/test_auto_TrackBayesDirac.py b/nipype/interfaces/camino/tests/test_auto_TrackBayesDirac.py index 2815ef18ee..9f0e8443d1 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackBayesDirac.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackBayesDirac.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackBayesDirac diff --git a/nipype/interfaces/camino/tests/test_auto_TrackBedpostxDeter.py b/nipype/interfaces/camino/tests/test_auto_TrackBedpostxDeter.py index 827dbb2f27..e0f1feb8ca 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackBedpostxDeter.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackBedpostxDeter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackBedpostxDeter diff --git a/nipype/interfaces/camino/tests/test_auto_TrackBedpostxProba.py b/nipype/interfaces/camino/tests/test_auto_TrackBedpostxProba.py index e250ec9c40..ce93d7e275 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackBedpostxProba.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackBedpostxProba.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackBedpostxProba diff --git a/nipype/interfaces/camino/tests/test_auto_TrackBootstrap.py b/nipype/interfaces/camino/tests/test_auto_TrackBootstrap.py index 90ffd05a2d..037506a7e9 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackBootstrap.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackBootstrap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackBootstrap diff --git a/nipype/interfaces/camino/tests/test_auto_TrackDT.py b/nipype/interfaces/camino/tests/test_auto_TrackDT.py index 7ab3772468..d9f61370bd 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackDT.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackDT.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackDT diff --git a/nipype/interfaces/camino/tests/test_auto_TrackPICo.py b/nipype/interfaces/camino/tests/test_auto_TrackPICo.py index 30ff12db9f..9732b8f5f8 100644 --- a/nipype/interfaces/camino/tests/test_auto_TrackPICo.py +++ b/nipype/interfaces/camino/tests/test_auto_TrackPICo.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TrackPICo diff --git a/nipype/interfaces/camino/tests/test_auto_TractShredder.py b/nipype/interfaces/camino/tests/test_auto_TractShredder.py index c9cf40e1c3..80a5e5a7a6 100644 --- a/nipype/interfaces/camino/tests/test_auto_TractShredder.py +++ b/nipype/interfaces/camino/tests/test_auto_TractShredder.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import TractShredder diff --git a/nipype/interfaces/camino/tests/test_auto_VtkStreamlines.py b/nipype/interfaces/camino/tests/test_auto_VtkStreamlines.py index 8dc8bd03e9..0d1470b998 100644 --- a/nipype/interfaces/camino/tests/test_auto_VtkStreamlines.py +++ b/nipype/interfaces/camino/tests/test_auto_VtkStreamlines.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import VtkStreamlines diff --git a/nipype/interfaces/camino2trackvis/tests/test_auto_Camino2Trackvis.py b/nipype/interfaces/camino2trackvis/tests/test_auto_Camino2Trackvis.py index b4d5092dab..4d7b622945 100644 --- a/nipype/interfaces/camino2trackvis/tests/test_auto_Camino2Trackvis.py +++ b/nipype/interfaces/camino2trackvis/tests/test_auto_Camino2Trackvis.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import Camino2Trackvis diff --git a/nipype/interfaces/camino2trackvis/tests/test_auto_Trackvis2Camino.py b/nipype/interfaces/camino2trackvis/tests/test_auto_Trackvis2Camino.py index 978b2439a2..fc8c619e30 100644 --- a/nipype/interfaces/camino2trackvis/tests/test_auto_Trackvis2Camino.py +++ b/nipype/interfaces/camino2trackvis/tests/test_auto_Trackvis2Camino.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import Trackvis2Camino diff --git a/nipype/interfaces/cmtk/tests/test_auto_AverageNetworks.py b/nipype/interfaces/cmtk/tests/test_auto_AverageNetworks.py index a80bbe757a..c9b6588eba 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_AverageNetworks.py +++ b/nipype/interfaces/cmtk/tests/test_auto_AverageNetworks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..nx import AverageNetworks diff --git a/nipype/interfaces/cmtk/tests/test_auto_CFFBaseInterface.py b/nipype/interfaces/cmtk/tests/test_auto_CFFBaseInterface.py index 942f477518..449ffe2c8c 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_CFFBaseInterface.py +++ b/nipype/interfaces/cmtk/tests/test_auto_CFFBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import CFFBaseInterface diff --git a/nipype/interfaces/cmtk/tests/test_auto_CFFConverter.py b/nipype/interfaces/cmtk/tests/test_auto_CFFConverter.py index 00a1acea98..97805f169d 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_CFFConverter.py +++ b/nipype/interfaces/cmtk/tests/test_auto_CFFConverter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import CFFConverter diff --git a/nipype/interfaces/cmtk/tests/test_auto_CreateMatrix.py b/nipype/interfaces/cmtk/tests/test_auto_CreateMatrix.py index 60e8596f5e..342b7486bf 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_CreateMatrix.py +++ b/nipype/interfaces/cmtk/tests/test_auto_CreateMatrix.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..cmtk import CreateMatrix diff --git a/nipype/interfaces/cmtk/tests/test_auto_CreateNodes.py b/nipype/interfaces/cmtk/tests/test_auto_CreateNodes.py index 3635f21e59..02e7eef490 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_CreateNodes.py +++ b/nipype/interfaces/cmtk/tests/test_auto_CreateNodes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..cmtk import CreateNodes diff --git a/nipype/interfaces/cmtk/tests/test_auto_MergeCNetworks.py b/nipype/interfaces/cmtk/tests/test_auto_MergeCNetworks.py index ceaa6d8dea..53e2d7aa8e 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_MergeCNetworks.py +++ b/nipype/interfaces/cmtk/tests/test_auto_MergeCNetworks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import MergeCNetworks diff --git a/nipype/interfaces/cmtk/tests/test_auto_NetworkBasedStatistic.py b/nipype/interfaces/cmtk/tests/test_auto_NetworkBasedStatistic.py index e3220e4790..e703e840f0 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_NetworkBasedStatistic.py +++ b/nipype/interfaces/cmtk/tests/test_auto_NetworkBasedStatistic.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..nbs import NetworkBasedStatistic diff --git a/nipype/interfaces/cmtk/tests/test_auto_NetworkXMetrics.py b/nipype/interfaces/cmtk/tests/test_auto_NetworkXMetrics.py index d9a3f0c740..764c073850 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_NetworkXMetrics.py +++ b/nipype/interfaces/cmtk/tests/test_auto_NetworkXMetrics.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..nx import NetworkXMetrics diff --git a/nipype/interfaces/cmtk/tests/test_auto_Parcellate.py b/nipype/interfaces/cmtk/tests/test_auto_Parcellate.py index edcdf2e7a1..8e398ac4db 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_Parcellate.py +++ b/nipype/interfaces/cmtk/tests/test_auto_Parcellate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..parcellation import Parcellate diff --git a/nipype/interfaces/cmtk/tests/test_auto_ROIGen.py b/nipype/interfaces/cmtk/tests/test_auto_ROIGen.py index dd2ce50aec..f6f13d69d4 100644 --- a/nipype/interfaces/cmtk/tests/test_auto_ROIGen.py +++ b/nipype/interfaces/cmtk/tests/test_auto_ROIGen.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..cmtk import ROIGen diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTIRecon.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTIRecon.py index a39dbf6c3b..f437bcdf8c 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTIRecon.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTIRecon.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTIRecon diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py index cf483d00d0..4cea0a510e 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_DTITracker.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTITracker diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_HARDIMat.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_HARDIMat.py index 59bc8c25a5..2b8185c8d4 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_HARDIMat.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_HARDIMat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import HARDIMat diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFRecon.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFRecon.py index 1e66b93bec..4fd8b31c05 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFRecon.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFRecon.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import ODFRecon diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFTracker.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFTracker.py index 41b2d530f6..929b0ca9e5 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFTracker.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_ODFTracker.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..odf import ODFTracker diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_SplineFilter.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_SplineFilter.py index 8648a1f1f9..8eb5ecab83 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_SplineFilter.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_SplineFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..postproc import SplineFilter diff --git a/nipype/interfaces/diffusion_toolkit/tests/test_auto_TrackMerge.py b/nipype/interfaces/diffusion_toolkit/tests/test_auto_TrackMerge.py index b004678175..a95feee63a 100644 --- a/nipype/interfaces/diffusion_toolkit/tests/test_auto_TrackMerge.py +++ b/nipype/interfaces/diffusion_toolkit/tests/test_auto_TrackMerge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..postproc import TrackMerge diff --git a/nipype/interfaces/dipy/tests/test_auto_APMQball.py b/nipype/interfaces/dipy/tests/test_auto_APMQball.py index f6f3f2e4c6..0ff3ce8549 100644 --- a/nipype/interfaces/dipy/tests/test_auto_APMQball.py +++ b/nipype/interfaces/dipy/tests/test_auto_APMQball.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..anisotropic_power import APMQball diff --git a/nipype/interfaces/dipy/tests/test_auto_CSD.py b/nipype/interfaces/dipy/tests/test_auto_CSD.py index a30efaa3cc..1440c01077 100644 --- a/nipype/interfaces/dipy/tests/test_auto_CSD.py +++ b/nipype/interfaces/dipy/tests/test_auto_CSD.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reconstruction import CSD diff --git a/nipype/interfaces/dipy/tests/test_auto_DTI.py b/nipype/interfaces/dipy/tests/test_auto_DTI.py index 68c9ae1437..38361c1752 100644 --- a/nipype/interfaces/dipy/tests/test_auto_DTI.py +++ b/nipype/interfaces/dipy/tests/test_auto_DTI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import DTI diff --git a/nipype/interfaces/dipy/tests/test_auto_Denoise.py b/nipype/interfaces/dipy/tests/test_auto_Denoise.py index 88a1bc5314..6be88bb0ca 100644 --- a/nipype/interfaces/dipy/tests/test_auto_Denoise.py +++ b/nipype/interfaces/dipy/tests/test_auto_Denoise.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Denoise diff --git a/nipype/interfaces/dipy/tests/test_auto_DipyBaseInterface.py b/nipype/interfaces/dipy/tests/test_auto_DipyBaseInterface.py index e133e266c4..d422dc5290 100644 --- a/nipype/interfaces/dipy/tests/test_auto_DipyBaseInterface.py +++ b/nipype/interfaces/dipy/tests/test_auto_DipyBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import DipyBaseInterface diff --git a/nipype/interfaces/dipy/tests/test_auto_DipyDiffusionInterface.py b/nipype/interfaces/dipy/tests/test_auto_DipyDiffusionInterface.py index ee9022ca58..eb85610eef 100644 --- a/nipype/interfaces/dipy/tests/test_auto_DipyDiffusionInterface.py +++ b/nipype/interfaces/dipy/tests/test_auto_DipyDiffusionInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import DipyDiffusionInterface diff --git a/nipype/interfaces/dipy/tests/test_auto_EstimateResponseSH.py b/nipype/interfaces/dipy/tests/test_auto_EstimateResponseSH.py index 1270d94b13..d5f4e28fe6 100644 --- a/nipype/interfaces/dipy/tests/test_auto_EstimateResponseSH.py +++ b/nipype/interfaces/dipy/tests/test_auto_EstimateResponseSH.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reconstruction import EstimateResponseSH diff --git a/nipype/interfaces/dipy/tests/test_auto_RESTORE.py b/nipype/interfaces/dipy/tests/test_auto_RESTORE.py index 9f62d05e0c..54b93f4c53 100644 --- a/nipype/interfaces/dipy/tests/test_auto_RESTORE.py +++ b/nipype/interfaces/dipy/tests/test_auto_RESTORE.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reconstruction import RESTORE diff --git a/nipype/interfaces/dipy/tests/test_auto_Resample.py b/nipype/interfaces/dipy/tests/test_auto_Resample.py index ff51e0efe4..429af5a15f 100644 --- a/nipype/interfaces/dipy/tests/test_auto_Resample.py +++ b/nipype/interfaces/dipy/tests/test_auto_Resample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Resample diff --git a/nipype/interfaces/dipy/tests/test_auto_SimulateMultiTensor.py b/nipype/interfaces/dipy/tests/test_auto_SimulateMultiTensor.py index db46a3b982..56f800d98c 100644 --- a/nipype/interfaces/dipy/tests/test_auto_SimulateMultiTensor.py +++ b/nipype/interfaces/dipy/tests/test_auto_SimulateMultiTensor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..simulate import SimulateMultiTensor diff --git a/nipype/interfaces/dipy/tests/test_auto_StreamlineTractography.py b/nipype/interfaces/dipy/tests/test_auto_StreamlineTractography.py index 1bc1a2ea97..64bbf19c77 100644 --- a/nipype/interfaces/dipy/tests/test_auto_StreamlineTractography.py +++ b/nipype/interfaces/dipy/tests/test_auto_StreamlineTractography.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracks import StreamlineTractography diff --git a/nipype/interfaces/dipy/tests/test_auto_TensorMode.py b/nipype/interfaces/dipy/tests/test_auto_TensorMode.py index d072af78fc..f27432871b 100644 --- a/nipype/interfaces/dipy/tests/test_auto_TensorMode.py +++ b/nipype/interfaces/dipy/tests/test_auto_TensorMode.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import TensorMode diff --git a/nipype/interfaces/dipy/tests/test_auto_TrackDensityMap.py b/nipype/interfaces/dipy/tests/test_auto_TrackDensityMap.py index 79af3b5940..9f43210cc5 100644 --- a/nipype/interfaces/dipy/tests/test_auto_TrackDensityMap.py +++ b/nipype/interfaces/dipy/tests/test_auto_TrackDensityMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracks import TrackDensityMap diff --git a/nipype/interfaces/dtitk/tests/test_auto_AffScalarVol.py b/nipype/interfaces/dtitk/tests/test_auto_AffScalarVol.py index 5f9262d788..58309b45f4 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_AffScalarVol.py +++ b/nipype/interfaces/dtitk/tests/test_auto_AffScalarVol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import AffScalarVol diff --git a/nipype/interfaces/dtitk/tests/test_auto_AffSymTensor3DVol.py b/nipype/interfaces/dtitk/tests/test_auto_AffSymTensor3DVol.py index 6d7abc852a..8b235731c5 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_AffSymTensor3DVol.py +++ b/nipype/interfaces/dtitk/tests/test_auto_AffSymTensor3DVol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import AffSymTensor3DVol diff --git a/nipype/interfaces/dtitk/tests/test_auto_Affine.py b/nipype/interfaces/dtitk/tests/test_auto_Affine.py index 78d2e6f011..a475b182a9 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_Affine.py +++ b/nipype/interfaces/dtitk/tests/test_auto_Affine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Affine diff --git a/nipype/interfaces/dtitk/tests/test_auto_AffineTask.py b/nipype/interfaces/dtitk/tests/test_auto_AffineTask.py index 5f3b43153a..1810d238d5 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_AffineTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_AffineTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import AffineTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_BinThresh.py b/nipype/interfaces/dtitk/tests/test_auto_BinThresh.py index cbd4efccb2..b56f405968 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_BinThresh.py +++ b/nipype/interfaces/dtitk/tests/test_auto_BinThresh.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import BinThresh diff --git a/nipype/interfaces/dtitk/tests/test_auto_BinThreshTask.py b/nipype/interfaces/dtitk/tests/test_auto_BinThreshTask.py index dcd396abe2..60cf100437 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_BinThreshTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_BinThreshTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import BinThreshTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_CommandLineDtitk.py b/nipype/interfaces/dtitk/tests/test_auto_CommandLineDtitk.py index b43fcc5e97..2e064a3150 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_CommandLineDtitk.py +++ b/nipype/interfaces/dtitk/tests/test_auto_CommandLineDtitk.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import CommandLineDtitk diff --git a/nipype/interfaces/dtitk/tests/test_auto_ComposeXfm.py b/nipype/interfaces/dtitk/tests/test_auto_ComposeXfm.py index 09fcdc186e..0e1256ae3f 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_ComposeXfm.py +++ b/nipype/interfaces/dtitk/tests/test_auto_ComposeXfm.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import ComposeXfm diff --git a/nipype/interfaces/dtitk/tests/test_auto_ComposeXfmTask.py b/nipype/interfaces/dtitk/tests/test_auto_ComposeXfmTask.py index 99c6f6d340..ddeae4622a 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_ComposeXfmTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_ComposeXfmTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import ComposeXfmTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_Diffeo.py b/nipype/interfaces/dtitk/tests/test_auto_Diffeo.py index ad532bd631..fddda3f954 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_Diffeo.py +++ b/nipype/interfaces/dtitk/tests/test_auto_Diffeo.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Diffeo diff --git a/nipype/interfaces/dtitk/tests/test_auto_DiffeoScalarVol.py b/nipype/interfaces/dtitk/tests/test_auto_DiffeoScalarVol.py index 7d1305d384..cd818a52d6 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_DiffeoScalarVol.py +++ b/nipype/interfaces/dtitk/tests/test_auto_DiffeoScalarVol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import DiffeoScalarVol diff --git a/nipype/interfaces/dtitk/tests/test_auto_DiffeoSymTensor3DVol.py b/nipype/interfaces/dtitk/tests/test_auto_DiffeoSymTensor3DVol.py index b934c56d2b..1b3be6d62b 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_DiffeoSymTensor3DVol.py +++ b/nipype/interfaces/dtitk/tests/test_auto_DiffeoSymTensor3DVol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import DiffeoSymTensor3DVol diff --git a/nipype/interfaces/dtitk/tests/test_auto_DiffeoTask.py b/nipype/interfaces/dtitk/tests/test_auto_DiffeoTask.py index 5aea665d4c..cada2a9f9b 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_DiffeoTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_DiffeoTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import DiffeoTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_Rigid.py b/nipype/interfaces/dtitk/tests/test_auto_Rigid.py index ecb7c2d33b..612a6d006c 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_Rigid.py +++ b/nipype/interfaces/dtitk/tests/test_auto_Rigid.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Rigid diff --git a/nipype/interfaces/dtitk/tests/test_auto_RigidTask.py b/nipype/interfaces/dtitk/tests/test_auto_RigidTask.py index c627fda741..4c1e46d06f 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_RigidTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_RigidTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import RigidTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSp.py b/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSp.py index 3574906455..86f91e664f 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSp.py +++ b/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SVAdjustVoxSp diff --git a/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSpTask.py b/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSpTask.py index 40a7592c19..2c371386be 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSpTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_SVAdjustVoxSpTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SVAdjustVoxSpTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_SVResample.py b/nipype/interfaces/dtitk/tests/test_auto_SVResample.py index 91ca638f22..95eb4e0bf7 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_SVResample.py +++ b/nipype/interfaces/dtitk/tests/test_auto_SVResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SVResample diff --git a/nipype/interfaces/dtitk/tests/test_auto_SVResampleTask.py b/nipype/interfaces/dtitk/tests/test_auto_SVResampleTask.py index 8a7574bfd8..ead9ff81ed 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_SVResampleTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_SVResampleTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SVResampleTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustOriginTask.py b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustOriginTask.py index bda9128369..4c6d2392e1 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustOriginTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustOriginTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVAdjustOriginTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSp.py b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSp.py index b8ce9039d5..bcadb6362f 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSp.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVAdjustVoxSp diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSpTask.py b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSpTask.py index e9ef8137dc..6da06f1582 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSpTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVAdjustVoxSpTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVAdjustVoxSpTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVResample.py b/nipype/interfaces/dtitk/tests/test_auto_TVResample.py index aefafc6430..e12b094107 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVResample.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVResample diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVResampleTask.py b/nipype/interfaces/dtitk/tests/test_auto_TVResampleTask.py index b3c70bb729..604f61a71b 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVResampleTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVResampleTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVResampleTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVtool.py b/nipype/interfaces/dtitk/tests/test_auto_TVtool.py index 2267228631..59ed29ad4b 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVtool.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVtool.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVtool diff --git a/nipype/interfaces/dtitk/tests/test_auto_TVtoolTask.py b/nipype/interfaces/dtitk/tests/test_auto_TVtoolTask.py index 252d7c9d0a..db0e944d0e 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_TVtoolTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_TVtoolTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TVtoolTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_affScalarVolTask.py b/nipype/interfaces/dtitk/tests/test_auto_affScalarVolTask.py index 72330737b6..00f520ca15 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_affScalarVolTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_affScalarVolTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import affScalarVolTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_affSymTensor3DVolTask.py b/nipype/interfaces/dtitk/tests/test_auto_affSymTensor3DVolTask.py index da8fae25cc..d86c71e121 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_affSymTensor3DVolTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_affSymTensor3DVolTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import affSymTensor3DVolTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_diffeoScalarVolTask.py b/nipype/interfaces/dtitk/tests/test_auto_diffeoScalarVolTask.py index 10965b7077..350f5ded11 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_diffeoScalarVolTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_diffeoScalarVolTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import diffeoScalarVolTask diff --git a/nipype/interfaces/dtitk/tests/test_auto_diffeoSymTensor3DVolTask.py b/nipype/interfaces/dtitk/tests/test_auto_diffeoSymTensor3DVolTask.py index 52112735b1..40ccf89eec 100644 --- a/nipype/interfaces/dtitk/tests/test_auto_diffeoSymTensor3DVolTask.py +++ b/nipype/interfaces/dtitk/tests/test_auto_diffeoSymTensor3DVolTask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import diffeoSymTensor3DVolTask diff --git a/nipype/interfaces/elastix/tests/test_auto_AnalyzeWarp.py b/nipype/interfaces/elastix/tests/test_auto_AnalyzeWarp.py index cb486b8487..8e3318d296 100644 --- a/nipype/interfaces/elastix/tests/test_auto_AnalyzeWarp.py +++ b/nipype/interfaces/elastix/tests/test_auto_AnalyzeWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import AnalyzeWarp diff --git a/nipype/interfaces/elastix/tests/test_auto_ApplyWarp.py b/nipype/interfaces/elastix/tests/test_auto_ApplyWarp.py index 16f2b54079..dfd97421d7 100644 --- a/nipype/interfaces/elastix/tests/test_auto_ApplyWarp.py +++ b/nipype/interfaces/elastix/tests/test_auto_ApplyWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import ApplyWarp diff --git a/nipype/interfaces/elastix/tests/test_auto_EditTransform.py b/nipype/interfaces/elastix/tests/test_auto_EditTransform.py index ef227da7f8..730b14b6bd 100644 --- a/nipype/interfaces/elastix/tests/test_auto_EditTransform.py +++ b/nipype/interfaces/elastix/tests/test_auto_EditTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import EditTransform diff --git a/nipype/interfaces/elastix/tests/test_auto_PointsWarp.py b/nipype/interfaces/elastix/tests/test_auto_PointsWarp.py index c93a0526c1..fd4d04f21e 100644 --- a/nipype/interfaces/elastix/tests/test_auto_PointsWarp.py +++ b/nipype/interfaces/elastix/tests/test_auto_PointsWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import PointsWarp diff --git a/nipype/interfaces/elastix/tests/test_auto_Registration.py b/nipype/interfaces/elastix/tests/test_auto_Registration.py index 4e774ab036..15f1929ba0 100644 --- a/nipype/interfaces/elastix/tests/test_auto_Registration.py +++ b/nipype/interfaces/elastix/tests/test_auto_Registration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Registration diff --git a/nipype/interfaces/freesurfer/tests/test_auto_AddXFormToHeader.py b/nipype/interfaces/freesurfer/tests/test_auto_AddXFormToHeader.py index ed32693df5..6a37ea98d7 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_AddXFormToHeader.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_AddXFormToHeader.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AddXFormToHeader diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Aparc2Aseg.py b/nipype/interfaces/freesurfer/tests/test_auto_Aparc2Aseg.py index fc5bc39b6f..c230c7510d 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Aparc2Aseg.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Aparc2Aseg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Aparc2Aseg diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Apas2Aseg.py b/nipype/interfaces/freesurfer/tests/test_auto_Apas2Aseg.py index 7044fdde2f..a3eaed3ce4 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Apas2Aseg.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Apas2Aseg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Apas2Aseg diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ApplyMask.py b/nipype/interfaces/freesurfer/tests/test_auto_ApplyMask.py index 69f56d7dde..96a411642d 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ApplyMask.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ApplyMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ApplyMask diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ApplyVolTransform.py b/nipype/interfaces/freesurfer/tests/test_auto_ApplyVolTransform.py index c9e8f85904..3fd68f696e 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ApplyVolTransform.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ApplyVolTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ApplyVolTransform diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Binarize.py b/nipype/interfaces/freesurfer/tests/test_auto_Binarize.py index 93db55cd30..1913aeac4d 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Binarize.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Binarize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Binarize diff --git a/nipype/interfaces/freesurfer/tests/test_auto_CALabel.py b/nipype/interfaces/freesurfer/tests/test_auto_CALabel.py index 1cf35fcedb..0b8611da10 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_CALabel.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_CALabel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import CALabel diff --git a/nipype/interfaces/freesurfer/tests/test_auto_CANormalize.py b/nipype/interfaces/freesurfer/tests/test_auto_CANormalize.py index 0e8ec025ec..8fc53bfab1 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_CANormalize.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_CANormalize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import CANormalize diff --git a/nipype/interfaces/freesurfer/tests/test_auto_CARegister.py b/nipype/interfaces/freesurfer/tests/test_auto_CARegister.py index e3cbf52f10..d2a3435aec 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_CARegister.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_CARegister.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import CARegister diff --git a/nipype/interfaces/freesurfer/tests/test_auto_CheckTalairachAlignment.py b/nipype/interfaces/freesurfer/tests/test_auto_CheckTalairachAlignment.py index a7d3ad3bb0..69d5c88858 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_CheckTalairachAlignment.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_CheckTalairachAlignment.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CheckTalairachAlignment diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Concatenate.py b/nipype/interfaces/freesurfer/tests/test_auto_Concatenate.py index e4e8efb718..a68bb2af3f 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Concatenate.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Concatenate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Concatenate diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ConcatenateLTA.py b/nipype/interfaces/freesurfer/tests/test_auto_ConcatenateLTA.py index 40a465b249..ace0296c0f 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ConcatenateLTA.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ConcatenateLTA.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ConcatenateLTA diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Contrast.py b/nipype/interfaces/freesurfer/tests/test_auto_Contrast.py index 7999001813..df405f189e 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Contrast.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Contrast.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Contrast diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Curvature.py b/nipype/interfaces/freesurfer/tests/test_auto_Curvature.py index f29b76df29..12290d76c5 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Curvature.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Curvature.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Curvature diff --git a/nipype/interfaces/freesurfer/tests/test_auto_CurvatureStats.py b/nipype/interfaces/freesurfer/tests/test_auto_CurvatureStats.py index 19d6a4772e..2146e30134 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_CurvatureStats.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_CurvatureStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CurvatureStats diff --git a/nipype/interfaces/freesurfer/tests/test_auto_DICOMConvert.py b/nipype/interfaces/freesurfer/tests/test_auto_DICOMConvert.py index efd53fb773..ca7f820925 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_DICOMConvert.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_DICOMConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DICOMConvert diff --git a/nipype/interfaces/freesurfer/tests/test_auto_EMRegister.py b/nipype/interfaces/freesurfer/tests/test_auto_EMRegister.py index e681a03871..af1fd66181 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_EMRegister.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_EMRegister.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import EMRegister diff --git a/nipype/interfaces/freesurfer/tests/test_auto_EditWMwithAseg.py b/nipype/interfaces/freesurfer/tests/test_auto_EditWMwithAseg.py index f971f4fab9..1d26f90b72 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_EditWMwithAseg.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_EditWMwithAseg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import EditWMwithAseg diff --git a/nipype/interfaces/freesurfer/tests/test_auto_EulerNumber.py b/nipype/interfaces/freesurfer/tests/test_auto_EulerNumber.py index 996d079b48..4defac4c67 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_EulerNumber.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_EulerNumber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import EulerNumber diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ExtractMainComponent.py b/nipype/interfaces/freesurfer/tests/test_auto_ExtractMainComponent.py index f3f4896a75..c7de90d578 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ExtractMainComponent.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ExtractMainComponent.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ExtractMainComponent diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FSCommand.py b/nipype/interfaces/freesurfer/tests/test_auto_FSCommand.py index 0546d99006..dc7678e7e6 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FSCommand.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FSCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import FSCommand diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FSCommandOpenMP.py b/nipype/interfaces/freesurfer/tests/test_auto_FSCommandOpenMP.py index 5b8bca1484..b4c56e8aeb 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FSCommandOpenMP.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FSCommandOpenMP.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import FSCommandOpenMP diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FSScriptCommand.py b/nipype/interfaces/freesurfer/tests/test_auto_FSScriptCommand.py index e791bb5976..39b16b845e 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FSScriptCommand.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FSScriptCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import FSScriptCommand diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FitMSParams.py b/nipype/interfaces/freesurfer/tests/test_auto_FitMSParams.py index 9e6b1cbc8b..aa54604d61 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FitMSParams.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FitMSParams.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FitMSParams diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FixTopology.py b/nipype/interfaces/freesurfer/tests/test_auto_FixTopology.py index 8b61823b42..d609b515bd 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FixTopology.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FixTopology.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import FixTopology diff --git a/nipype/interfaces/freesurfer/tests/test_auto_FuseSegmentations.py b/nipype/interfaces/freesurfer/tests/test_auto_FuseSegmentations.py index 8608444fc8..672f11caa0 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_FuseSegmentations.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_FuseSegmentations.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..longitudinal import FuseSegmentations diff --git a/nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py b/nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py index 828bbfab03..f1554c2a08 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import GLMFit diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ImageInfo.py b/nipype/interfaces/freesurfer/tests/test_auto_ImageInfo.py index 2fa225e87e..46b79ffffd 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ImageInfo.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ImageInfo.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ImageInfo diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Jacobian.py b/nipype/interfaces/freesurfer/tests/test_auto_Jacobian.py index 49f5e6b48f..d6a7623ddb 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Jacobian.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Jacobian.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Jacobian diff --git a/nipype/interfaces/freesurfer/tests/test_auto_LTAConvert.py b/nipype/interfaces/freesurfer/tests/test_auto_LTAConvert.py index bcbf971d01..c6cfc4e2d9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_LTAConvert.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_LTAConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import LTAConvert diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Label2Annot.py b/nipype/interfaces/freesurfer/tests/test_auto_Label2Annot.py index 2d7761006b..fe56719f86 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Label2Annot.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Label2Annot.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Label2Annot diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Label2Label.py b/nipype/interfaces/freesurfer/tests/test_auto_Label2Label.py index 7511cd0dbb..fdc952bcc9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Label2Label.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Label2Label.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Label2Label diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Label2Vol.py b/nipype/interfaces/freesurfer/tests/test_auto_Label2Vol.py index fb2726635f..d11a4ddc25 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Label2Vol.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Label2Vol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Label2Vol diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py b/nipype/interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py index 7b6ae4a945..78be667586 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MNIBiasCorrection.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MNIBiasCorrection diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MPRtoMNI305.py b/nipype/interfaces/freesurfer/tests/test_auto_MPRtoMNI305.py index b4b7436120..9f98ba4931 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MPRtoMNI305.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MPRtoMNI305.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import MPRtoMNI305 diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIConvert.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIConvert.py index b44cf7a308..5e826bbbbf 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIConvert.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRIConvert diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRICoreg.py b/nipype/interfaces/freesurfer/tests/test_auto_MRICoreg.py index 6c12cabdc2..a808a15235 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRICoreg.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRICoreg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import MRICoreg diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIFill.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIFill.py index 719986961d..2e9cf785d9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIFill.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIFill.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIFill diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIMarchingCubes.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIMarchingCubes.py index f43d217256..8e42484200 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIMarchingCubes.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIMarchingCubes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIMarchingCubes diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIPretess.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIPretess.py index 2e7c7d2ea5..61ed187ea9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIPretess.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIPretess.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIPretess diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRISPreproc.py b/nipype/interfaces/freesurfer/tests/test_auto_MRISPreproc.py index c92b4fea15..a8fb58aff9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRISPreproc.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRISPreproc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MRISPreproc diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRISPreprocReconAll.py b/nipype/interfaces/freesurfer/tests/test_auto_MRISPreprocReconAll.py index e72d8adb9e..d36dcb9b05 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRISPreprocReconAll.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRISPreprocReconAll.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MRISPreprocReconAll diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRITessellate.py b/nipype/interfaces/freesurfer/tests/test_auto_MRITessellate.py index a5899cfe70..f71b331e66 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRITessellate.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRITessellate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRITessellate diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCALabel.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCALabel.py index 441be3e0a4..f76b3ab0ab 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCALabel.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCALabel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRIsCALabel diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCalc.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCalc.py index cbd68c8457..80b395654c 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCalc.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCalc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIsCalc diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCombine.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCombine.py index 657292c5c7..07ff63969c 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsCombine.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsCombine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIsCombine diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsConvert.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsConvert.py index 21622b2449..ddf1cfb00f 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsConvert.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIsConvert diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsExpand.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsExpand.py index 8639c1e7b6..7cf9654b5c 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsExpand.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsExpand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIsExpand diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MRIsInflate.py b/nipype/interfaces/freesurfer/tests/test_auto_MRIsInflate.py index 73e48a2521..06f14228e8 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MRIsInflate.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MRIsInflate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRIsInflate diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py b/nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py index f3453818c5..11e07e9e5c 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MS_LDA diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MakeAverageSubject.py b/nipype/interfaces/freesurfer/tests/test_auto_MakeAverageSubject.py index 5dfb555346..63e75d33a8 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MakeAverageSubject.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MakeAverageSubject.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MakeAverageSubject diff --git a/nipype/interfaces/freesurfer/tests/test_auto_MakeSurfaces.py b/nipype/interfaces/freesurfer/tests/test_auto_MakeSurfaces.py index 7ff18eeba6..23dac2ef86 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_MakeSurfaces.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_MakeSurfaces.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MakeSurfaces diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Normalize.py b/nipype/interfaces/freesurfer/tests/test_auto_Normalize.py index 1923b5ceed..ec926d60b0 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Normalize.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Normalize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Normalize diff --git a/nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py b/nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py index 1091bdbdc3..15fba362ae 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import OneSampleTTest diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Paint.py b/nipype/interfaces/freesurfer/tests/test_auto_Paint.py index c452594e55..643edc75f9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Paint.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Paint.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Paint diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ParcellationStats.py b/nipype/interfaces/freesurfer/tests/test_auto_ParcellationStats.py index 81ac276b2f..6e3d8a904a 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ParcellationStats.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ParcellationStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ParcellationStats diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ParseDICOMDir.py b/nipype/interfaces/freesurfer/tests/test_auto_ParseDICOMDir.py index 93254ddcb3..6031d6c072 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ParseDICOMDir.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ParseDICOMDir.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ParseDICOMDir diff --git a/nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py b/nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py index 39f6a8c942..a167ba20a3 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ReconAll diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Register.py b/nipype/interfaces/freesurfer/tests/test_auto_Register.py index b4eff5133c..5dd3be2424 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Register.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Register.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import Register diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RegisterAVItoTalairach.py b/nipype/interfaces/freesurfer/tests/test_auto_RegisterAVItoTalairach.py index 0bc88bf935..0662c8d428 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RegisterAVItoTalairach.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RegisterAVItoTalairach.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import RegisterAVItoTalairach diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RelabelHypointensities.py b/nipype/interfaces/freesurfer/tests/test_auto_RelabelHypointensities.py index 859aff0820..d7db4be8ab 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RelabelHypointensities.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RelabelHypointensities.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import RelabelHypointensities diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RemoveIntersection.py b/nipype/interfaces/freesurfer/tests/test_auto_RemoveIntersection.py index 69e1d453a4..7f25dbcee6 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RemoveIntersection.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RemoveIntersection.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import RemoveIntersection diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RemoveNeck.py b/nipype/interfaces/freesurfer/tests/test_auto_RemoveNeck.py index 9e095ddba0..0444cdd549 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RemoveNeck.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RemoveNeck.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import RemoveNeck diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Resample.py b/nipype/interfaces/freesurfer/tests/test_auto_Resample.py index ecb939d89a..3cc1770bf7 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Resample.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Resample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Resample diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RobustRegister.py b/nipype/interfaces/freesurfer/tests/test_auto_RobustRegister.py index af9020c278..4a7917842b 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RobustRegister.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RobustRegister.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import RobustRegister diff --git a/nipype/interfaces/freesurfer/tests/test_auto_RobustTemplate.py b/nipype/interfaces/freesurfer/tests/test_auto_RobustTemplate.py index e845a764e4..6ed1bd47ef 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_RobustTemplate.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_RobustTemplate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..longitudinal import RobustTemplate diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.py b/nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.py index 0926eebba2..d162ee3061 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SampleToSurface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SampleToSurface diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SegStats.py b/nipype/interfaces/freesurfer/tests/test_auto_SegStats.py index 8feb61d9d8..9ba9cfa161 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SegStats.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SegStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import SegStats diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SegStatsReconAll.py b/nipype/interfaces/freesurfer/tests/test_auto_SegStatsReconAll.py index e65dc82e3b..b7681a46a5 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SegStatsReconAll.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SegStatsReconAll.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import SegStatsReconAll diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SegmentCC.py b/nipype/interfaces/freesurfer/tests/test_auto_SegmentCC.py index e6b5fb2679..76bcf6e076 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SegmentCC.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SegmentCC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SegmentCC diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SegmentWM.py b/nipype/interfaces/freesurfer/tests/test_auto_SegmentWM.py index aa742e8fea..3e2b8987aa 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SegmentWM.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SegmentWM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SegmentWM diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Smooth.py b/nipype/interfaces/freesurfer/tests/test_auto_Smooth.py index fe4581dee0..3a427e21c1 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Smooth.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Smooth.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Smooth diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SmoothTessellation.py b/nipype/interfaces/freesurfer/tests/test_auto_SmoothTessellation.py index 8ce4dce075..742db823e4 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SmoothTessellation.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SmoothTessellation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SmoothTessellation diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Sphere.py b/nipype/interfaces/freesurfer/tests/test_auto_Sphere.py index 461398e6a8..c871c1c1f1 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Sphere.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Sphere.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Sphere diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.py b/nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.py index efdc032787..14ba83b9a2 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SphericalAverage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import SphericalAverage diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Surface2VolTransform.py b/nipype/interfaces/freesurfer/tests/test_auto_Surface2VolTransform.py index ca3f96c42b..cd4f8ac7e2 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Surface2VolTransform.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Surface2VolTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Surface2VolTransform diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSmooth.py b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSmooth.py index 84bef6ed7a..3edb4f52ec 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSmooth.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSmooth.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SurfaceSmooth diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py index a413d410b1..8e22824a00 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SurfaceSnapshots diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceTransform.py b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceTransform.py index 0546a275dc..1fdf458752 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SurfaceTransform.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SurfaceTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SurfaceTransform diff --git a/nipype/interfaces/freesurfer/tests/test_auto_SynthesizeFLASH.py b/nipype/interfaces/freesurfer/tests/test_auto_SynthesizeFLASH.py index ea121d877e..f2cb589ba9 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_SynthesizeFLASH.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_SynthesizeFLASH.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SynthesizeFLASH diff --git a/nipype/interfaces/freesurfer/tests/test_auto_TalairachAVI.py b/nipype/interfaces/freesurfer/tests/test_auto_TalairachAVI.py index 8ce925fcc7..b0e040dc6c 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_TalairachAVI.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_TalairachAVI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TalairachAVI diff --git a/nipype/interfaces/freesurfer/tests/test_auto_TalairachQC.py b/nipype/interfaces/freesurfer/tests/test_auto_TalairachQC.py index d07e572365..6acb4f4890 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_TalairachQC.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_TalairachQC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TalairachQC diff --git a/nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py b/nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py index 17f8e53a1f..5c74cbf5f4 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_Tkregister2.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Tkregister2 diff --git a/nipype/interfaces/freesurfer/tests/test_auto_UnpackSDICOMDir.py b/nipype/interfaces/freesurfer/tests/test_auto_UnpackSDICOMDir.py index 9427e60940..8a67ccfed6 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_UnpackSDICOMDir.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_UnpackSDICOMDir.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import UnpackSDICOMDir diff --git a/nipype/interfaces/freesurfer/tests/test_auto_VolumeMask.py b/nipype/interfaces/freesurfer/tests/test_auto_VolumeMask.py index 3e898a81f7..bde3c12faa 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_VolumeMask.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_VolumeMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import VolumeMask diff --git a/nipype/interfaces/freesurfer/tests/test_auto_WatershedSkullStrip.py b/nipype/interfaces/freesurfer/tests/test_auto_WatershedSkullStrip.py index 3586e7d234..0442527088 100644 --- a/nipype/interfaces/freesurfer/tests/test_auto_WatershedSkullStrip.py +++ b/nipype/interfaces/freesurfer/tests/test_auto_WatershedSkullStrip.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import WatershedSkullStrip diff --git a/nipype/interfaces/fsl/tests/test_auto_AR1Image.py b/nipype/interfaces/fsl/tests/test_auto_AR1Image.py index 32efb1826e..5dbfaddcf8 100644 --- a/nipype/interfaces/fsl/tests/test_auto_AR1Image.py +++ b/nipype/interfaces/fsl/tests/test_auto_AR1Image.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import AR1Image diff --git a/nipype/interfaces/fsl/tests/test_auto_AccuracyTester.py b/nipype/interfaces/fsl/tests/test_auto_AccuracyTester.py index 062d6367f7..f6f7522e96 100644 --- a/nipype/interfaces/fsl/tests/test_auto_AccuracyTester.py +++ b/nipype/interfaces/fsl/tests/test_auto_AccuracyTester.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import AccuracyTester diff --git a/nipype/interfaces/fsl/tests/test_auto_ApplyMask.py b/nipype/interfaces/fsl/tests/test_auto_ApplyMask.py index 8a39956c18..35478d618e 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ApplyMask.py +++ b/nipype/interfaces/fsl/tests/test_auto_ApplyMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import ApplyMask diff --git a/nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py b/nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py index 7a803f9695..6853c02725 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py +++ b/nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import ApplyTOPUP diff --git a/nipype/interfaces/fsl/tests/test_auto_ApplyWarp.py b/nipype/interfaces/fsl/tests/test_auto_ApplyWarp.py index 71977cb873..fd404effcf 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ApplyWarp.py +++ b/nipype/interfaces/fsl/tests/test_auto_ApplyWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ApplyWarp diff --git a/nipype/interfaces/fsl/tests/test_auto_ApplyXFM.py b/nipype/interfaces/fsl/tests/test_auto_ApplyXFM.py index f515be1f04..4258934546 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ApplyXFM.py +++ b/nipype/interfaces/fsl/tests/test_auto_ApplyXFM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ApplyXFM diff --git a/nipype/interfaces/fsl/tests/test_auto_AvScale.py b/nipype/interfaces/fsl/tests/test_auto_AvScale.py index 762ada916d..6a3ba79710 100644 --- a/nipype/interfaces/fsl/tests/test_auto_AvScale.py +++ b/nipype/interfaces/fsl/tests/test_auto_AvScale.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import AvScale diff --git a/nipype/interfaces/fsl/tests/test_auto_B0Calc.py b/nipype/interfaces/fsl/tests/test_auto_B0Calc.py index 96ec6b949c..da6edd7ddc 100644 --- a/nipype/interfaces/fsl/tests/test_auto_B0Calc.py +++ b/nipype/interfaces/fsl/tests/test_auto_B0Calc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..possum import B0Calc diff --git a/nipype/interfaces/fsl/tests/test_auto_BEDPOSTX5.py b/nipype/interfaces/fsl/tests/test_auto_BEDPOSTX5.py index 1ac5db111b..3577859a3b 100644 --- a/nipype/interfaces/fsl/tests/test_auto_BEDPOSTX5.py +++ b/nipype/interfaces/fsl/tests/test_auto_BEDPOSTX5.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import BEDPOSTX5 diff --git a/nipype/interfaces/fsl/tests/test_auto_BET.py b/nipype/interfaces/fsl/tests/test_auto_BET.py index eccf348b3e..db5426a78f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_BET.py +++ b/nipype/interfaces/fsl/tests/test_auto_BET.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import BET diff --git a/nipype/interfaces/fsl/tests/test_auto_BinaryMaths.py b/nipype/interfaces/fsl/tests/test_auto_BinaryMaths.py index 2548ae68e5..194abaeda2 100644 --- a/nipype/interfaces/fsl/tests/test_auto_BinaryMaths.py +++ b/nipype/interfaces/fsl/tests/test_auto_BinaryMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import BinaryMaths diff --git a/nipype/interfaces/fsl/tests/test_auto_ChangeDataType.py b/nipype/interfaces/fsl/tests/test_auto_ChangeDataType.py index aab508f2bf..8b5e004329 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ChangeDataType.py +++ b/nipype/interfaces/fsl/tests/test_auto_ChangeDataType.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import ChangeDataType diff --git a/nipype/interfaces/fsl/tests/test_auto_Classifier.py b/nipype/interfaces/fsl/tests/test_auto_Classifier.py index a8db888acb..b1b914519f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Classifier.py +++ b/nipype/interfaces/fsl/tests/test_auto_Classifier.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import Classifier diff --git a/nipype/interfaces/fsl/tests/test_auto_Cleaner.py b/nipype/interfaces/fsl/tests/test_auto_Cleaner.py index 5fc505a174..26f8516a3b 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Cleaner.py +++ b/nipype/interfaces/fsl/tests/test_auto_Cleaner.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import Cleaner diff --git a/nipype/interfaces/fsl/tests/test_auto_Cluster.py b/nipype/interfaces/fsl/tests/test_auto_Cluster.py index f876f85e64..bfcf6755ab 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Cluster.py +++ b/nipype/interfaces/fsl/tests/test_auto_Cluster.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Cluster diff --git a/nipype/interfaces/fsl/tests/test_auto_Complex.py b/nipype/interfaces/fsl/tests/test_auto_Complex.py index 7e49bcdfa8..f4265d5030 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Complex.py +++ b/nipype/interfaces/fsl/tests/test_auto_Complex.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Complex diff --git a/nipype/interfaces/fsl/tests/test_auto_ContrastMgr.py b/nipype/interfaces/fsl/tests/test_auto_ContrastMgr.py index a82ea8fe43..9e90f36871 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ContrastMgr.py +++ b/nipype/interfaces/fsl/tests/test_auto_ContrastMgr.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import ContrastMgr diff --git a/nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py b/nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py index 2ed14aaad2..df1daf2e84 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py +++ b/nipype/interfaces/fsl/tests/test_auto_ConvertWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ConvertWarp diff --git a/nipype/interfaces/fsl/tests/test_auto_ConvertXFM.py b/nipype/interfaces/fsl/tests/test_auto_ConvertXFM.py index c017a39a52..d97527368c 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ConvertXFM.py +++ b/nipype/interfaces/fsl/tests/test_auto_ConvertXFM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ConvertXFM diff --git a/nipype/interfaces/fsl/tests/test_auto_CopyGeom.py b/nipype/interfaces/fsl/tests/test_auto_CopyGeom.py index c66feff211..8dceb7dbd5 100644 --- a/nipype/interfaces/fsl/tests/test_auto_CopyGeom.py +++ b/nipype/interfaces/fsl/tests/test_auto_CopyGeom.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CopyGeom diff --git a/nipype/interfaces/fsl/tests/test_auto_DTIFit.py b/nipype/interfaces/fsl/tests/test_auto_DTIFit.py index 8bfdf5f36e..bf4d71eeac 100644 --- a/nipype/interfaces/fsl/tests/test_auto_DTIFit.py +++ b/nipype/interfaces/fsl/tests/test_auto_DTIFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DTIFit diff --git a/nipype/interfaces/fsl/tests/test_auto_DilateImage.py b/nipype/interfaces/fsl/tests/test_auto_DilateImage.py index 3ed43fbd22..7b84d284ca 100644 --- a/nipype/interfaces/fsl/tests/test_auto_DilateImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_DilateImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import DilateImage diff --git a/nipype/interfaces/fsl/tests/test_auto_DistanceMap.py b/nipype/interfaces/fsl/tests/test_auto_DistanceMap.py index 5f3321de78..25696e1562 100644 --- a/nipype/interfaces/fsl/tests/test_auto_DistanceMap.py +++ b/nipype/interfaces/fsl/tests/test_auto_DistanceMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import DistanceMap diff --git a/nipype/interfaces/fsl/tests/test_auto_DualRegression.py b/nipype/interfaces/fsl/tests/test_auto_DualRegression.py index 4c2fdd3ceb..b7cf9becce 100644 --- a/nipype/interfaces/fsl/tests/test_auto_DualRegression.py +++ b/nipype/interfaces/fsl/tests/test_auto_DualRegression.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import DualRegression diff --git a/nipype/interfaces/fsl/tests/test_auto_EPIDeWarp.py b/nipype/interfaces/fsl/tests/test_auto_EPIDeWarp.py index 2a5f0c86b6..450c1d5dcf 100644 --- a/nipype/interfaces/fsl/tests/test_auto_EPIDeWarp.py +++ b/nipype/interfaces/fsl/tests/test_auto_EPIDeWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import EPIDeWarp diff --git a/nipype/interfaces/fsl/tests/test_auto_Eddy.py b/nipype/interfaces/fsl/tests/test_auto_Eddy.py index 1e3cdf644d..11f0a80ced 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Eddy.py +++ b/nipype/interfaces/fsl/tests/test_auto_Eddy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import Eddy diff --git a/nipype/interfaces/fsl/tests/test_auto_EddyCorrect.py b/nipype/interfaces/fsl/tests/test_auto_EddyCorrect.py index e88219aa04..9915ba0217 100644 --- a/nipype/interfaces/fsl/tests/test_auto_EddyCorrect.py +++ b/nipype/interfaces/fsl/tests/test_auto_EddyCorrect.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import EddyCorrect diff --git a/nipype/interfaces/fsl/tests/test_auto_EpiReg.py b/nipype/interfaces/fsl/tests/test_auto_EpiReg.py index 29a935333e..143176f130 100644 --- a/nipype/interfaces/fsl/tests/test_auto_EpiReg.py +++ b/nipype/interfaces/fsl/tests/test_auto_EpiReg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import EpiReg diff --git a/nipype/interfaces/fsl/tests/test_auto_ErodeImage.py b/nipype/interfaces/fsl/tests/test_auto_ErodeImage.py index 797a403d45..99d7c23f36 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ErodeImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_ErodeImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import ErodeImage diff --git a/nipype/interfaces/fsl/tests/test_auto_ExtractROI.py b/nipype/interfaces/fsl/tests/test_auto_ExtractROI.py index df8de64144..6917397821 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ExtractROI.py +++ b/nipype/interfaces/fsl/tests/test_auto_ExtractROI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ExtractROI diff --git a/nipype/interfaces/fsl/tests/test_auto_FAST.py b/nipype/interfaces/fsl/tests/test_auto_FAST.py index 0b983181af..b89147c333 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FAST.py +++ b/nipype/interfaces/fsl/tests/test_auto_FAST.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FAST diff --git a/nipype/interfaces/fsl/tests/test_auto_FEAT.py b/nipype/interfaces/fsl/tests/test_auto_FEAT.py index 01fc72506f..43e7ce8e96 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FEAT.py +++ b/nipype/interfaces/fsl/tests/test_auto_FEAT.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FEAT diff --git a/nipype/interfaces/fsl/tests/test_auto_FEATModel.py b/nipype/interfaces/fsl/tests/test_auto_FEATModel.py index 34ea37d47f..9c3516da39 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FEATModel.py +++ b/nipype/interfaces/fsl/tests/test_auto_FEATModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FEATModel diff --git a/nipype/interfaces/fsl/tests/test_auto_FEATRegister.py b/nipype/interfaces/fsl/tests/test_auto_FEATRegister.py index a8f59a0ec3..45494a73d6 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FEATRegister.py +++ b/nipype/interfaces/fsl/tests/test_auto_FEATRegister.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FEATRegister diff --git a/nipype/interfaces/fsl/tests/test_auto_FIRST.py b/nipype/interfaces/fsl/tests/test_auto_FIRST.py index 964ee4922c..0dbba25d87 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FIRST.py +++ b/nipype/interfaces/fsl/tests/test_auto_FIRST.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FIRST diff --git a/nipype/interfaces/fsl/tests/test_auto_FLAMEO.py b/nipype/interfaces/fsl/tests/test_auto_FLAMEO.py index bd335282e3..be971096c1 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FLAMEO.py +++ b/nipype/interfaces/fsl/tests/test_auto_FLAMEO.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FLAMEO diff --git a/nipype/interfaces/fsl/tests/test_auto_FLIRT.py b/nipype/interfaces/fsl/tests/test_auto_FLIRT.py index 0b59550e5a..2c3c970279 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FLIRT.py +++ b/nipype/interfaces/fsl/tests/test_auto_FLIRT.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FLIRT diff --git a/nipype/interfaces/fsl/tests/test_auto_FNIRT.py b/nipype/interfaces/fsl/tests/test_auto_FNIRT.py index 2b7d0b1b00..30516dfbe8 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FNIRT.py +++ b/nipype/interfaces/fsl/tests/test_auto_FNIRT.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FNIRT diff --git a/nipype/interfaces/fsl/tests/test_auto_FSLCommand.py b/nipype/interfaces/fsl/tests/test_auto_FSLCommand.py index 1d95b77df5..5398e4532d 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FSLCommand.py +++ b/nipype/interfaces/fsl/tests/test_auto_FSLCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import FSLCommand diff --git a/nipype/interfaces/fsl/tests/test_auto_FSLXCommand.py b/nipype/interfaces/fsl/tests/test_auto_FSLXCommand.py index fd85eee3bf..a6e234a104 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FSLXCommand.py +++ b/nipype/interfaces/fsl/tests/test_auto_FSLXCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import FSLXCommand diff --git a/nipype/interfaces/fsl/tests/test_auto_FUGUE.py b/nipype/interfaces/fsl/tests/test_auto_FUGUE.py index 0e96f1e867..f7d74947a0 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FUGUE.py +++ b/nipype/interfaces/fsl/tests/test_auto_FUGUE.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FUGUE diff --git a/nipype/interfaces/fsl/tests/test_auto_FeatureExtractor.py b/nipype/interfaces/fsl/tests/test_auto_FeatureExtractor.py index 3945c40a87..f62ffc451f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FeatureExtractor.py +++ b/nipype/interfaces/fsl/tests/test_auto_FeatureExtractor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import FeatureExtractor diff --git a/nipype/interfaces/fsl/tests/test_auto_FilterRegressor.py b/nipype/interfaces/fsl/tests/test_auto_FilterRegressor.py index 36cbb979d7..a11b8bdde5 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FilterRegressor.py +++ b/nipype/interfaces/fsl/tests/test_auto_FilterRegressor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import FilterRegressor diff --git a/nipype/interfaces/fsl/tests/test_auto_FindTheBiggest.py b/nipype/interfaces/fsl/tests/test_auto_FindTheBiggest.py index 3731c842e7..774d7389bf 100644 --- a/nipype/interfaces/fsl/tests/test_auto_FindTheBiggest.py +++ b/nipype/interfaces/fsl/tests/test_auto_FindTheBiggest.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import FindTheBiggest diff --git a/nipype/interfaces/fsl/tests/test_auto_GLM.py b/nipype/interfaces/fsl/tests/test_auto_GLM.py index 1dbf7eba19..b5826c6a52 100644 --- a/nipype/interfaces/fsl/tests/test_auto_GLM.py +++ b/nipype/interfaces/fsl/tests/test_auto_GLM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import GLM diff --git a/nipype/interfaces/fsl/tests/test_auto_ICA_AROMA.py b/nipype/interfaces/fsl/tests/test_auto_ICA_AROMA.py index 05bbb5b106..2d532ac064 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ICA_AROMA.py +++ b/nipype/interfaces/fsl/tests/test_auto_ICA_AROMA.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..aroma import ICA_AROMA diff --git a/nipype/interfaces/fsl/tests/test_auto_ImageMaths.py b/nipype/interfaces/fsl/tests/test_auto_ImageMaths.py index 6d4e06827e..1f76edd76a 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ImageMaths.py +++ b/nipype/interfaces/fsl/tests/test_auto_ImageMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ImageMaths diff --git a/nipype/interfaces/fsl/tests/test_auto_ImageMeants.py b/nipype/interfaces/fsl/tests/test_auto_ImageMeants.py index 042f93112b..d9b8d4571f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ImageMeants.py +++ b/nipype/interfaces/fsl/tests/test_auto_ImageMeants.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ImageMeants diff --git a/nipype/interfaces/fsl/tests/test_auto_ImageStats.py b/nipype/interfaces/fsl/tests/test_auto_ImageStats.py index 91a6059798..59cf5495d7 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ImageStats.py +++ b/nipype/interfaces/fsl/tests/test_auto_ImageStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ImageStats diff --git a/nipype/interfaces/fsl/tests/test_auto_InvWarp.py b/nipype/interfaces/fsl/tests/test_auto_InvWarp.py index 973f42ea34..a0d18a6183 100644 --- a/nipype/interfaces/fsl/tests/test_auto_InvWarp.py +++ b/nipype/interfaces/fsl/tests/test_auto_InvWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import InvWarp diff --git a/nipype/interfaces/fsl/tests/test_auto_IsotropicSmooth.py b/nipype/interfaces/fsl/tests/test_auto_IsotropicSmooth.py index 4b6192c98d..6614e04abb 100644 --- a/nipype/interfaces/fsl/tests/test_auto_IsotropicSmooth.py +++ b/nipype/interfaces/fsl/tests/test_auto_IsotropicSmooth.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import IsotropicSmooth diff --git a/nipype/interfaces/fsl/tests/test_auto_L2Model.py b/nipype/interfaces/fsl/tests/test_auto_L2Model.py index 9d3588666f..b159565c18 100644 --- a/nipype/interfaces/fsl/tests/test_auto_L2Model.py +++ b/nipype/interfaces/fsl/tests/test_auto_L2Model.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import L2Model diff --git a/nipype/interfaces/fsl/tests/test_auto_Level1Design.py b/nipype/interfaces/fsl/tests/test_auto_Level1Design.py index 45451f8eff..8b1c076ac6 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Level1Design.py +++ b/nipype/interfaces/fsl/tests/test_auto_Level1Design.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Level1Design diff --git a/nipype/interfaces/fsl/tests/test_auto_MCFLIRT.py b/nipype/interfaces/fsl/tests/test_auto_MCFLIRT.py index daeca07b10..90057d88cb 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MCFLIRT.py +++ b/nipype/interfaces/fsl/tests/test_auto_MCFLIRT.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MCFLIRT diff --git a/nipype/interfaces/fsl/tests/test_auto_MELODIC.py b/nipype/interfaces/fsl/tests/test_auto_MELODIC.py index b22078c450..831acc1618 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MELODIC.py +++ b/nipype/interfaces/fsl/tests/test_auto_MELODIC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MELODIC diff --git a/nipype/interfaces/fsl/tests/test_auto_MakeDyadicVectors.py b/nipype/interfaces/fsl/tests/test_auto_MakeDyadicVectors.py index c7a5a3e465..893795447c 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MakeDyadicVectors.py +++ b/nipype/interfaces/fsl/tests/test_auto_MakeDyadicVectors.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import MakeDyadicVectors diff --git a/nipype/interfaces/fsl/tests/test_auto_MathsCommand.py b/nipype/interfaces/fsl/tests/test_auto_MathsCommand.py index 64b0f8b089..749c87cfe2 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MathsCommand.py +++ b/nipype/interfaces/fsl/tests/test_auto_MathsCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MathsCommand diff --git a/nipype/interfaces/fsl/tests/test_auto_MaxImage.py b/nipype/interfaces/fsl/tests/test_auto_MaxImage.py index 9910f9c4e8..1f7cd7e970 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MaxImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_MaxImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MaxImage diff --git a/nipype/interfaces/fsl/tests/test_auto_MaxnImage.py b/nipype/interfaces/fsl/tests/test_auto_MaxnImage.py index f49c5f462c..bff13d7544 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MaxnImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_MaxnImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MaxnImage diff --git a/nipype/interfaces/fsl/tests/test_auto_MeanImage.py b/nipype/interfaces/fsl/tests/test_auto_MeanImage.py index 2172dcfa9e..2e599c5a15 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MeanImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_MeanImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MeanImage diff --git a/nipype/interfaces/fsl/tests/test_auto_MedianImage.py b/nipype/interfaces/fsl/tests/test_auto_MedianImage.py index c14bf8d839..5fec30259f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MedianImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_MedianImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MedianImage diff --git a/nipype/interfaces/fsl/tests/test_auto_Merge.py b/nipype/interfaces/fsl/tests/test_auto_Merge.py index 826270239e..6af08ba6e8 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Merge.py +++ b/nipype/interfaces/fsl/tests/test_auto_Merge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Merge diff --git a/nipype/interfaces/fsl/tests/test_auto_MinImage.py b/nipype/interfaces/fsl/tests/test_auto_MinImage.py index 4e9002c259..3359a05d53 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MinImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_MinImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MinImage diff --git a/nipype/interfaces/fsl/tests/test_auto_MotionOutliers.py b/nipype/interfaces/fsl/tests/test_auto_MotionOutliers.py index 97d2426b53..0c0bff09ba 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MotionOutliers.py +++ b/nipype/interfaces/fsl/tests/test_auto_MotionOutliers.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MotionOutliers diff --git a/nipype/interfaces/fsl/tests/test_auto_MultiImageMaths.py b/nipype/interfaces/fsl/tests/test_auto_MultiImageMaths.py index 50a2977a4c..201eb78165 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MultiImageMaths.py +++ b/nipype/interfaces/fsl/tests/test_auto_MultiImageMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MultiImageMaths diff --git a/nipype/interfaces/fsl/tests/test_auto_MultipleRegressDesign.py b/nipype/interfaces/fsl/tests/test_auto_MultipleRegressDesign.py index 78bd97ff85..6202cbecbc 100644 --- a/nipype/interfaces/fsl/tests/test_auto_MultipleRegressDesign.py +++ b/nipype/interfaces/fsl/tests/test_auto_MultipleRegressDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MultipleRegressDesign diff --git a/nipype/interfaces/fsl/tests/test_auto_Overlay.py b/nipype/interfaces/fsl/tests/test_auto_Overlay.py index 9818ae1eda..f124e41897 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Overlay.py +++ b/nipype/interfaces/fsl/tests/test_auto_Overlay.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Overlay diff --git a/nipype/interfaces/fsl/tests/test_auto_PRELUDE.py b/nipype/interfaces/fsl/tests/test_auto_PRELUDE.py index 328a8e3272..e6169c59d4 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PRELUDE.py +++ b/nipype/interfaces/fsl/tests/test_auto_PRELUDE.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import PRELUDE diff --git a/nipype/interfaces/fsl/tests/test_auto_PercentileImage.py b/nipype/interfaces/fsl/tests/test_auto_PercentileImage.py index 4e08c18db0..1b93e4f422 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PercentileImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_PercentileImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import PercentileImage diff --git a/nipype/interfaces/fsl/tests/test_auto_PlotMotionParams.py b/nipype/interfaces/fsl/tests/test_auto_PlotMotionParams.py index 45a5b43945..a7203e2f57 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PlotMotionParams.py +++ b/nipype/interfaces/fsl/tests/test_auto_PlotMotionParams.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import PlotMotionParams diff --git a/nipype/interfaces/fsl/tests/test_auto_PlotTimeSeries.py b/nipype/interfaces/fsl/tests/test_auto_PlotTimeSeries.py index 62ced498e1..75da74289b 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PlotTimeSeries.py +++ b/nipype/interfaces/fsl/tests/test_auto_PlotTimeSeries.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import PlotTimeSeries diff --git a/nipype/interfaces/fsl/tests/test_auto_PowerSpectrum.py b/nipype/interfaces/fsl/tests/test_auto_PowerSpectrum.py index 18a812c00b..5a041a87ab 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PowerSpectrum.py +++ b/nipype/interfaces/fsl/tests/test_auto_PowerSpectrum.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import PowerSpectrum diff --git a/nipype/interfaces/fsl/tests/test_auto_PrepareFieldmap.py b/nipype/interfaces/fsl/tests/test_auto_PrepareFieldmap.py index 66bfd51fab..ffc3dfa055 100644 --- a/nipype/interfaces/fsl/tests/test_auto_PrepareFieldmap.py +++ b/nipype/interfaces/fsl/tests/test_auto_PrepareFieldmap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import PrepareFieldmap diff --git a/nipype/interfaces/fsl/tests/test_auto_ProbTrackX.py b/nipype/interfaces/fsl/tests/test_auto_ProbTrackX.py index 5368d0dd37..25d8926359 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ProbTrackX.py +++ b/nipype/interfaces/fsl/tests/test_auto_ProbTrackX.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ProbTrackX diff --git a/nipype/interfaces/fsl/tests/test_auto_ProbTrackX2.py b/nipype/interfaces/fsl/tests/test_auto_ProbTrackX2.py index 8592b5ae1a..8b2095eb7f 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ProbTrackX2.py +++ b/nipype/interfaces/fsl/tests/test_auto_ProbTrackX2.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ProbTrackX2 diff --git a/nipype/interfaces/fsl/tests/test_auto_ProjThresh.py b/nipype/interfaces/fsl/tests/test_auto_ProjThresh.py index dc3878e2c0..304beace0d 100644 --- a/nipype/interfaces/fsl/tests/test_auto_ProjThresh.py +++ b/nipype/interfaces/fsl/tests/test_auto_ProjThresh.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import ProjThresh diff --git a/nipype/interfaces/fsl/tests/test_auto_Randomise.py b/nipype/interfaces/fsl/tests/test_auto_Randomise.py index 3d52347265..48e7c0cfad 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Randomise.py +++ b/nipype/interfaces/fsl/tests/test_auto_Randomise.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Randomise diff --git a/nipype/interfaces/fsl/tests/test_auto_Reorient2Std.py b/nipype/interfaces/fsl/tests/test_auto_Reorient2Std.py index 76647d82d8..a6a028f3f8 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Reorient2Std.py +++ b/nipype/interfaces/fsl/tests/test_auto_Reorient2Std.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Reorient2Std diff --git a/nipype/interfaces/fsl/tests/test_auto_RobustFOV.py b/nipype/interfaces/fsl/tests/test_auto_RobustFOV.py index e1cbac6fc9..b23b6a30cb 100644 --- a/nipype/interfaces/fsl/tests/test_auto_RobustFOV.py +++ b/nipype/interfaces/fsl/tests/test_auto_RobustFOV.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import RobustFOV diff --git a/nipype/interfaces/fsl/tests/test_auto_SMM.py b/nipype/interfaces/fsl/tests/test_auto_SMM.py index 1e1cc308cc..28ac3b4d64 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SMM.py +++ b/nipype/interfaces/fsl/tests/test_auto_SMM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import SMM diff --git a/nipype/interfaces/fsl/tests/test_auto_SUSAN.py b/nipype/interfaces/fsl/tests/test_auto_SUSAN.py index ebbef0d427..256596c806 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SUSAN.py +++ b/nipype/interfaces/fsl/tests/test_auto_SUSAN.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SUSAN diff --git a/nipype/interfaces/fsl/tests/test_auto_SigLoss.py b/nipype/interfaces/fsl/tests/test_auto_SigLoss.py index f3be97b350..d59dc2f6ac 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SigLoss.py +++ b/nipype/interfaces/fsl/tests/test_auto_SigLoss.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SigLoss diff --git a/nipype/interfaces/fsl/tests/test_auto_Slice.py b/nipype/interfaces/fsl/tests/test_auto_Slice.py index d1e9093e37..11d4b8ad01 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Slice.py +++ b/nipype/interfaces/fsl/tests/test_auto_Slice.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Slice diff --git a/nipype/interfaces/fsl/tests/test_auto_SliceTimer.py b/nipype/interfaces/fsl/tests/test_auto_SliceTimer.py index 75b9918ad9..e57ab30d3b 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SliceTimer.py +++ b/nipype/interfaces/fsl/tests/test_auto_SliceTimer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SliceTimer diff --git a/nipype/interfaces/fsl/tests/test_auto_Slicer.py b/nipype/interfaces/fsl/tests/test_auto_Slicer.py index d313cda474..8220b0090c 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Slicer.py +++ b/nipype/interfaces/fsl/tests/test_auto_Slicer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Slicer diff --git a/nipype/interfaces/fsl/tests/test_auto_Smooth.py b/nipype/interfaces/fsl/tests/test_auto_Smooth.py index e8d8e06117..529e972370 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Smooth.py +++ b/nipype/interfaces/fsl/tests/test_auto_Smooth.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Smooth diff --git a/nipype/interfaces/fsl/tests/test_auto_SmoothEstimate.py b/nipype/interfaces/fsl/tests/test_auto_SmoothEstimate.py index df7544f931..b09a40ffc5 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SmoothEstimate.py +++ b/nipype/interfaces/fsl/tests/test_auto_SmoothEstimate.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import SmoothEstimate diff --git a/nipype/interfaces/fsl/tests/test_auto_SpatialFilter.py b/nipype/interfaces/fsl/tests/test_auto_SpatialFilter.py index d62f904655..8e2101a897 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SpatialFilter.py +++ b/nipype/interfaces/fsl/tests/test_auto_SpatialFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import SpatialFilter diff --git a/nipype/interfaces/fsl/tests/test_auto_Split.py b/nipype/interfaces/fsl/tests/test_auto_Split.py index cec2ab462d..234c556ff2 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Split.py +++ b/nipype/interfaces/fsl/tests/test_auto_Split.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Split diff --git a/nipype/interfaces/fsl/tests/test_auto_StdImage.py b/nipype/interfaces/fsl/tests/test_auto_StdImage.py index 302ab9c4c2..0837f10367 100644 --- a/nipype/interfaces/fsl/tests/test_auto_StdImage.py +++ b/nipype/interfaces/fsl/tests/test_auto_StdImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import StdImage diff --git a/nipype/interfaces/fsl/tests/test_auto_SwapDimensions.py b/nipype/interfaces/fsl/tests/test_auto_SwapDimensions.py index 7cbb57491c..ade3c61f5b 100644 --- a/nipype/interfaces/fsl/tests/test_auto_SwapDimensions.py +++ b/nipype/interfaces/fsl/tests/test_auto_SwapDimensions.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import SwapDimensions diff --git a/nipype/interfaces/fsl/tests/test_auto_TOPUP.py b/nipype/interfaces/fsl/tests/test_auto_TOPUP.py index 0e7e89e4e3..1efe1d5103 100644 --- a/nipype/interfaces/fsl/tests/test_auto_TOPUP.py +++ b/nipype/interfaces/fsl/tests/test_auto_TOPUP.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..epi import TOPUP diff --git a/nipype/interfaces/fsl/tests/test_auto_TemporalFilter.py b/nipype/interfaces/fsl/tests/test_auto_TemporalFilter.py index c762b99d31..90c4c22ca1 100644 --- a/nipype/interfaces/fsl/tests/test_auto_TemporalFilter.py +++ b/nipype/interfaces/fsl/tests/test_auto_TemporalFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import TemporalFilter diff --git a/nipype/interfaces/fsl/tests/test_auto_Threshold.py b/nipype/interfaces/fsl/tests/test_auto_Threshold.py index 5c2bb46cc8..a4f7a0a711 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Threshold.py +++ b/nipype/interfaces/fsl/tests/test_auto_Threshold.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import Threshold diff --git a/nipype/interfaces/fsl/tests/test_auto_TractSkeleton.py b/nipype/interfaces/fsl/tests/test_auto_TractSkeleton.py index 4308ee8153..7944dfb867 100644 --- a/nipype/interfaces/fsl/tests/test_auto_TractSkeleton.py +++ b/nipype/interfaces/fsl/tests/test_auto_TractSkeleton.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import TractSkeleton diff --git a/nipype/interfaces/fsl/tests/test_auto_Training.py b/nipype/interfaces/fsl/tests/test_auto_Training.py index 91d48e4c01..f289ba0ad8 100644 --- a/nipype/interfaces/fsl/tests/test_auto_Training.py +++ b/nipype/interfaces/fsl/tests/test_auto_Training.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import Training diff --git a/nipype/interfaces/fsl/tests/test_auto_TrainingSetCreator.py b/nipype/interfaces/fsl/tests/test_auto_TrainingSetCreator.py index 18ef078a79..04fc159c77 100644 --- a/nipype/interfaces/fsl/tests/test_auto_TrainingSetCreator.py +++ b/nipype/interfaces/fsl/tests/test_auto_TrainingSetCreator.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fix import TrainingSetCreator diff --git a/nipype/interfaces/fsl/tests/test_auto_UnaryMaths.py b/nipype/interfaces/fsl/tests/test_auto_UnaryMaths.py index a0dcf2610d..4b20b45ef9 100644 --- a/nipype/interfaces/fsl/tests/test_auto_UnaryMaths.py +++ b/nipype/interfaces/fsl/tests/test_auto_UnaryMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import UnaryMaths diff --git a/nipype/interfaces/fsl/tests/test_auto_VecReg.py b/nipype/interfaces/fsl/tests/test_auto_VecReg.py index 61a28f7369..cf307fedb7 100644 --- a/nipype/interfaces/fsl/tests/test_auto_VecReg.py +++ b/nipype/interfaces/fsl/tests/test_auto_VecReg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import VecReg diff --git a/nipype/interfaces/fsl/tests/test_auto_WarpPoints.py b/nipype/interfaces/fsl/tests/test_auto_WarpPoints.py index 30924223cf..3d7df8f05e 100644 --- a/nipype/interfaces/fsl/tests/test_auto_WarpPoints.py +++ b/nipype/interfaces/fsl/tests/test_auto_WarpPoints.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import WarpPoints diff --git a/nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py b/nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py index 627ef60ad6..52bfbeaf6d 100644 --- a/nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py +++ b/nipype/interfaces/fsl/tests/test_auto_WarpPointsFromStd.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import WarpPointsFromStd diff --git a/nipype/interfaces/fsl/tests/test_auto_WarpPointsToStd.py b/nipype/interfaces/fsl/tests/test_auto_WarpPointsToStd.py index 3d37ad1486..a1498acbc6 100644 --- a/nipype/interfaces/fsl/tests/test_auto_WarpPointsToStd.py +++ b/nipype/interfaces/fsl/tests/test_auto_WarpPointsToStd.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import WarpPointsToStd diff --git a/nipype/interfaces/fsl/tests/test_auto_WarpUtils.py b/nipype/interfaces/fsl/tests/test_auto_WarpUtils.py index 04d3a05f14..8e73a68622 100644 --- a/nipype/interfaces/fsl/tests/test_auto_WarpUtils.py +++ b/nipype/interfaces/fsl/tests/test_auto_WarpUtils.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import WarpUtils diff --git a/nipype/interfaces/fsl/tests/test_auto_XFibres5.py b/nipype/interfaces/fsl/tests/test_auto_XFibres5.py index d72bb3bb4b..9278dc95ba 100644 --- a/nipype/interfaces/fsl/tests/test_auto_XFibres5.py +++ b/nipype/interfaces/fsl/tests/test_auto_XFibres5.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dti import XFibres5 diff --git a/nipype/interfaces/minc/tests/test_auto_Average.py b/nipype/interfaces/minc/tests/test_auto_Average.py index 57bdc5ccd2..cac8c62a83 100644 --- a/nipype/interfaces/minc/tests/test_auto_Average.py +++ b/nipype/interfaces/minc/tests/test_auto_Average.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Average diff --git a/nipype/interfaces/minc/tests/test_auto_BBox.py b/nipype/interfaces/minc/tests/test_auto_BBox.py index a34aeab9b5..c721b1ba8f 100644 --- a/nipype/interfaces/minc/tests/test_auto_BBox.py +++ b/nipype/interfaces/minc/tests/test_auto_BBox.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import BBox diff --git a/nipype/interfaces/minc/tests/test_auto_Beast.py b/nipype/interfaces/minc/tests/test_auto_Beast.py index 4834cf3c4a..39359069ff 100644 --- a/nipype/interfaces/minc/tests/test_auto_Beast.py +++ b/nipype/interfaces/minc/tests/test_auto_Beast.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Beast diff --git a/nipype/interfaces/minc/tests/test_auto_BestLinReg.py b/nipype/interfaces/minc/tests/test_auto_BestLinReg.py index fb9061040a..e13ab5fd89 100644 --- a/nipype/interfaces/minc/tests/test_auto_BestLinReg.py +++ b/nipype/interfaces/minc/tests/test_auto_BestLinReg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import BestLinReg diff --git a/nipype/interfaces/minc/tests/test_auto_BigAverage.py b/nipype/interfaces/minc/tests/test_auto_BigAverage.py index ce1fb2b91e..fa098d09ba 100644 --- a/nipype/interfaces/minc/tests/test_auto_BigAverage.py +++ b/nipype/interfaces/minc/tests/test_auto_BigAverage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import BigAverage diff --git a/nipype/interfaces/minc/tests/test_auto_Blob.py b/nipype/interfaces/minc/tests/test_auto_Blob.py index b489ac944a..64de50fd2d 100644 --- a/nipype/interfaces/minc/tests/test_auto_Blob.py +++ b/nipype/interfaces/minc/tests/test_auto_Blob.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Blob diff --git a/nipype/interfaces/minc/tests/test_auto_Blur.py b/nipype/interfaces/minc/tests/test_auto_Blur.py index fb6e405012..387dcd05bc 100644 --- a/nipype/interfaces/minc/tests/test_auto_Blur.py +++ b/nipype/interfaces/minc/tests/test_auto_Blur.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Blur diff --git a/nipype/interfaces/minc/tests/test_auto_Calc.py b/nipype/interfaces/minc/tests/test_auto_Calc.py index 7bec782c1c..a6a8728d77 100644 --- a/nipype/interfaces/minc/tests/test_auto_Calc.py +++ b/nipype/interfaces/minc/tests/test_auto_Calc.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Calc diff --git a/nipype/interfaces/minc/tests/test_auto_Convert.py b/nipype/interfaces/minc/tests/test_auto_Convert.py index 6df596c682..b7b74c4620 100644 --- a/nipype/interfaces/minc/tests/test_auto_Convert.py +++ b/nipype/interfaces/minc/tests/test_auto_Convert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Convert diff --git a/nipype/interfaces/minc/tests/test_auto_Copy.py b/nipype/interfaces/minc/tests/test_auto_Copy.py index e91470ba6d..e9a2b8d2dc 100644 --- a/nipype/interfaces/minc/tests/test_auto_Copy.py +++ b/nipype/interfaces/minc/tests/test_auto_Copy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Copy diff --git a/nipype/interfaces/minc/tests/test_auto_Dump.py b/nipype/interfaces/minc/tests/test_auto_Dump.py index bcca2a4801..3b708d2405 100644 --- a/nipype/interfaces/minc/tests/test_auto_Dump.py +++ b/nipype/interfaces/minc/tests/test_auto_Dump.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Dump diff --git a/nipype/interfaces/minc/tests/test_auto_Extract.py b/nipype/interfaces/minc/tests/test_auto_Extract.py index 77126eac18..2f6e687345 100644 --- a/nipype/interfaces/minc/tests/test_auto_Extract.py +++ b/nipype/interfaces/minc/tests/test_auto_Extract.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Extract diff --git a/nipype/interfaces/minc/tests/test_auto_Gennlxfm.py b/nipype/interfaces/minc/tests/test_auto_Gennlxfm.py index c89dc65de6..963f35b74e 100644 --- a/nipype/interfaces/minc/tests/test_auto_Gennlxfm.py +++ b/nipype/interfaces/minc/tests/test_auto_Gennlxfm.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Gennlxfm diff --git a/nipype/interfaces/minc/tests/test_auto_Math.py b/nipype/interfaces/minc/tests/test_auto_Math.py index 1d011034d2..e5f33d7c5b 100644 --- a/nipype/interfaces/minc/tests/test_auto_Math.py +++ b/nipype/interfaces/minc/tests/test_auto_Math.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Math diff --git a/nipype/interfaces/minc/tests/test_auto_NlpFit.py b/nipype/interfaces/minc/tests/test_auto_NlpFit.py index 1a728a90dd..738fe6e81a 100644 --- a/nipype/interfaces/minc/tests/test_auto_NlpFit.py +++ b/nipype/interfaces/minc/tests/test_auto_NlpFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import NlpFit diff --git a/nipype/interfaces/minc/tests/test_auto_Norm.py b/nipype/interfaces/minc/tests/test_auto_Norm.py index 3a0d28f06d..1d9064a68f 100644 --- a/nipype/interfaces/minc/tests/test_auto_Norm.py +++ b/nipype/interfaces/minc/tests/test_auto_Norm.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Norm diff --git a/nipype/interfaces/minc/tests/test_auto_Pik.py b/nipype/interfaces/minc/tests/test_auto_Pik.py index d74d9a86ad..5e1e18ac50 100644 --- a/nipype/interfaces/minc/tests/test_auto_Pik.py +++ b/nipype/interfaces/minc/tests/test_auto_Pik.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Pik diff --git a/nipype/interfaces/minc/tests/test_auto_Resample.py b/nipype/interfaces/minc/tests/test_auto_Resample.py index bd00bd224d..ba713331b2 100644 --- a/nipype/interfaces/minc/tests/test_auto_Resample.py +++ b/nipype/interfaces/minc/tests/test_auto_Resample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Resample diff --git a/nipype/interfaces/minc/tests/test_auto_Reshape.py b/nipype/interfaces/minc/tests/test_auto_Reshape.py index 45e6ddeb4a..595f359570 100644 --- a/nipype/interfaces/minc/tests/test_auto_Reshape.py +++ b/nipype/interfaces/minc/tests/test_auto_Reshape.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Reshape diff --git a/nipype/interfaces/minc/tests/test_auto_ToEcat.py b/nipype/interfaces/minc/tests/test_auto_ToEcat.py index 26a3ac0436..d40da0386a 100644 --- a/nipype/interfaces/minc/tests/test_auto_ToEcat.py +++ b/nipype/interfaces/minc/tests/test_auto_ToEcat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import ToEcat diff --git a/nipype/interfaces/minc/tests/test_auto_ToRaw.py b/nipype/interfaces/minc/tests/test_auto_ToRaw.py index e010da322d..e0eec67253 100644 --- a/nipype/interfaces/minc/tests/test_auto_ToRaw.py +++ b/nipype/interfaces/minc/tests/test_auto_ToRaw.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import ToRaw diff --git a/nipype/interfaces/minc/tests/test_auto_VolSymm.py b/nipype/interfaces/minc/tests/test_auto_VolSymm.py index 048ffcde9b..403a321287 100644 --- a/nipype/interfaces/minc/tests/test_auto_VolSymm.py +++ b/nipype/interfaces/minc/tests/test_auto_VolSymm.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import VolSymm diff --git a/nipype/interfaces/minc/tests/test_auto_Volcentre.py b/nipype/interfaces/minc/tests/test_auto_Volcentre.py index b095751a4d..3d543b8c89 100644 --- a/nipype/interfaces/minc/tests/test_auto_Volcentre.py +++ b/nipype/interfaces/minc/tests/test_auto_Volcentre.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Volcentre diff --git a/nipype/interfaces/minc/tests/test_auto_Voliso.py b/nipype/interfaces/minc/tests/test_auto_Voliso.py index 967642a328..791b87063c 100644 --- a/nipype/interfaces/minc/tests/test_auto_Voliso.py +++ b/nipype/interfaces/minc/tests/test_auto_Voliso.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Voliso diff --git a/nipype/interfaces/minc/tests/test_auto_Volpad.py b/nipype/interfaces/minc/tests/test_auto_Volpad.py index 865bc79e69..6d329cc06d 100644 --- a/nipype/interfaces/minc/tests/test_auto_Volpad.py +++ b/nipype/interfaces/minc/tests/test_auto_Volpad.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import Volpad diff --git a/nipype/interfaces/minc/tests/test_auto_XfmAvg.py b/nipype/interfaces/minc/tests/test_auto_XfmAvg.py index 6d036a0c0e..0fff5457d9 100644 --- a/nipype/interfaces/minc/tests/test_auto_XfmAvg.py +++ b/nipype/interfaces/minc/tests/test_auto_XfmAvg.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import XfmAvg diff --git a/nipype/interfaces/minc/tests/test_auto_XfmConcat.py b/nipype/interfaces/minc/tests/test_auto_XfmConcat.py index eb748953ef..9bb744eeaa 100644 --- a/nipype/interfaces/minc/tests/test_auto_XfmConcat.py +++ b/nipype/interfaces/minc/tests/test_auto_XfmConcat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import XfmConcat diff --git a/nipype/interfaces/minc/tests/test_auto_XfmInvert.py b/nipype/interfaces/minc/tests/test_auto_XfmInvert.py index d729e90639..17d46f5bac 100644 --- a/nipype/interfaces/minc/tests/test_auto_XfmInvert.py +++ b/nipype/interfaces/minc/tests/test_auto_XfmInvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..minc import XfmInvert diff --git a/nipype/interfaces/mipav/tests/test_auto_JistBrainMgdmSegmentation.py b/nipype/interfaces/mipav/tests/test_auto_JistBrainMgdmSegmentation.py index 16605acbb7..2509fd3ba7 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistBrainMgdmSegmentation.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistBrainMgdmSegmentation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistBrainMgdmSegmentation diff --git a/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageDuraEstimation.py b/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageDuraEstimation.py index ebb65bb789..f84dad9746 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageDuraEstimation.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageDuraEstimation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistBrainMp2rageDuraEstimation diff --git a/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageSkullStripping.py b/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageSkullStripping.py index abf794b662..69ae55f9f8 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageSkullStripping.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistBrainMp2rageSkullStripping.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistBrainMp2rageSkullStripping diff --git a/nipype/interfaces/mipav/tests/test_auto_JistBrainPartialVolumeFilter.py b/nipype/interfaces/mipav/tests/test_auto_JistBrainPartialVolumeFilter.py index bb86144c20..28ba9e10c4 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistBrainPartialVolumeFilter.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistBrainPartialVolumeFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistBrainPartialVolumeFilter diff --git a/nipype/interfaces/mipav/tests/test_auto_JistCortexSurfaceMeshInflation.py b/nipype/interfaces/mipav/tests/test_auto_JistCortexSurfaceMeshInflation.py index 407b9755ca..bac8f5795b 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistCortexSurfaceMeshInflation.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistCortexSurfaceMeshInflation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistCortexSurfaceMeshInflation diff --git a/nipype/interfaces/mipav/tests/test_auto_JistIntensityMp2rageMasking.py b/nipype/interfaces/mipav/tests/test_auto_JistIntensityMp2rageMasking.py index bfdace4944..14b19475fe 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistIntensityMp2rageMasking.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistIntensityMp2rageMasking.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistIntensityMp2rageMasking diff --git a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileCalculator.py b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileCalculator.py index 12203a1aa6..c8714765e3 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileCalculator.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileCalculator.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistLaminarProfileCalculator diff --git a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileGeometry.py b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileGeometry.py index ddc4d5d922..a1c10a2b49 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileGeometry.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileGeometry.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistLaminarProfileGeometry diff --git a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileSampling.py b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileSampling.py index 58de472b85..401fd56ddf 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileSampling.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistLaminarProfileSampling.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistLaminarProfileSampling diff --git a/nipype/interfaces/mipav/tests/test_auto_JistLaminarROIAveraging.py b/nipype/interfaces/mipav/tests/test_auto_JistLaminarROIAveraging.py index bb9577ccee..0c313ce894 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistLaminarROIAveraging.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistLaminarROIAveraging.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistLaminarROIAveraging diff --git a/nipype/interfaces/mipav/tests/test_auto_JistLaminarVolumetricLayering.py b/nipype/interfaces/mipav/tests/test_auto_JistLaminarVolumetricLayering.py index 4aa9f9d77b..deabdeb78f 100644 --- a/nipype/interfaces/mipav/tests/test_auto_JistLaminarVolumetricLayering.py +++ b/nipype/interfaces/mipav/tests/test_auto_JistLaminarVolumetricLayering.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import JistLaminarVolumetricLayering diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmImageCalculator.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmImageCalculator.py index 016beee263..8e598046de 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmImageCalculator.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmImageCalculator.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmImageCalculator diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmLesionToads.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmLesionToads.py index 87f9ab6a72..234cbfded2 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmLesionToads.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmLesionToads.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmLesionToads diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmMipavReorient.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmMipavReorient.py index 7c8c7248ad..03c6a65230 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmMipavReorient.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmMipavReorient.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmMipavReorient diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmN3.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmN3.py index 9d5a148a24..59fe4a64fa 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmN3.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmN3.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmN3 diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmSPECTRE2010.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmSPECTRE2010.py index b2d247e9dc..a2cb0c4c95 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmSPECTRE2010.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmSPECTRE2010.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmSPECTRE2010 diff --git a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmThresholdToBinaryMask.py b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmThresholdToBinaryMask.py index b498025401..e4bfae7e0f 100644 --- a/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmThresholdToBinaryMask.py +++ b/nipype/interfaces/mipav/tests/test_auto_MedicAlgorithmThresholdToBinaryMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import MedicAlgorithmThresholdToBinaryMask diff --git a/nipype/interfaces/mipav/tests/test_auto_RandomVol.py b/nipype/interfaces/mipav/tests/test_auto_RandomVol.py index d3d92142c4..0508164c2b 100644 --- a/nipype/interfaces/mipav/tests/test_auto_RandomVol.py +++ b/nipype/interfaces/mipav/tests/test_auto_RandomVol.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..developer import RandomVol diff --git a/nipype/interfaces/mixins/tests/test_auto_ReportCapableInterface.py b/nipype/interfaces/mixins/tests/test_auto_ReportCapableInterface.py index 8985d7069d..0cf527114b 100644 --- a/nipype/interfaces/mixins/tests/test_auto_ReportCapableInterface.py +++ b/nipype/interfaces/mixins/tests/test_auto_ReportCapableInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reporting import ReportCapableInterface diff --git a/nipype/interfaces/mne/tests/test_auto_WatershedBEM.py b/nipype/interfaces/mne/tests/test_auto_WatershedBEM.py index 4ced8de75a..608f47ee8e 100644 --- a/nipype/interfaces/mne/tests/test_auto_WatershedBEM.py +++ b/nipype/interfaces/mne/tests/test_auto_WatershedBEM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import WatershedBEM diff --git a/nipype/interfaces/mrtrix/tests/test_auto_ConstrainedSphericalDeconvolution.py b/nipype/interfaces/mrtrix/tests/test_auto_ConstrainedSphericalDeconvolution.py index 78a275f6a7..5d5174f851 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_ConstrainedSphericalDeconvolution.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_ConstrainedSphericalDeconvolution.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import ConstrainedSphericalDeconvolution diff --git a/nipype/interfaces/mrtrix/tests/test_auto_DWI2SphericalHarmonicsImage.py b/nipype/interfaces/mrtrix/tests/test_auto_DWI2SphericalHarmonicsImage.py index dc95cff525..b49c0ca795 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_DWI2SphericalHarmonicsImage.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_DWI2SphericalHarmonicsImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import DWI2SphericalHarmonicsImage diff --git a/nipype/interfaces/mrtrix/tests/test_auto_DWI2Tensor.py b/nipype/interfaces/mrtrix/tests/test_auto_DWI2Tensor.py index 86975950bf..df7415c752 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_DWI2Tensor.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_DWI2Tensor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DWI2Tensor diff --git a/nipype/interfaces/mrtrix/tests/test_auto_DiffusionTensorStreamlineTrack.py b/nipype/interfaces/mrtrix/tests/test_auto_DiffusionTensorStreamlineTrack.py index 2c6417fe3a..23b3919efc 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_DiffusionTensorStreamlineTrack.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_DiffusionTensorStreamlineTrack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import DiffusionTensorStreamlineTrack diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Directions2Amplitude.py b/nipype/interfaces/mrtrix/tests/test_auto_Directions2Amplitude.py index b5474bd18c..27727079bd 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Directions2Amplitude.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Directions2Amplitude.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import Directions2Amplitude diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Erode.py b/nipype/interfaces/mrtrix/tests/test_auto_Erode.py index 6215593ab0..bdfe3da696 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Erode.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Erode.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Erode diff --git a/nipype/interfaces/mrtrix/tests/test_auto_EstimateResponseForSH.py b/nipype/interfaces/mrtrix/tests/test_auto_EstimateResponseForSH.py index 983433104e..8bff6e7ec9 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_EstimateResponseForSH.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_EstimateResponseForSH.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import EstimateResponseForSH diff --git a/nipype/interfaces/mrtrix/tests/test_auto_FSL2MRTrix.py b/nipype/interfaces/mrtrix/tests/test_auto_FSL2MRTrix.py index 6261b6b0a5..a378d9b894 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_FSL2MRTrix.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_FSL2MRTrix.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import FSL2MRTrix diff --git a/nipype/interfaces/mrtrix/tests/test_auto_FilterTracks.py b/nipype/interfaces/mrtrix/tests/test_auto_FilterTracks.py index 6e0e670d06..1cf7d566df 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_FilterTracks.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_FilterTracks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import FilterTracks diff --git a/nipype/interfaces/mrtrix/tests/test_auto_FindShPeaks.py b/nipype/interfaces/mrtrix/tests/test_auto_FindShPeaks.py index 5d9f51739c..19ad75e155 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_FindShPeaks.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_FindShPeaks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import FindShPeaks diff --git a/nipype/interfaces/mrtrix/tests/test_auto_GenerateDirections.py b/nipype/interfaces/mrtrix/tests/test_auto_GenerateDirections.py index 2cfd89bb6f..0f10bb12ef 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_GenerateDirections.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_GenerateDirections.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tensors import GenerateDirections diff --git a/nipype/interfaces/mrtrix/tests/test_auto_GenerateWhiteMatterMask.py b/nipype/interfaces/mrtrix/tests/test_auto_GenerateWhiteMatterMask.py index 6a0305f9e2..e48de0b988 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_GenerateWhiteMatterMask.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_GenerateWhiteMatterMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import GenerateWhiteMatterMask diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRConvert.py b/nipype/interfaces/mrtrix/tests/test_auto_MRConvert.py index 5aef0bfd13..0571338f35 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRConvert.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRConvert diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRMultiply.py b/nipype/interfaces/mrtrix/tests/test_auto_MRMultiply.py index a5a864289a..47d8bbe3cd 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRMultiply.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRMultiply.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRMultiply diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRTransform.py b/nipype/interfaces/mrtrix/tests/test_auto_MRTransform.py index d6a3db0a1d..36fd18a64a 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRTransform.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRTransform diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRTrix2TrackVis.py b/nipype/interfaces/mrtrix/tests/test_auto_MRTrix2TrackVis.py index b6fefac9a0..bbcddcb9ff 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRTrix2TrackVis.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRTrix2TrackVis.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..convert import MRTrix2TrackVis diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRTrixInfo.py b/nipype/interfaces/mrtrix/tests/test_auto_MRTrixInfo.py index 0022de4d7a..c4997d1c56 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRTrixInfo.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRTrixInfo.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRTrixInfo diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MRTrixViewer.py b/nipype/interfaces/mrtrix/tests/test_auto_MRTrixViewer.py index 117258ea17..dd8b6066c3 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MRTrixViewer.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MRTrixViewer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MRTrixViewer diff --git a/nipype/interfaces/mrtrix/tests/test_auto_MedianFilter3D.py b/nipype/interfaces/mrtrix/tests/test_auto_MedianFilter3D.py index 0e7daabcaa..61e970205f 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_MedianFilter3D.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_MedianFilter3D.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import MedianFilter3D diff --git a/nipype/interfaces/mrtrix/tests/test_auto_ProbabilisticSphericallyDeconvolutedStreamlineTrack.py b/nipype/interfaces/mrtrix/tests/test_auto_ProbabilisticSphericallyDeconvolutedStreamlineTrack.py index 6d75b1b9a2..f1e8b4cfe9 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_ProbabilisticSphericallyDeconvolutedStreamlineTrack.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_ProbabilisticSphericallyDeconvolutedStreamlineTrack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import ProbabilisticSphericallyDeconvolutedStreamlineTrack diff --git a/nipype/interfaces/mrtrix/tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py b/nipype/interfaces/mrtrix/tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py index 9bed95276d..4b43c39f81 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_SphericallyDeconvolutedStreamlineTrack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import SphericallyDeconvolutedStreamlineTrack diff --git a/nipype/interfaces/mrtrix/tests/test_auto_StreamlineTrack.py b/nipype/interfaces/mrtrix/tests/test_auto_StreamlineTrack.py index c898a60eb3..90c75c1898 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_StreamlineTrack.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_StreamlineTrack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import StreamlineTrack diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2ApparentDiffusion.py b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2ApparentDiffusion.py index e9546d7e90..88a10dea3a 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2ApparentDiffusion.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2ApparentDiffusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Tensor2ApparentDiffusion diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2FractionalAnisotropy.py b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2FractionalAnisotropy.py index d16a907f62..46743e3baa 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2FractionalAnisotropy.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2FractionalAnisotropy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Tensor2FractionalAnisotropy diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2Vector.py b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2Vector.py index c07d0a8db4..58fcde0c67 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Tensor2Vector.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Tensor2Vector.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Tensor2Vector diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Threshold.py b/nipype/interfaces/mrtrix/tests/test_auto_Threshold.py index 39fbf14d2c..0386944098 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Threshold.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Threshold.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Threshold diff --git a/nipype/interfaces/mrtrix/tests/test_auto_Tracks2Prob.py b/nipype/interfaces/mrtrix/tests/test_auto_Tracks2Prob.py index f984203ab1..740c2d630e 100644 --- a/nipype/interfaces/mrtrix/tests/test_auto_Tracks2Prob.py +++ b/nipype/interfaces/mrtrix/tests/test_auto_Tracks2Prob.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import Tracks2Prob diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_ACTPrepareFSL.py b/nipype/interfaces/mrtrix3/tests/test_auto_ACTPrepareFSL.py index abb3ba6831..ac3a785653 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_ACTPrepareFSL.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_ACTPrepareFSL.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ACTPrepareFSL diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py b/nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py index c318be0bfd..219ccd1c03 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import BrainMask diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py b/nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py index 95e5797d06..4141963083 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..connectivity import BuildConnectome diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py b/nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py index 38369e8fe5..3a798ab548 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ComputeTDI diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_DWIDenoise.py b/nipype/interfaces/mrtrix3/tests/test_auto_DWIDenoise.py index 769ccb34a9..bdeced9977 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_DWIDenoise.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_DWIDenoise.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DWIDenoise diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_DWIExtract.py b/nipype/interfaces/mrtrix3/tests/test_auto_DWIExtract.py index 0114c5efe0..a17705c4c2 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_DWIExtract.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_DWIExtract.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import DWIExtract diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py b/nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py index a5c152e928..3fd0563014 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reconst import EstimateFOD diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py b/nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py index 40b7baa931..4e2b661c87 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reconst import FitTensor diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_Generate5tt.py b/nipype/interfaces/mrtrix3/tests/test_auto_Generate5tt.py index dcfbe1fc6f..fa264daba6 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_Generate5tt.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_Generate5tt.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Generate5tt diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py b/nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py index 2de0e6c115..7ba6316b1b 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..connectivity import LabelConfig diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_LabelConvert.py b/nipype/interfaces/mrtrix3/tests/test_auto_LabelConvert.py index 1e93ae82d8..ea927fa6f3 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_LabelConvert.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_LabelConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..connectivity import LabelConvert diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_MRConvert.py b/nipype/interfaces/mrtrix3/tests/test_auto_MRConvert.py index ece24e1d47..267fa4cfb5 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_MRConvert.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_MRConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRConvert diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_MRMath.py b/nipype/interfaces/mrtrix3/tests/test_auto_MRMath.py index eec06b6276..ecb3a92136 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_MRMath.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_MRMath.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import MRMath diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_MRTrix3Base.py b/nipype/interfaces/mrtrix3/tests/test_auto_MRTrix3Base.py index 453baa053a..ed91143ab8 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_MRTrix3Base.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_MRTrix3Base.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import MRTrix3Base diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_Mesh2PVE.py b/nipype/interfaces/mrtrix3/tests/test_auto_Mesh2PVE.py index 9aa29acbe8..dfe1a3dc45 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_Mesh2PVE.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_Mesh2PVE.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Mesh2PVE diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_ReplaceFSwithFIRST.py b/nipype/interfaces/mrtrix3/tests/test_auto_ReplaceFSwithFIRST.py index 502a0f7fb1..2a14e85298 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_ReplaceFSwithFIRST.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_ReplaceFSwithFIRST.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ReplaceFSwithFIRST diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py b/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py index 027527ec85..34dbea9f3b 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ResponseSD diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_TCK2VTK.py b/nipype/interfaces/mrtrix3/tests/test_auto_TCK2VTK.py index 93a39484f8..a77a2a27be 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_TCK2VTK.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_TCK2VTK.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TCK2VTK diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_TensorMetrics.py b/nipype/interfaces/mrtrix3/tests/test_auto_TensorMetrics.py index ae532c9910..8b3e93a6c3 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_TensorMetrics.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_TensorMetrics.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import TensorMetrics diff --git a/nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py b/nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py index dff5c783ee..876b186e50 100644 --- a/nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py +++ b/nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..tracking import Tractography diff --git a/nipype/interfaces/niftyfit/tests/test_auto_DwiTool.py b/nipype/interfaces/niftyfit/tests/test_auto_DwiTool.py index 20995e806e..05e25c730a 100644 --- a/nipype/interfaces/niftyfit/tests/test_auto_DwiTool.py +++ b/nipype/interfaces/niftyfit/tests/test_auto_DwiTool.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dwi import DwiTool diff --git a/nipype/interfaces/niftyfit/tests/test_auto_FitAsl.py b/nipype/interfaces/niftyfit/tests/test_auto_FitAsl.py index b2e1bef961..b2bd425dd1 100644 --- a/nipype/interfaces/niftyfit/tests/test_auto_FitAsl.py +++ b/nipype/interfaces/niftyfit/tests/test_auto_FitAsl.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..asl import FitAsl diff --git a/nipype/interfaces/niftyfit/tests/test_auto_FitDwi.py b/nipype/interfaces/niftyfit/tests/test_auto_FitDwi.py index 700d9a31c4..5818011320 100644 --- a/nipype/interfaces/niftyfit/tests/test_auto_FitDwi.py +++ b/nipype/interfaces/niftyfit/tests/test_auto_FitDwi.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dwi import FitDwi diff --git a/nipype/interfaces/niftyfit/tests/test_auto_FitQt1.py b/nipype/interfaces/niftyfit/tests/test_auto_FitQt1.py index 0505ee514c..0ff9e86002 100644 --- a/nipype/interfaces/niftyfit/tests/test_auto_FitQt1.py +++ b/nipype/interfaces/niftyfit/tests/test_auto_FitQt1.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..qt1 import FitQt1 diff --git a/nipype/interfaces/niftyfit/tests/test_auto_NiftyFitCommand.py b/nipype/interfaces/niftyfit/tests/test_auto_NiftyFitCommand.py index 6bfeb3c9d3..83d600d26e 100644 --- a/nipype/interfaces/niftyfit/tests/test_auto_NiftyFitCommand.py +++ b/nipype/interfaces/niftyfit/tests/test_auto_NiftyFitCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import NiftyFitCommand diff --git a/nipype/interfaces/niftyreg/tests/test_auto_NiftyRegCommand.py b/nipype/interfaces/niftyreg/tests/test_auto_NiftyRegCommand.py index 89615b50d7..016ca5654b 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_NiftyRegCommand.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_NiftyRegCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import NiftyRegCommand diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegAladin.py b/nipype/interfaces/niftyreg/tests/test_auto_RegAladin.py index 9507f53fa9..8e738c1367 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegAladin.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegAladin.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reg import RegAladin diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegAverage.py b/nipype/interfaces/niftyreg/tests/test_auto_RegAverage.py index 2510a46eb8..2f27151bae 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegAverage.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegAverage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegAverage diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegF3D.py b/nipype/interfaces/niftyreg/tests/test_auto_RegF3D.py index e9bdab82c0..461f34396d 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegF3D.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegF3D.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..reg import RegF3D diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegJacobian.py b/nipype/interfaces/niftyreg/tests/test_auto_RegJacobian.py index 63f917c683..32bdfc32fe 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegJacobian.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegJacobian.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegJacobian diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegMeasure.py b/nipype/interfaces/niftyreg/tests/test_auto_RegMeasure.py index 3321d87afc..90120a754e 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegMeasure.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegMeasure.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegMeasure diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegResample.py b/nipype/interfaces/niftyreg/tests/test_auto_RegResample.py index 06b2b48401..e461075031 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegResample.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegResample diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegTools.py b/nipype/interfaces/niftyreg/tests/test_auto_RegTools.py index 5deb4206e6..78a08213ec 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegTools.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegTools.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegTools diff --git a/nipype/interfaces/niftyreg/tests/test_auto_RegTransform.py b/nipype/interfaces/niftyreg/tests/test_auto_RegTransform.py index 57c1b0ad86..9b0befc6ec 100644 --- a/nipype/interfaces/niftyreg/tests/test_auto_RegTransform.py +++ b/nipype/interfaces/niftyreg/tests/test_auto_RegTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..regutils import RegTransform diff --git a/nipype/interfaces/niftyseg/tests/test_auto_BinaryMaths.py b/nipype/interfaces/niftyseg/tests/test_auto_BinaryMaths.py index cc7bc896c6..54cb50ea76 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_BinaryMaths.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_BinaryMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import BinaryMaths diff --git a/nipype/interfaces/niftyseg/tests/test_auto_BinaryMathsInteger.py b/nipype/interfaces/niftyseg/tests/test_auto_BinaryMathsInteger.py index 464ed6f6c4..e7f7eaa625 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_BinaryMathsInteger.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_BinaryMathsInteger.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import BinaryMathsInteger diff --git a/nipype/interfaces/niftyseg/tests/test_auto_BinaryStats.py b/nipype/interfaces/niftyseg/tests/test_auto_BinaryStats.py index 0771d72f5c..c6f159bcd4 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_BinaryStats.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_BinaryStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..stats import BinaryStats diff --git a/nipype/interfaces/niftyseg/tests/test_auto_CalcTopNCC.py b/nipype/interfaces/niftyseg/tests/test_auto_CalcTopNCC.py index dceea837c0..11a503c98b 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_CalcTopNCC.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_CalcTopNCC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..label_fusion import CalcTopNCC diff --git a/nipype/interfaces/niftyseg/tests/test_auto_EM.py b/nipype/interfaces/niftyseg/tests/test_auto_EM.py index fc270ed22f..54b50ff7a1 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_EM.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_EM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..em import EM diff --git a/nipype/interfaces/niftyseg/tests/test_auto_FillLesions.py b/nipype/interfaces/niftyseg/tests/test_auto_FillLesions.py index 7cbfe58c6c..cc20deefc7 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_FillLesions.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_FillLesions.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..lesions import FillLesions diff --git a/nipype/interfaces/niftyseg/tests/test_auto_LabelFusion.py b/nipype/interfaces/niftyseg/tests/test_auto_LabelFusion.py index eea345e1df..d31f7819a0 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_LabelFusion.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_LabelFusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..label_fusion import LabelFusion diff --git a/nipype/interfaces/niftyseg/tests/test_auto_MathsCommand.py b/nipype/interfaces/niftyseg/tests/test_auto_MathsCommand.py index 247dc9773e..f0ad3cf9ae 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_MathsCommand.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_MathsCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import MathsCommand diff --git a/nipype/interfaces/niftyseg/tests/test_auto_Merge.py b/nipype/interfaces/niftyseg/tests/test_auto_Merge.py index c53e4edf40..80726439eb 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_Merge.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_Merge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import Merge diff --git a/nipype/interfaces/niftyseg/tests/test_auto_NiftySegCommand.py b/nipype/interfaces/niftyseg/tests/test_auto_NiftySegCommand.py index d840a40b2a..c0d36cdfe6 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_NiftySegCommand.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_NiftySegCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import NiftySegCommand diff --git a/nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py b/nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py index bfeded6eef..755e674226 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..patchmatch import PatchMatch diff --git a/nipype/interfaces/niftyseg/tests/test_auto_StatsCommand.py b/nipype/interfaces/niftyseg/tests/test_auto_StatsCommand.py index e845e18952..205b78f01e 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_StatsCommand.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_StatsCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..stats import StatsCommand diff --git a/nipype/interfaces/niftyseg/tests/test_auto_TupleMaths.py b/nipype/interfaces/niftyseg/tests/test_auto_TupleMaths.py index 7241264eee..baf7c8b7d8 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_TupleMaths.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_TupleMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import TupleMaths diff --git a/nipype/interfaces/niftyseg/tests/test_auto_UnaryMaths.py b/nipype/interfaces/niftyseg/tests/test_auto_UnaryMaths.py index 9b1cd7d194..95d8ac7109 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_UnaryMaths.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_UnaryMaths.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maths import UnaryMaths diff --git a/nipype/interfaces/niftyseg/tests/test_auto_UnaryStats.py b/nipype/interfaces/niftyseg/tests/test_auto_UnaryStats.py index 34edf1a190..b13f94a864 100644 --- a/nipype/interfaces/niftyseg/tests/test_auto_UnaryStats.py +++ b/nipype/interfaces/niftyseg/tests/test_auto_UnaryStats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..stats import UnaryStats diff --git a/nipype/interfaces/nipy/tests/test_auto_ComputeMask.py b/nipype/interfaces/nipy/tests/test_auto_ComputeMask.py index f0f2453274..c68597b5bb 100644 --- a/nipype/interfaces/nipy/tests/test_auto_ComputeMask.py +++ b/nipype/interfaces/nipy/tests/test_auto_ComputeMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ComputeMask diff --git a/nipype/interfaces/nipy/tests/test_auto_EstimateContrast.py b/nipype/interfaces/nipy/tests/test_auto_EstimateContrast.py index 383d1cbea3..880d01c70d 100644 --- a/nipype/interfaces/nipy/tests/test_auto_EstimateContrast.py +++ b/nipype/interfaces/nipy/tests/test_auto_EstimateContrast.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import EstimateContrast diff --git a/nipype/interfaces/nipy/tests/test_auto_FitGLM.py b/nipype/interfaces/nipy/tests/test_auto_FitGLM.py index 4ac3aa720e..64fd0a863d 100644 --- a/nipype/interfaces/nipy/tests/test_auto_FitGLM.py +++ b/nipype/interfaces/nipy/tests/test_auto_FitGLM.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FitGLM diff --git a/nipype/interfaces/nipy/tests/test_auto_NipyBaseInterface.py b/nipype/interfaces/nipy/tests/test_auto_NipyBaseInterface.py index ca91500995..64df6d9636 100644 --- a/nipype/interfaces/nipy/tests/test_auto_NipyBaseInterface.py +++ b/nipype/interfaces/nipy/tests/test_auto_NipyBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import NipyBaseInterface diff --git a/nipype/interfaces/nipy/tests/test_auto_Similarity.py b/nipype/interfaces/nipy/tests/test_auto_Similarity.py index fbdb6fffa6..484f5ded3d 100644 --- a/nipype/interfaces/nipy/tests/test_auto_Similarity.py +++ b/nipype/interfaces/nipy/tests/test_auto_Similarity.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Similarity diff --git a/nipype/interfaces/nipy/tests/test_auto_SpaceTimeRealigner.py b/nipype/interfaces/nipy/tests/test_auto_SpaceTimeRealigner.py index fca6664a49..c511737c70 100644 --- a/nipype/interfaces/nipy/tests/test_auto_SpaceTimeRealigner.py +++ b/nipype/interfaces/nipy/tests/test_auto_SpaceTimeRealigner.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SpaceTimeRealigner diff --git a/nipype/interfaces/nipy/tests/test_auto_Trim.py b/nipype/interfaces/nipy/tests/test_auto_Trim.py index 6073c9082b..1d8ba8aefb 100644 --- a/nipype/interfaces/nipy/tests/test_auto_Trim.py +++ b/nipype/interfaces/nipy/tests/test_auto_Trim.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Trim diff --git a/nipype/interfaces/nitime/tests/test_auto_CoherenceAnalyzer.py b/nipype/interfaces/nitime/tests/test_auto_CoherenceAnalyzer.py index 4a641ebb50..01ee867470 100644 --- a/nipype/interfaces/nitime/tests/test_auto_CoherenceAnalyzer.py +++ b/nipype/interfaces/nitime/tests/test_auto_CoherenceAnalyzer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..analysis import CoherenceAnalyzer diff --git a/nipype/interfaces/nitime/tests/test_auto_NitimeBaseInterface.py b/nipype/interfaces/nitime/tests/test_auto_NitimeBaseInterface.py index bf827b81b2..56b6b5d923 100644 --- a/nipype/interfaces/nitime/tests/test_auto_NitimeBaseInterface.py +++ b/nipype/interfaces/nitime/tests/test_auto_NitimeBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import NitimeBaseInterface diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSPosteriorToContinuousClass.py b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSPosteriorToContinuousClass.py index 81a22bfe38..43ef4e54b5 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSPosteriorToContinuousClass.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSPosteriorToContinuousClass.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..classify import BRAINSPosteriorToContinuousClass diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairach.py b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairach.py index ac589ad6dc..684160366e 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairach.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairach.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import BRAINSTalairach diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairachMask.py b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairachMask.py index 5ada1576e7..d52f546f93 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairachMask.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_BRAINSTalairachMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import BRAINSTalairachMask diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_GenerateEdgeMapImage.py b/nipype/interfaces/semtools/brains/tests/test_auto_GenerateEdgeMapImage.py index eb4bdcffae..4cabcfc57a 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_GenerateEdgeMapImage.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_GenerateEdgeMapImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utilities import GenerateEdgeMapImage diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_GeneratePurePlugMask.py b/nipype/interfaces/semtools/brains/tests/test_auto_GeneratePurePlugMask.py index ae16bc8fab..3de0bba0ee 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_GeneratePurePlugMask.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_GeneratePurePlugMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utilities import GeneratePurePlugMask diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_HistogramMatchingFilter.py b/nipype/interfaces/semtools/brains/tests/test_auto_HistogramMatchingFilter.py index 1377072149..0a1e0d4e35 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_HistogramMatchingFilter.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_HistogramMatchingFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utilities import HistogramMatchingFilter diff --git a/nipype/interfaces/semtools/brains/tests/test_auto_SimilarityIndex.py b/nipype/interfaces/semtools/brains/tests/test_auto_SimilarityIndex.py index 534488ad10..8b678e9a6d 100644 --- a/nipype/interfaces/semtools/brains/tests/test_auto_SimilarityIndex.py +++ b/nipype/interfaces/semtools/brains/tests/test_auto_SimilarityIndex.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import SimilarityIndex diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_DWIConvert.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_DWIConvert.py index 05593527fb..658fb56f72 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_DWIConvert.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_DWIConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DWIConvert diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_compareTractInclusion.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_compareTractInclusion.py index eb9d8c6184..f9f8ef6c22 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_compareTractInclusion.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_compareTractInclusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import compareTractInclusion diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiaverage.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiaverage.py index 92c00853f4..443e89e335 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiaverage.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiaverage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import dtiaverage diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py index 440fd4df07..d389f2b033 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiestim.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import dtiestim diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiprocess.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiprocess.py index 3148d1edb5..69c7d4dcd9 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiprocess.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_dtiprocess.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import dtiprocess diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_extractNrrdVectorIndex.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_extractNrrdVectorIndex.py index ac5784f1c7..45e1506cd5 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_extractNrrdVectorIndex.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_extractNrrdVectorIndex.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import extractNrrdVectorIndex diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAnisotropyMap.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAnisotropyMap.py index 195d7dc3e1..b673134a1e 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAnisotropyMap.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAnisotropyMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractAnisotropyMap diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAverageBvalues.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAverageBvalues.py index fbb5bd6a55..f1f8ba2a76 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAverageBvalues.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractAverageBvalues.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractAverageBvalues diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractClipAnisotropy.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractClipAnisotropy.py index fed980c463..691c4725bc 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractClipAnisotropy.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractClipAnisotropy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractClipAnisotropy diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoRegAnatomy.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoRegAnatomy.py index 456e1e79fa..04d21192e6 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoRegAnatomy.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoRegAnatomy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractCoRegAnatomy diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractConcatDwi.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractConcatDwi.py index 7b75858eff..9643cbd290 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractConcatDwi.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractConcatDwi.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractConcatDwi diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCopyImageOrientation.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCopyImageOrientation.py index d9e0b725c8..a534091999 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCopyImageOrientation.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCopyImageOrientation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractCopyImageOrientation diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoregBvalues.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoregBvalues.py index 3143b16dfb..1e6e67b77b 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoregBvalues.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCoregBvalues.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractCoregBvalues diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCostFastMarching.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCostFastMarching.py index 32d1e68898..d7e3a10cd6 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCostFastMarching.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCostFastMarching.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractCostFastMarching diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCreateGuideFiber.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCreateGuideFiber.py index bbe375bbb9..212ed1e367 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCreateGuideFiber.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractCreateGuideFiber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractCreateGuideFiber diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFastMarchingTracking.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFastMarchingTracking.py index ec3a99b91e..c4d93a1dca 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFastMarchingTracking.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFastMarchingTracking.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractFastMarchingTracking diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFiberTracking.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFiberTracking.py index 96c93b8b64..025063edba 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFiberTracking.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractFiberTracking.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractFiberTracking diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractImageConformity.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractImageConformity.py index 9ddde832b2..2bbb3ee639 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractImageConformity.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractImageConformity.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractImageConformity diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertBSplineTransform.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertBSplineTransform.py index ca642ceb66..0201d2c581 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertBSplineTransform.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertBSplineTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractInvertBSplineTransform diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertDisplacementField.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertDisplacementField.py index e4fd213d39..8d58b4a0bb 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertDisplacementField.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertDisplacementField.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractInvertDisplacementField diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertRigidTransform.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertRigidTransform.py index c035862663..197c2f9f92 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertRigidTransform.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractInvertRigidTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractInvertRigidTransform diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleAnisotropy.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleAnisotropy.py index 43f428b233..f1e5c7e4f3 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleAnisotropy.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleAnisotropy.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractResampleAnisotropy diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleB0.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleB0.py index 812afca5c0..5d52a0b578 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleB0.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleB0.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractResampleB0 diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleCodeImage.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleCodeImage.py index decc017c60..487c8eb2a3 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleCodeImage.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleCodeImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractResampleCodeImage diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleDWIInPlace.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleDWIInPlace.py index b815d3d3d6..e0f31893fe 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleDWIInPlace.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleDWIInPlace.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractResampleDWIInPlace diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleFibers.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleFibers.py index d0d2cd5664..13d9d1ed01 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleFibers.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractResampleFibers.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractResampleFibers diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTensor.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTensor.py index ead96d1c71..61de0e24ad 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTensor.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTensor.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractTensor diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTransformToDisplacementField.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTransformToDisplacementField.py index 2dfde189e2..91a9a802bc 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTransformToDisplacementField.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_gtractTransformToDisplacementField.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..gtract import gtractTransformToDisplacementField diff --git a/nipype/interfaces/semtools/diffusion/tests/test_auto_maxcurvature.py b/nipype/interfaces/semtools/diffusion/tests/test_auto_maxcurvature.py index cc06c5ede5..b5bddf6825 100644 --- a/nipype/interfaces/semtools/diffusion/tests/test_auto_maxcurvature.py +++ b/nipype/interfaces/semtools/diffusion/tests/test_auto_maxcurvature.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..maxcurvature import maxcurvature diff --git a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_UKFTractography.py b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_UKFTractography.py index 7c61974ef3..db15f7cd4f 100644 --- a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_UKFTractography.py +++ b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_UKFTractography.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..ukftractography import UKFTractography diff --git a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberprocess.py b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberprocess.py index b4756a9406..ee8f39260e 100644 --- a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberprocess.py +++ b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberprocess.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fiberprocess import fiberprocess diff --git a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberstats.py b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberstats.py index d6f3a5cd50..aa10c9a472 100644 --- a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberstats.py +++ b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fiberstats.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..commandlineonly import fiberstats diff --git a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fibertrack.py b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fibertrack.py index 33e57c0ca3..4620040d0f 100644 --- a/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fibertrack.py +++ b/nipype/interfaces/semtools/diffusion/tractography/tests/test_auto_fibertrack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..fibertrack import fibertrack diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_CannyEdge.py b/nipype/interfaces/semtools/filtering/tests/test_auto_CannyEdge.py index cfbee7449c..e39be3a413 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_CannyEdge.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_CannyEdge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import CannyEdge diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_CannySegmentationLevelSetImageFilter.py b/nipype/interfaces/semtools/filtering/tests/test_auto_CannySegmentationLevelSetImageFilter.py index b4196db823..a77554cbfe 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_CannySegmentationLevelSetImageFilter.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_CannySegmentationLevelSetImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import CannySegmentationLevelSetImageFilter diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_DilateImage.py b/nipype/interfaces/semtools/filtering/tests/test_auto_DilateImage.py index 7945ec8ade..3376c9c9f7 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_DilateImage.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_DilateImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import DilateImage diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_DilateMask.py b/nipype/interfaces/semtools/filtering/tests/test_auto_DilateMask.py index 6bd6235e80..5f6bb2fbf0 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_DilateMask.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_DilateMask.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import DilateMask diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_DistanceMaps.py b/nipype/interfaces/semtools/filtering/tests/test_auto_DistanceMaps.py index f7aaf722c4..be17908b30 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_DistanceMaps.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_DistanceMaps.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import DistanceMaps diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_DumpBinaryTrainingVectors.py b/nipype/interfaces/semtools/filtering/tests/test_auto_DumpBinaryTrainingVectors.py index 320bb76b77..6b400b8d9c 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_DumpBinaryTrainingVectors.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_DumpBinaryTrainingVectors.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import DumpBinaryTrainingVectors diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_ErodeImage.py b/nipype/interfaces/semtools/filtering/tests/test_auto_ErodeImage.py index 9e096b0062..6fe6645250 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_ErodeImage.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_ErodeImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import ErodeImage diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_FlippedDifference.py b/nipype/interfaces/semtools/filtering/tests/test_auto_FlippedDifference.py index 539660f73b..0030b159cf 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_FlippedDifference.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_FlippedDifference.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import FlippedDifference diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateBrainClippedImage.py b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateBrainClippedImage.py index 0a211f23d2..3ff2bedffb 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateBrainClippedImage.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateBrainClippedImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import GenerateBrainClippedImage diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateSummedGradientImage.py b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateSummedGradientImage.py index 58d3f35c5a..57a90bf24e 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateSummedGradientImage.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateSummedGradientImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import GenerateSummedGradientImage diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateTestImage.py b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateTestImage.py index 1348e61d4b..afe0a9ce6a 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateTestImage.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_GenerateTestImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import GenerateTestImage diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_GradientAnisotropicDiffusionImageFilter.py b/nipype/interfaces/semtools/filtering/tests/test_auto_GradientAnisotropicDiffusionImageFilter.py index 27ebb18d29..ee4032fbaf 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_GradientAnisotropicDiffusionImageFilter.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_GradientAnisotropicDiffusionImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import GradientAnisotropicDiffusionImageFilter diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_HammerAttributeCreator.py b/nipype/interfaces/semtools/filtering/tests/test_auto_HammerAttributeCreator.py index 9ad82598bb..454ed43986 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_HammerAttributeCreator.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_HammerAttributeCreator.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import HammerAttributeCreator diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMean.py b/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMean.py index c6b1ef20a9..0998051c75 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMean.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMean.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import NeighborhoodMean diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMedian.py b/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMedian.py index 2c2b2d585f..5962549938 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMedian.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_NeighborhoodMedian.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import NeighborhoodMedian diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_STAPLEAnalysis.py b/nipype/interfaces/semtools/filtering/tests/test_auto_STAPLEAnalysis.py index 75bb83315f..6dcb4242c7 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_STAPLEAnalysis.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_STAPLEAnalysis.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import STAPLEAnalysis diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_TextureFromNoiseImageFilter.py b/nipype/interfaces/semtools/filtering/tests/test_auto_TextureFromNoiseImageFilter.py index cd4b4a1af2..62d4aab5d6 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_TextureFromNoiseImageFilter.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_TextureFromNoiseImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import TextureFromNoiseImageFilter diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_TextureMeasureFilter.py b/nipype/interfaces/semtools/filtering/tests/test_auto_TextureMeasureFilter.py index 0ad523c7d0..6976309713 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_TextureMeasureFilter.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_TextureMeasureFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featuredetection import TextureMeasureFilter diff --git a/nipype/interfaces/semtools/filtering/tests/test_auto_UnbiasedNonLocalMeans.py b/nipype/interfaces/semtools/filtering/tests/test_auto_UnbiasedNonLocalMeans.py index b84cda1fc3..c81908284e 100644 --- a/nipype/interfaces/semtools/filtering/tests/test_auto_UnbiasedNonLocalMeans.py +++ b/nipype/interfaces/semtools/filtering/tests/test_auto_UnbiasedNonLocalMeans.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import UnbiasedNonLocalMeans diff --git a/nipype/interfaces/semtools/legacy/tests/test_auto_scalartransform.py b/nipype/interfaces/semtools/legacy/tests/test_auto_scalartransform.py index f9ff60cfd9..55bbf35bc8 100644 --- a/nipype/interfaces/semtools/legacy/tests/test_auto_scalartransform.py +++ b/nipype/interfaces/semtools/legacy/tests/test_auto_scalartransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import scalartransform diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSDemonWarp.py b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSDemonWarp.py index c631f9b96e..2fdd5ed445 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSDemonWarp.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSDemonWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSDemonWarp diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSFit.py b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSFit.py index 18059c4f57..2ea79a7ad9 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSFit.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsfit import BRAINSFit diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResample.py b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResample.py index 98ec5f4ff3..8e582519fb 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResample.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsresample import BRAINSResample diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResize.py b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResize.py index 4ce0d7159c..ec2858ab43 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResize.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSResize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsresize import BRAINSResize diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSTransformFromFiducials.py b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSTransformFromFiducials.py index 2a700eaac7..0432be0e4c 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSTransformFromFiducials.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_BRAINSTransformFromFiducials.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSTransformFromFiducials diff --git a/nipype/interfaces/semtools/registration/tests/test_auto_VBRAINSDemonWarp.py b/nipype/interfaces/semtools/registration/tests/test_auto_VBRAINSDemonWarp.py index b3255da1d3..40f7fbdb5b 100644 --- a/nipype/interfaces/semtools/registration/tests/test_auto_VBRAINSDemonWarp.py +++ b/nipype/interfaces/semtools/registration/tests/test_auto_VBRAINSDemonWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import VBRAINSDemonWarp diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSABC.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSABC.py index 2d66884522..a1929ef390 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSABC.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSABC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSABC diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSConstellationDetector.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSConstellationDetector.py index 9b2d10061c..88bf30e2dc 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSConstellationDetector.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSConstellationDetector.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSConstellationDetector diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCreateLabelMapFromProbabilityMaps.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCreateLabelMapFromProbabilityMaps.py index 9f2b00c311..c423893a83 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCreateLabelMapFromProbabilityMaps.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCreateLabelMapFromProbabilityMaps.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSCreateLabelMapFromProbabilityMaps diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCut.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCut.py index 9d66d4a463..14778d7b75 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCut.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSCut.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSCut diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSMultiSTAPLE.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSMultiSTAPLE.py index 826ec19f0e..62b4778081 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSMultiSTAPLE.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSMultiSTAPLE.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSMultiSTAPLE diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSROIAuto.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSROIAuto.py index 3e70b75883..c52bd3d3aa 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSROIAuto.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BRAINSROIAuto.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSROIAuto diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_BinaryMaskEditorBasedOnLandmarks.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_BinaryMaskEditorBasedOnLandmarks.py index d71e7003ff..87e5acffb5 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_BinaryMaskEditorBasedOnLandmarks.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_BinaryMaskEditorBasedOnLandmarks.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BinaryMaskEditorBasedOnLandmarks diff --git a/nipype/interfaces/semtools/segmentation/tests/test_auto_ESLR.py b/nipype/interfaces/semtools/segmentation/tests/test_auto_ESLR.py index 2e099b4f56..d6b8378e09 100644 --- a/nipype/interfaces/semtools/segmentation/tests/test_auto_ESLR.py +++ b/nipype/interfaces/semtools/segmentation/tests/test_auto_ESLR.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import ESLR diff --git a/nipype/interfaces/semtools/tests/test_auto_DWICompare.py b/nipype/interfaces/semtools/tests/test_auto_DWICompare.py index c00b0cc36f..03238109d3 100644 --- a/nipype/interfaces/semtools/tests/test_auto_DWICompare.py +++ b/nipype/interfaces/semtools/tests/test_auto_DWICompare.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..converters import DWICompare diff --git a/nipype/interfaces/semtools/tests/test_auto_DWISimpleCompare.py b/nipype/interfaces/semtools/tests/test_auto_DWISimpleCompare.py index e515bc613c..a0fab812a5 100644 --- a/nipype/interfaces/semtools/tests/test_auto_DWISimpleCompare.py +++ b/nipype/interfaces/semtools/tests/test_auto_DWISimpleCompare.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..converters import DWISimpleCompare diff --git a/nipype/interfaces/semtools/tests/test_auto_GenerateCsfClippedFromClassifiedImage.py b/nipype/interfaces/semtools/tests/test_auto_GenerateCsfClippedFromClassifiedImage.py index 63f45831af..85ea94070f 100644 --- a/nipype/interfaces/semtools/tests/test_auto_GenerateCsfClippedFromClassifiedImage.py +++ b/nipype/interfaces/semtools/tests/test_auto_GenerateCsfClippedFromClassifiedImage.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..featurecreator import GenerateCsfClippedFromClassifiedImage diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSAlignMSP.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSAlignMSP.py index 27b65a4eba..a3dabe9db4 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSAlignMSP.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSAlignMSP.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSAlignMSP diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSClipInferior.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSClipInferior.py index 7a0528f201..4a3586a933 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSClipInferior.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSClipInferior.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSClipInferior diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSConstellationModeler.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSConstellationModeler.py index a124ad60d9..8c2b24f654 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSConstellationModeler.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSConstellationModeler.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSConstellationModeler diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSEyeDetector.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSEyeDetector.py index 9df3c8b8d6..e840daf05c 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSEyeDetector.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSEyeDetector.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSEyeDetector diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSInitializedControlPoints.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSInitializedControlPoints.py index bc3807f9f8..64720e5588 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSInitializedControlPoints.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSInitializedControlPoints.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSInitializedControlPoints diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLandmarkInitializer.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLandmarkInitializer.py index 2456b8fb4d..ac6df55fc6 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLandmarkInitializer.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLandmarkInitializer.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSLandmarkInitializer diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLinearModelerEPCA.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLinearModelerEPCA.py index b6b83baa12..52bd2ecb2e 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLinearModelerEPCA.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLinearModelerEPCA.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSLinearModelerEPCA diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py index 262d948029..ed5bb265d4 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSLmkTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSLmkTransform diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSMush.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSMush.py index 9627258bcf..12aaa1583a 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSMush.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSMush.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSMush diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSSnapShotWriter.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSSnapShotWriter.py index 1b803956e7..69855fa3a7 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSSnapShotWriter.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSSnapShotWriter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSSnapShotWriter diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTransformConvert.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTransformConvert.py index c6d10736d7..d303f26905 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTransformConvert.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTransformConvert.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSTransformConvert diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTrimForegroundInDirection.py b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTrimForegroundInDirection.py index d2f3b74140..65e991e9e3 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTrimForegroundInDirection.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_BRAINSTrimForegroundInDirection.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import BRAINSTrimForegroundInDirection diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_CleanUpOverlapLabels.py b/nipype/interfaces/semtools/utilities/tests/test_auto_CleanUpOverlapLabels.py index 936437886a..fe56cb0e38 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_CleanUpOverlapLabels.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_CleanUpOverlapLabels.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import CleanUpOverlapLabels diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_FindCenterOfBrain.py b/nipype/interfaces/semtools/utilities/tests/test_auto_FindCenterOfBrain.py index 46924bf180..f987349d7a 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_FindCenterOfBrain.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_FindCenterOfBrain.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import FindCenterOfBrain diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_GenerateLabelMapFromProbabilityMap.py b/nipype/interfaces/semtools/utilities/tests/test_auto_GenerateLabelMapFromProbabilityMap.py index 9087d6667b..c75c9b588a 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_GenerateLabelMapFromProbabilityMap.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_GenerateLabelMapFromProbabilityMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import GenerateLabelMapFromProbabilityMap diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_ImageRegionPlotter.py b/nipype/interfaces/semtools/utilities/tests/test_auto_ImageRegionPlotter.py index f5372a240e..9a5536dadc 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_ImageRegionPlotter.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_ImageRegionPlotter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import ImageRegionPlotter diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_JointHistogram.py b/nipype/interfaces/semtools/utilities/tests/test_auto_JointHistogram.py index daf6d5634f..20d677b24e 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_JointHistogram.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_JointHistogram.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import JointHistogram diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_ShuffleVectorsModule.py b/nipype/interfaces/semtools/utilities/tests/test_auto_ShuffleVectorsModule.py index 7bea38e2f1..768c3f8376 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_ShuffleVectorsModule.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_ShuffleVectorsModule.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import ShuffleVectorsModule diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_fcsv_to_hdf5.py b/nipype/interfaces/semtools/utilities/tests/test_auto_fcsv_to_hdf5.py index 32e6ce65cd..b2492324c8 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_fcsv_to_hdf5.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_fcsv_to_hdf5.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import fcsv_to_hdf5 diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_insertMidACPCpoint.py b/nipype/interfaces/semtools/utilities/tests/test_auto_insertMidACPCpoint.py index 196b09b304..305d04e0dc 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_insertMidACPCpoint.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_insertMidACPCpoint.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import insertMidACPCpoint diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationAligner.py b/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationAligner.py index 151a2c7b3a..e4df73fcba 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationAligner.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationAligner.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import landmarksConstellationAligner diff --git a/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationWeights.py b/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationWeights.py index 0bcd747d36..0c0bf738a5 100644 --- a/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationWeights.py +++ b/nipype/interfaces/semtools/utilities/tests/test_auto_landmarksConstellationWeights.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brains import landmarksConstellationWeights diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIexport.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIexport.py index c8d5df2ba2..2af326b6f6 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIexport.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIexport.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DTIexport diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIimport.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIimport.py index ec1d66bc0b..816d94b1fa 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIimport.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DTIimport.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DTIimport diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIJointRicianLMMSEFilter.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIJointRicianLMMSEFilter.py index a2caa2f633..e3304d8039 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIJointRicianLMMSEFilter.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIJointRicianLMMSEFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DWIJointRicianLMMSEFilter diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py index 7eff851562..75f3e1a396 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIRicianLMMSEFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DWIRicianLMMSEFilter diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIToDTIEstimation.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIToDTIEstimation.py index 217f91edf0..4ad80df888 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIToDTIEstimation.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DWIToDTIEstimation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DWIToDTIEstimation diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionTensorScalarMeasurements.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionTensorScalarMeasurements.py index b75989c349..0a1897b007 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionTensorScalarMeasurements.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionTensorScalarMeasurements.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DiffusionTensorScalarMeasurements diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionWeightedVolumeMasking.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionWeightedVolumeMasking.py index 5e8c39a4ac..75a41d81ab 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionWeightedVolumeMasking.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_DiffusionWeightedVolumeMasking.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import DiffusionWeightedVolumeMasking diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_ResampleDTIVolume.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_ResampleDTIVolume.py index 30860d9da0..80a0fae1cc 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_ResampleDTIVolume.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_ResampleDTIVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import ResampleDTIVolume diff --git a/nipype/interfaces/slicer/diffusion/tests/test_auto_TractographyLabelMapSeeding.py b/nipype/interfaces/slicer/diffusion/tests/test_auto_TractographyLabelMapSeeding.py index 31fb7d5c0d..3b3b06b0f8 100644 --- a/nipype/interfaces/slicer/diffusion/tests/test_auto_TractographyLabelMapSeeding.py +++ b/nipype/interfaces/slicer/diffusion/tests/test_auto_TractographyLabelMapSeeding.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..diffusion import TractographyLabelMapSeeding diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_AddScalarVolumes.py b/nipype/interfaces/slicer/filtering/tests/test_auto_AddScalarVolumes.py index 9f2209c1eb..4661bc763c 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_AddScalarVolumes.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_AddScalarVolumes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..arithmetic import AddScalarVolumes diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_CastScalarVolume.py b/nipype/interfaces/slicer/filtering/tests/test_auto_CastScalarVolume.py index a659aa47f7..964918150d 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_CastScalarVolume.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_CastScalarVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..arithmetic import CastScalarVolume diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_CheckerBoardFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_CheckerBoardFilter.py index ae662cf2ba..d76e42980f 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_CheckerBoardFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_CheckerBoardFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..checkerboardfilter import CheckerBoardFilter diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_CurvatureAnisotropicDiffusion.py b/nipype/interfaces/slicer/filtering/tests/test_auto_CurvatureAnisotropicDiffusion.py index 5613eb0c4c..2777e004ca 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_CurvatureAnisotropicDiffusion.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_CurvatureAnisotropicDiffusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import CurvatureAnisotropicDiffusion diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_ExtractSkeleton.py b/nipype/interfaces/slicer/filtering/tests/test_auto_ExtractSkeleton.py index 5db6c65c7e..c365c0f15c 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_ExtractSkeleton.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_ExtractSkeleton.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..extractskeleton import ExtractSkeleton diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_GaussianBlurImageFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_GaussianBlurImageFilter.py index ff46d6d308..6765c7add9 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_GaussianBlurImageFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_GaussianBlurImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import GaussianBlurImageFilter diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_GradientAnisotropicDiffusion.py b/nipype/interfaces/slicer/filtering/tests/test_auto_GradientAnisotropicDiffusion.py index 8ec7dbb156..5d2af57254 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_GradientAnisotropicDiffusion.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_GradientAnisotropicDiffusion.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import GradientAnisotropicDiffusion diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleFillHoleImageFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleFillHoleImageFilter.py index 062a23c293..f614a3092e 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleFillHoleImageFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleFillHoleImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..morphology import GrayscaleFillHoleImageFilter diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleGrindPeakImageFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleGrindPeakImageFilter.py index edb6081ed3..583b083a0c 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleGrindPeakImageFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_GrayscaleGrindPeakImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..morphology import GrayscaleGrindPeakImageFilter diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_HistogramMatching.py b/nipype/interfaces/slicer/filtering/tests/test_auto_HistogramMatching.py index f73690586d..d396da88ec 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_HistogramMatching.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_HistogramMatching.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..histogrammatching import HistogramMatching diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_ImageLabelCombine.py b/nipype/interfaces/slicer/filtering/tests/test_auto_ImageLabelCombine.py index 0bae22c342..f8996a2ec8 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_ImageLabelCombine.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_ImageLabelCombine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..imagelabelcombine import ImageLabelCombine diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_MaskScalarVolume.py b/nipype/interfaces/slicer/filtering/tests/test_auto_MaskScalarVolume.py index cd04072890..772f365aa7 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_MaskScalarVolume.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_MaskScalarVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..arithmetic import MaskScalarVolume diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_MedianImageFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_MedianImageFilter.py index 35bb9496c9..78dc5eae1a 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_MedianImageFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_MedianImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import MedianImageFilter diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_MultiplyScalarVolumes.py b/nipype/interfaces/slicer/filtering/tests/test_auto_MultiplyScalarVolumes.py index 6590c4b133..e447278ffe 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_MultiplyScalarVolumes.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_MultiplyScalarVolumes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..arithmetic import MultiplyScalarVolumes diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_N4ITKBiasFieldCorrection.py b/nipype/interfaces/slicer/filtering/tests/test_auto_N4ITKBiasFieldCorrection.py index c6ad0bf24d..5b226f2fd9 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_N4ITKBiasFieldCorrection.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_N4ITKBiasFieldCorrection.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..n4itkbiasfieldcorrection import N4ITKBiasFieldCorrection diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_ResampleScalarVectorDWIVolume.py b/nipype/interfaces/slicer/filtering/tests/test_auto_ResampleScalarVectorDWIVolume.py index ebe34fd9b3..042122a046 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_ResampleScalarVectorDWIVolume.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_ResampleScalarVectorDWIVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..resamplescalarvectordwivolume import ResampleScalarVectorDWIVolume diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_SubtractScalarVolumes.py b/nipype/interfaces/slicer/filtering/tests/test_auto_SubtractScalarVolumes.py index d62589881f..218afc16c6 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_SubtractScalarVolumes.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_SubtractScalarVolumes.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..arithmetic import SubtractScalarVolumes diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_ThresholdScalarVolume.py b/nipype/interfaces/slicer/filtering/tests/test_auto_ThresholdScalarVolume.py index 34de317104..ce6f2a449b 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_ThresholdScalarVolume.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_ThresholdScalarVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..thresholdscalarvolume import ThresholdScalarVolume diff --git a/nipype/interfaces/slicer/filtering/tests/test_auto_VotingBinaryHoleFillingImageFilter.py b/nipype/interfaces/slicer/filtering/tests/test_auto_VotingBinaryHoleFillingImageFilter.py index 8e7890de85..592172b8f3 100644 --- a/nipype/interfaces/slicer/filtering/tests/test_auto_VotingBinaryHoleFillingImageFilter.py +++ b/nipype/interfaces/slicer/filtering/tests/test_auto_VotingBinaryHoleFillingImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..votingbinaryholefillingimagefilter import VotingBinaryHoleFillingImageFilter diff --git a/nipype/interfaces/slicer/legacy/diffusion/tests/test_auto_DWIUnbiasedNonLocalMeansFilter.py b/nipype/interfaces/slicer/legacy/diffusion/tests/test_auto_DWIUnbiasedNonLocalMeansFilter.py index 0e25ffad9a..70bc5400b7 100644 --- a/nipype/interfaces/slicer/legacy/diffusion/tests/test_auto_DWIUnbiasedNonLocalMeansFilter.py +++ b/nipype/interfaces/slicer/legacy/diffusion/tests/test_auto_DWIUnbiasedNonLocalMeansFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..denoising import DWIUnbiasedNonLocalMeansFilter diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_AffineRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_AffineRegistration.py index 949cdc7f61..a7d0239227 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_AffineRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_AffineRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import AffineRegistration diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineDeformableRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineDeformableRegistration.py index 17339f8859..0d56a05d1d 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineDeformableRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineDeformableRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import BSplineDeformableRegistration diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineToDeformationField.py b/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineToDeformationField.py index 8335515c13..6e11383220 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineToDeformationField.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_BSplineToDeformationField.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..converters import BSplineToDeformationField diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_ExpertAutomatedRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_ExpertAutomatedRegistration.py index 7fa8b77d63..c721bd8168 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_ExpertAutomatedRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_ExpertAutomatedRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import ExpertAutomatedRegistration diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py index a55432f9b0..2c6e79f57a 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_LinearRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import LinearRegistration diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_MultiResolutionAffineRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_MultiResolutionAffineRegistration.py index 7903fd1d5c..e7e2447a8b 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_MultiResolutionAffineRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_MultiResolutionAffineRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import MultiResolutionAffineRegistration diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdImageFilter.py b/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdImageFilter.py index a1af6c71b3..c83e402168 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdImageFilter.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdImageFilter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..filtering import OtsuThresholdImageFilter diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdSegmentation.py b/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdSegmentation.py index 02beeee464..0533a4fc8c 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdSegmentation.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_OtsuThresholdSegmentation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..segmentation import OtsuThresholdSegmentation diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_ResampleScalarVolume.py b/nipype/interfaces/slicer/legacy/tests/test_auto_ResampleScalarVolume.py index baa698246c..65b3e63396 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_ResampleScalarVolume.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_ResampleScalarVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..filtering import ResampleScalarVolume diff --git a/nipype/interfaces/slicer/legacy/tests/test_auto_RigidRegistration.py b/nipype/interfaces/slicer/legacy/tests/test_auto_RigidRegistration.py index 6c2a0eb072..8017f73be9 100644 --- a/nipype/interfaces/slicer/legacy/tests/test_auto_RigidRegistration.py +++ b/nipype/interfaces/slicer/legacy/tests/test_auto_RigidRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..registration import RigidRegistration diff --git a/nipype/interfaces/slicer/quantification/tests/test_auto_IntensityDifferenceMetric.py b/nipype/interfaces/slicer/quantification/tests/test_auto_IntensityDifferenceMetric.py index e46f046add..720f666dd3 100644 --- a/nipype/interfaces/slicer/quantification/tests/test_auto_IntensityDifferenceMetric.py +++ b/nipype/interfaces/slicer/quantification/tests/test_auto_IntensityDifferenceMetric.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..changequantification import IntensityDifferenceMetric diff --git a/nipype/interfaces/slicer/quantification/tests/test_auto_PETStandardUptakeValueComputation.py b/nipype/interfaces/slicer/quantification/tests/test_auto_PETStandardUptakeValueComputation.py index 61141f65db..874a19b6e4 100644 --- a/nipype/interfaces/slicer/quantification/tests/test_auto_PETStandardUptakeValueComputation.py +++ b/nipype/interfaces/slicer/quantification/tests/test_auto_PETStandardUptakeValueComputation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..petstandarduptakevaluecomputation import PETStandardUptakeValueComputation diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_ACPCTransform.py b/nipype/interfaces/slicer/registration/tests/test_auto_ACPCTransform.py index 454e290102..1914033d8d 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_ACPCTransform.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_ACPCTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import ACPCTransform diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSDemonWarp.py b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSDemonWarp.py index c631f9b96e..2fdd5ed445 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSDemonWarp.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSDemonWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSDemonWarp diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSFit.py b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSFit.py index bb62633d94..e0dffb2e10 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSFit.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSFit.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsfit import BRAINSFit diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSResample.py b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSResample.py index 98ec5f4ff3..8e582519fb 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSResample.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_BRAINSResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..brainsresample import BRAINSResample diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_FiducialRegistration.py b/nipype/interfaces/slicer/registration/tests/test_auto_FiducialRegistration.py index 36d42fe8df..faff151975 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_FiducialRegistration.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_FiducialRegistration.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import FiducialRegistration diff --git a/nipype/interfaces/slicer/registration/tests/test_auto_VBRAINSDemonWarp.py b/nipype/interfaces/slicer/registration/tests/test_auto_VBRAINSDemonWarp.py index b3255da1d3..40f7fbdb5b 100644 --- a/nipype/interfaces/slicer/registration/tests/test_auto_VBRAINSDemonWarp.py +++ b/nipype/interfaces/slicer/registration/tests/test_auto_VBRAINSDemonWarp.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import VBRAINSDemonWarp diff --git a/nipype/interfaces/slicer/segmentation/tests/test_auto_BRAINSROIAuto.py b/nipype/interfaces/slicer/segmentation/tests/test_auto_BRAINSROIAuto.py index 89863fb730..61f28399c1 100644 --- a/nipype/interfaces/slicer/segmentation/tests/test_auto_BRAINSROIAuto.py +++ b/nipype/interfaces/slicer/segmentation/tests/test_auto_BRAINSROIAuto.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import BRAINSROIAuto diff --git a/nipype/interfaces/slicer/segmentation/tests/test_auto_EMSegmentCommandLine.py b/nipype/interfaces/slicer/segmentation/tests/test_auto_EMSegmentCommandLine.py index 09b0b1300f..41b24b123b 100644 --- a/nipype/interfaces/slicer/segmentation/tests/test_auto_EMSegmentCommandLine.py +++ b/nipype/interfaces/slicer/segmentation/tests/test_auto_EMSegmentCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import EMSegmentCommandLine diff --git a/nipype/interfaces/slicer/segmentation/tests/test_auto_RobustStatisticsSegmenter.py b/nipype/interfaces/slicer/segmentation/tests/test_auto_RobustStatisticsSegmenter.py index ed46177df0..b676880b37 100644 --- a/nipype/interfaces/slicer/segmentation/tests/test_auto_RobustStatisticsSegmenter.py +++ b/nipype/interfaces/slicer/segmentation/tests/test_auto_RobustStatisticsSegmenter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..specialized import RobustStatisticsSegmenter diff --git a/nipype/interfaces/slicer/segmentation/tests/test_auto_SimpleRegionGrowingSegmentation.py b/nipype/interfaces/slicer/segmentation/tests/test_auto_SimpleRegionGrowingSegmentation.py index 3c5e2124d0..7b5077d733 100644 --- a/nipype/interfaces/slicer/segmentation/tests/test_auto_SimpleRegionGrowingSegmentation.py +++ b/nipype/interfaces/slicer/segmentation/tests/test_auto_SimpleRegionGrowingSegmentation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..simpleregiongrowingsegmentation import SimpleRegionGrowingSegmentation diff --git a/nipype/interfaces/slicer/tests/test_auto_DicomToNrrdConverter.py b/nipype/interfaces/slicer/tests/test_auto_DicomToNrrdConverter.py index 2997e805f9..3e6b0d875d 100644 --- a/nipype/interfaces/slicer/tests/test_auto_DicomToNrrdConverter.py +++ b/nipype/interfaces/slicer/tests/test_auto_DicomToNrrdConverter.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..converters import DicomToNrrdConverter diff --git a/nipype/interfaces/slicer/tests/test_auto_EMSegmentTransformToNewFormat.py b/nipype/interfaces/slicer/tests/test_auto_EMSegmentTransformToNewFormat.py index 279d68e0ab..70fbde6153 100644 --- a/nipype/interfaces/slicer/tests/test_auto_EMSegmentTransformToNewFormat.py +++ b/nipype/interfaces/slicer/tests/test_auto_EMSegmentTransformToNewFormat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utilities import EMSegmentTransformToNewFormat diff --git a/nipype/interfaces/slicer/tests/test_auto_GrayscaleModelMaker.py b/nipype/interfaces/slicer/tests/test_auto_GrayscaleModelMaker.py index 7ad8cac8e9..cdd9682786 100644 --- a/nipype/interfaces/slicer/tests/test_auto_GrayscaleModelMaker.py +++ b/nipype/interfaces/slicer/tests/test_auto_GrayscaleModelMaker.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import GrayscaleModelMaker diff --git a/nipype/interfaces/slicer/tests/test_auto_LabelMapSmoothing.py b/nipype/interfaces/slicer/tests/test_auto_LabelMapSmoothing.py index bb3780495b..8249617521 100644 --- a/nipype/interfaces/slicer/tests/test_auto_LabelMapSmoothing.py +++ b/nipype/interfaces/slicer/tests/test_auto_LabelMapSmoothing.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import LabelMapSmoothing diff --git a/nipype/interfaces/slicer/tests/test_auto_MergeModels.py b/nipype/interfaces/slicer/tests/test_auto_MergeModels.py index 6453957a79..32f340aa05 100644 --- a/nipype/interfaces/slicer/tests/test_auto_MergeModels.py +++ b/nipype/interfaces/slicer/tests/test_auto_MergeModels.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import MergeModels diff --git a/nipype/interfaces/slicer/tests/test_auto_ModelMaker.py b/nipype/interfaces/slicer/tests/test_auto_ModelMaker.py index ed182137cf..54bcddff38 100644 --- a/nipype/interfaces/slicer/tests/test_auto_ModelMaker.py +++ b/nipype/interfaces/slicer/tests/test_auto_ModelMaker.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import ModelMaker diff --git a/nipype/interfaces/slicer/tests/test_auto_ModelToLabelMap.py b/nipype/interfaces/slicer/tests/test_auto_ModelToLabelMap.py index efd11f1040..322aace661 100644 --- a/nipype/interfaces/slicer/tests/test_auto_ModelToLabelMap.py +++ b/nipype/interfaces/slicer/tests/test_auto_ModelToLabelMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import ModelToLabelMap diff --git a/nipype/interfaces/slicer/tests/test_auto_OrientScalarVolume.py b/nipype/interfaces/slicer/tests/test_auto_OrientScalarVolume.py index f3d1908cd0..9fddc5b083 100644 --- a/nipype/interfaces/slicer/tests/test_auto_OrientScalarVolume.py +++ b/nipype/interfaces/slicer/tests/test_auto_OrientScalarVolume.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..converters import OrientScalarVolume diff --git a/nipype/interfaces/slicer/tests/test_auto_ProbeVolumeWithModel.py b/nipype/interfaces/slicer/tests/test_auto_ProbeVolumeWithModel.py index 32a2fc2139..2256b61df2 100644 --- a/nipype/interfaces/slicer/tests/test_auto_ProbeVolumeWithModel.py +++ b/nipype/interfaces/slicer/tests/test_auto_ProbeVolumeWithModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..surface import ProbeVolumeWithModel diff --git a/nipype/interfaces/slicer/tests/test_auto_SlicerCommandLine.py b/nipype/interfaces/slicer/tests/test_auto_SlicerCommandLine.py index b0e1e2c3b0..b8eeb5bd56 100644 --- a/nipype/interfaces/slicer/tests/test_auto_SlicerCommandLine.py +++ b/nipype/interfaces/slicer/tests/test_auto_SlicerCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import SlicerCommandLine diff --git a/nipype/interfaces/spm/tests/test_auto_Analyze2nii.py b/nipype/interfaces/spm/tests/test_auto_Analyze2nii.py index 1b1aa6edcd..57a595cd66 100644 --- a/nipype/interfaces/spm/tests/test_auto_Analyze2nii.py +++ b/nipype/interfaces/spm/tests/test_auto_Analyze2nii.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Analyze2nii diff --git a/nipype/interfaces/spm/tests/test_auto_ApplyDeformations.py b/nipype/interfaces/spm/tests/test_auto_ApplyDeformations.py index bbc925ec9e..259db6e1f0 100644 --- a/nipype/interfaces/spm/tests/test_auto_ApplyDeformations.py +++ b/nipype/interfaces/spm/tests/test_auto_ApplyDeformations.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import ApplyDeformations diff --git a/nipype/interfaces/spm/tests/test_auto_ApplyInverseDeformation.py b/nipype/interfaces/spm/tests/test_auto_ApplyInverseDeformation.py index d1c35dbcd2..0b17f56630 100644 --- a/nipype/interfaces/spm/tests/test_auto_ApplyInverseDeformation.py +++ b/nipype/interfaces/spm/tests/test_auto_ApplyInverseDeformation.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ApplyInverseDeformation diff --git a/nipype/interfaces/spm/tests/test_auto_ApplyTransform.py b/nipype/interfaces/spm/tests/test_auto_ApplyTransform.py index a686e95485..11818cf70a 100644 --- a/nipype/interfaces/spm/tests/test_auto_ApplyTransform.py +++ b/nipype/interfaces/spm/tests/test_auto_ApplyTransform.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ApplyTransform diff --git a/nipype/interfaces/spm/tests/test_auto_CalcCoregAffine.py b/nipype/interfaces/spm/tests/test_auto_CalcCoregAffine.py index 69695ca7b5..c5a562f41b 100644 --- a/nipype/interfaces/spm/tests/test_auto_CalcCoregAffine.py +++ b/nipype/interfaces/spm/tests/test_auto_CalcCoregAffine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import CalcCoregAffine diff --git a/nipype/interfaces/spm/tests/test_auto_Coregister.py b/nipype/interfaces/spm/tests/test_auto_Coregister.py index 957a2c84a9..05d8cf06ab 100644 --- a/nipype/interfaces/spm/tests/test_auto_Coregister.py +++ b/nipype/interfaces/spm/tests/test_auto_Coregister.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Coregister diff --git a/nipype/interfaces/spm/tests/test_auto_CreateWarped.py b/nipype/interfaces/spm/tests/test_auto_CreateWarped.py index dd98d30e37..b25e377ad3 100644 --- a/nipype/interfaces/spm/tests/test_auto_CreateWarped.py +++ b/nipype/interfaces/spm/tests/test_auto_CreateWarped.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import CreateWarped diff --git a/nipype/interfaces/spm/tests/test_auto_DARTEL.py b/nipype/interfaces/spm/tests/test_auto_DARTEL.py index cc1b9eee1b..2ee9ea5521 100644 --- a/nipype/interfaces/spm/tests/test_auto_DARTEL.py +++ b/nipype/interfaces/spm/tests/test_auto_DARTEL.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DARTEL diff --git a/nipype/interfaces/spm/tests/test_auto_DARTELNorm2MNI.py b/nipype/interfaces/spm/tests/test_auto_DARTELNorm2MNI.py index d25bde2e5d..92daefe664 100644 --- a/nipype/interfaces/spm/tests/test_auto_DARTELNorm2MNI.py +++ b/nipype/interfaces/spm/tests/test_auto_DARTELNorm2MNI.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import DARTELNorm2MNI diff --git a/nipype/interfaces/spm/tests/test_auto_DicomImport.py b/nipype/interfaces/spm/tests/test_auto_DicomImport.py index fec62ddeeb..833794b628 100644 --- a/nipype/interfaces/spm/tests/test_auto_DicomImport.py +++ b/nipype/interfaces/spm/tests/test_auto_DicomImport.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import DicomImport diff --git a/nipype/interfaces/spm/tests/test_auto_EstimateContrast.py b/nipype/interfaces/spm/tests/test_auto_EstimateContrast.py index bc9bb9006e..e374a5acf0 100644 --- a/nipype/interfaces/spm/tests/test_auto_EstimateContrast.py +++ b/nipype/interfaces/spm/tests/test_auto_EstimateContrast.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import EstimateContrast diff --git a/nipype/interfaces/spm/tests/test_auto_EstimateModel.py b/nipype/interfaces/spm/tests/test_auto_EstimateModel.py index 05f511a0bd..61a438848c 100644 --- a/nipype/interfaces/spm/tests/test_auto_EstimateModel.py +++ b/nipype/interfaces/spm/tests/test_auto_EstimateModel.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import EstimateModel diff --git a/nipype/interfaces/spm/tests/test_auto_FactorialDesign.py b/nipype/interfaces/spm/tests/test_auto_FactorialDesign.py index 38d2b1c6fb..d5d571117c 100644 --- a/nipype/interfaces/spm/tests/test_auto_FactorialDesign.py +++ b/nipype/interfaces/spm/tests/test_auto_FactorialDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import FactorialDesign diff --git a/nipype/interfaces/spm/tests/test_auto_FieldMap.py b/nipype/interfaces/spm/tests/test_auto_FieldMap.py index 43fbbcb8f4..c36d6e78b6 100644 --- a/nipype/interfaces/spm/tests/test_auto_FieldMap.py +++ b/nipype/interfaces/spm/tests/test_auto_FieldMap.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import FieldMap diff --git a/nipype/interfaces/spm/tests/test_auto_Level1Design.py b/nipype/interfaces/spm/tests/test_auto_Level1Design.py index 7ad8ab8195..6fe77da96d 100644 --- a/nipype/interfaces/spm/tests/test_auto_Level1Design.py +++ b/nipype/interfaces/spm/tests/test_auto_Level1Design.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Level1Design diff --git a/nipype/interfaces/spm/tests/test_auto_MultipleRegressionDesign.py b/nipype/interfaces/spm/tests/test_auto_MultipleRegressionDesign.py index 26957f2fbb..7afac238a3 100644 --- a/nipype/interfaces/spm/tests/test_auto_MultipleRegressionDesign.py +++ b/nipype/interfaces/spm/tests/test_auto_MultipleRegressionDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import MultipleRegressionDesign diff --git a/nipype/interfaces/spm/tests/test_auto_NewSegment.py b/nipype/interfaces/spm/tests/test_auto_NewSegment.py index 3f03685e11..505296bbf4 100644 --- a/nipype/interfaces/spm/tests/test_auto_NewSegment.py +++ b/nipype/interfaces/spm/tests/test_auto_NewSegment.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import NewSegment diff --git a/nipype/interfaces/spm/tests/test_auto_Normalize.py b/nipype/interfaces/spm/tests/test_auto_Normalize.py index fde0bf7fff..0a8f6afbc6 100644 --- a/nipype/interfaces/spm/tests/test_auto_Normalize.py +++ b/nipype/interfaces/spm/tests/test_auto_Normalize.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Normalize diff --git a/nipype/interfaces/spm/tests/test_auto_Normalize12.py b/nipype/interfaces/spm/tests/test_auto_Normalize12.py index bf8da2dba1..532917ab3e 100644 --- a/nipype/interfaces/spm/tests/test_auto_Normalize12.py +++ b/nipype/interfaces/spm/tests/test_auto_Normalize12.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Normalize12 diff --git a/nipype/interfaces/spm/tests/test_auto_OneSampleTTestDesign.py b/nipype/interfaces/spm/tests/test_auto_OneSampleTTestDesign.py index dbb02a6275..5be8b04455 100644 --- a/nipype/interfaces/spm/tests/test_auto_OneSampleTTestDesign.py +++ b/nipype/interfaces/spm/tests/test_auto_OneSampleTTestDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import OneSampleTTestDesign diff --git a/nipype/interfaces/spm/tests/test_auto_PairedTTestDesign.py b/nipype/interfaces/spm/tests/test_auto_PairedTTestDesign.py index 3e1662268a..64e0d9cd61 100644 --- a/nipype/interfaces/spm/tests/test_auto_PairedTTestDesign.py +++ b/nipype/interfaces/spm/tests/test_auto_PairedTTestDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import PairedTTestDesign diff --git a/nipype/interfaces/spm/tests/test_auto_Realign.py b/nipype/interfaces/spm/tests/test_auto_Realign.py index ac2f5bbd92..3532979617 100644 --- a/nipype/interfaces/spm/tests/test_auto_Realign.py +++ b/nipype/interfaces/spm/tests/test_auto_Realign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Realign diff --git a/nipype/interfaces/spm/tests/test_auto_Reslice.py b/nipype/interfaces/spm/tests/test_auto_Reslice.py index 81299fc748..ff4d31da56 100644 --- a/nipype/interfaces/spm/tests/test_auto_Reslice.py +++ b/nipype/interfaces/spm/tests/test_auto_Reslice.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import Reslice diff --git a/nipype/interfaces/spm/tests/test_auto_ResliceToReference.py b/nipype/interfaces/spm/tests/test_auto_ResliceToReference.py index 3e39ade181..6acc320089 100644 --- a/nipype/interfaces/spm/tests/test_auto_ResliceToReference.py +++ b/nipype/interfaces/spm/tests/test_auto_ResliceToReference.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..utils import ResliceToReference diff --git a/nipype/interfaces/spm/tests/test_auto_SPMCommand.py b/nipype/interfaces/spm/tests/test_auto_SPMCommand.py index 7c1ba5cbc2..32a6b28b5c 100644 --- a/nipype/interfaces/spm/tests/test_auto_SPMCommand.py +++ b/nipype/interfaces/spm/tests/test_auto_SPMCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import SPMCommand diff --git a/nipype/interfaces/spm/tests/test_auto_Segment.py b/nipype/interfaces/spm/tests/test_auto_Segment.py index f6df46e1de..d6b685fbcf 100644 --- a/nipype/interfaces/spm/tests/test_auto_Segment.py +++ b/nipype/interfaces/spm/tests/test_auto_Segment.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Segment diff --git a/nipype/interfaces/spm/tests/test_auto_SliceTiming.py b/nipype/interfaces/spm/tests/test_auto_SliceTiming.py index 85fb1bc4e4..369392b5e9 100644 --- a/nipype/interfaces/spm/tests/test_auto_SliceTiming.py +++ b/nipype/interfaces/spm/tests/test_auto_SliceTiming.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import SliceTiming diff --git a/nipype/interfaces/spm/tests/test_auto_Smooth.py b/nipype/interfaces/spm/tests/test_auto_Smooth.py index eea60ed619..b4e2d42b0f 100644 --- a/nipype/interfaces/spm/tests/test_auto_Smooth.py +++ b/nipype/interfaces/spm/tests/test_auto_Smooth.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import Smooth diff --git a/nipype/interfaces/spm/tests/test_auto_Threshold.py b/nipype/interfaces/spm/tests/test_auto_Threshold.py index 078adb3a1b..c822ec4dbf 100644 --- a/nipype/interfaces/spm/tests/test_auto_Threshold.py +++ b/nipype/interfaces/spm/tests/test_auto_Threshold.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import Threshold diff --git a/nipype/interfaces/spm/tests/test_auto_ThresholdStatistics.py b/nipype/interfaces/spm/tests/test_auto_ThresholdStatistics.py index ccdc441e04..a074b47893 100644 --- a/nipype/interfaces/spm/tests/test_auto_ThresholdStatistics.py +++ b/nipype/interfaces/spm/tests/test_auto_ThresholdStatistics.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import ThresholdStatistics diff --git a/nipype/interfaces/spm/tests/test_auto_TwoSampleTTestDesign.py b/nipype/interfaces/spm/tests/test_auto_TwoSampleTTestDesign.py index 4dfbc12570..94418c7233 100644 --- a/nipype/interfaces/spm/tests/test_auto_TwoSampleTTestDesign.py +++ b/nipype/interfaces/spm/tests/test_auto_TwoSampleTTestDesign.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..model import TwoSampleTTestDesign diff --git a/nipype/interfaces/spm/tests/test_auto_VBMSegment.py b/nipype/interfaces/spm/tests/test_auto_VBMSegment.py index 6aaac2b489..9ef45e4903 100644 --- a/nipype/interfaces/spm/tests/test_auto_VBMSegment.py +++ b/nipype/interfaces/spm/tests/test_auto_VBMSegment.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..preprocess import VBMSegment diff --git a/nipype/interfaces/tests/test_auto_BIDSDataGrabber.py b/nipype/interfaces/tests/test_auto_BIDSDataGrabber.py index d77e9d7509..62a92e270a 100644 --- a/nipype/interfaces/tests/test_auto_BIDSDataGrabber.py +++ b/nipype/interfaces/tests/test_auto_BIDSDataGrabber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import BIDSDataGrabber diff --git a/nipype/interfaces/tests/test_auto_Bru2.py b/nipype/interfaces/tests/test_auto_Bru2.py index d386b3f095..4cfb412d10 100644 --- a/nipype/interfaces/tests/test_auto_Bru2.py +++ b/nipype/interfaces/tests/test_auto_Bru2.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..bru2nii import Bru2 diff --git a/nipype/interfaces/tests/test_auto_C3d.py b/nipype/interfaces/tests/test_auto_C3d.py index 9e74e82e2a..04f6b38778 100644 --- a/nipype/interfaces/tests/test_auto_C3d.py +++ b/nipype/interfaces/tests/test_auto_C3d.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..c3 import C3d diff --git a/nipype/interfaces/tests/test_auto_C3dAffineTool.py b/nipype/interfaces/tests/test_auto_C3dAffineTool.py index 510ea2f02a..5578e3d860 100644 --- a/nipype/interfaces/tests/test_auto_C3dAffineTool.py +++ b/nipype/interfaces/tests/test_auto_C3dAffineTool.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..c3 import C3dAffineTool diff --git a/nipype/interfaces/tests/test_auto_CopyMeta.py b/nipype/interfaces/tests/test_auto_CopyMeta.py index 012edfa886..bb56d75f50 100644 --- a/nipype/interfaces/tests/test_auto_CopyMeta.py +++ b/nipype/interfaces/tests/test_auto_CopyMeta.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import CopyMeta diff --git a/nipype/interfaces/tests/test_auto_DataFinder.py b/nipype/interfaces/tests/test_auto_DataFinder.py index 9a1b7418df..6ee0258218 100644 --- a/nipype/interfaces/tests/test_auto_DataFinder.py +++ b/nipype/interfaces/tests/test_auto_DataFinder.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import DataFinder diff --git a/nipype/interfaces/tests/test_auto_DataGrabber.py b/nipype/interfaces/tests/test_auto_DataGrabber.py index d39db0b527..c395eadd1a 100644 --- a/nipype/interfaces/tests/test_auto_DataGrabber.py +++ b/nipype/interfaces/tests/test_auto_DataGrabber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import DataGrabber diff --git a/nipype/interfaces/tests/test_auto_DataSink.py b/nipype/interfaces/tests/test_auto_DataSink.py index da26854451..15af11755c 100644 --- a/nipype/interfaces/tests/test_auto_DataSink.py +++ b/nipype/interfaces/tests/test_auto_DataSink.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import DataSink diff --git a/nipype/interfaces/tests/test_auto_Dcm2nii.py b/nipype/interfaces/tests/test_auto_Dcm2nii.py index 0caa45a1f1..7515809925 100644 --- a/nipype/interfaces/tests/test_auto_Dcm2nii.py +++ b/nipype/interfaces/tests/test_auto_Dcm2nii.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcm2nii import Dcm2nii diff --git a/nipype/interfaces/tests/test_auto_Dcm2niix.py b/nipype/interfaces/tests/test_auto_Dcm2niix.py index 5917f48583..d33cf3ecd2 100644 --- a/nipype/interfaces/tests/test_auto_Dcm2niix.py +++ b/nipype/interfaces/tests/test_auto_Dcm2niix.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcm2nii import Dcm2niix diff --git a/nipype/interfaces/tests/test_auto_DcmStack.py b/nipype/interfaces/tests/test_auto_DcmStack.py index 53a5259af5..53bb069426 100644 --- a/nipype/interfaces/tests/test_auto_DcmStack.py +++ b/nipype/interfaces/tests/test_auto_DcmStack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import DcmStack diff --git a/nipype/interfaces/tests/test_auto_FreeSurferSource.py b/nipype/interfaces/tests/test_auto_FreeSurferSource.py index 15ea9c66cd..2ce1df80ec 100644 --- a/nipype/interfaces/tests/test_auto_FreeSurferSource.py +++ b/nipype/interfaces/tests/test_auto_FreeSurferSource.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import FreeSurferSource diff --git a/nipype/interfaces/tests/test_auto_GroupAndStack.py b/nipype/interfaces/tests/test_auto_GroupAndStack.py index a8f30e32f9..a566467007 100644 --- a/nipype/interfaces/tests/test_auto_GroupAndStack.py +++ b/nipype/interfaces/tests/test_auto_GroupAndStack.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import GroupAndStack diff --git a/nipype/interfaces/tests/test_auto_IOBase.py b/nipype/interfaces/tests/test_auto_IOBase.py index c2c2f96431..ddac7b4449 100644 --- a/nipype/interfaces/tests/test_auto_IOBase.py +++ b/nipype/interfaces/tests/test_auto_IOBase.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import IOBase diff --git a/nipype/interfaces/tests/test_auto_JSONFileGrabber.py b/nipype/interfaces/tests/test_auto_JSONFileGrabber.py index 03a65cf6c2..e5ffe9ca44 100644 --- a/nipype/interfaces/tests/test_auto_JSONFileGrabber.py +++ b/nipype/interfaces/tests/test_auto_JSONFileGrabber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import JSONFileGrabber diff --git a/nipype/interfaces/tests/test_auto_JSONFileSink.py b/nipype/interfaces/tests/test_auto_JSONFileSink.py index 002997912b..878ef899c4 100644 --- a/nipype/interfaces/tests/test_auto_JSONFileSink.py +++ b/nipype/interfaces/tests/test_auto_JSONFileSink.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import JSONFileSink diff --git a/nipype/interfaces/tests/test_auto_LookupMeta.py b/nipype/interfaces/tests/test_auto_LookupMeta.py index 29100aaef7..c0ee8d9b59 100644 --- a/nipype/interfaces/tests/test_auto_LookupMeta.py +++ b/nipype/interfaces/tests/test_auto_LookupMeta.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import LookupMeta diff --git a/nipype/interfaces/tests/test_auto_MatlabCommand.py b/nipype/interfaces/tests/test_auto_MatlabCommand.py index c1b971d25d..b661dcb157 100644 --- a/nipype/interfaces/tests/test_auto_MatlabCommand.py +++ b/nipype/interfaces/tests/test_auto_MatlabCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..matlab import MatlabCommand diff --git a/nipype/interfaces/tests/test_auto_MergeNifti.py b/nipype/interfaces/tests/test_auto_MergeNifti.py index 9e0a017c60..a2e4e54913 100644 --- a/nipype/interfaces/tests/test_auto_MergeNifti.py +++ b/nipype/interfaces/tests/test_auto_MergeNifti.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import MergeNifti diff --git a/nipype/interfaces/tests/test_auto_MeshFix.py b/nipype/interfaces/tests/test_auto_MeshFix.py index 3cc1541d6d..7b3461e6ee 100644 --- a/nipype/interfaces/tests/test_auto_MeshFix.py +++ b/nipype/interfaces/tests/test_auto_MeshFix.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..meshfix import MeshFix diff --git a/nipype/interfaces/tests/test_auto_MySQLSink.py b/nipype/interfaces/tests/test_auto_MySQLSink.py index 048699659a..c67c938e7a 100644 --- a/nipype/interfaces/tests/test_auto_MySQLSink.py +++ b/nipype/interfaces/tests/test_auto_MySQLSink.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import MySQLSink diff --git a/nipype/interfaces/tests/test_auto_NiftiGeneratorBase.py b/nipype/interfaces/tests/test_auto_NiftiGeneratorBase.py index 88bc12dfa2..9bdd24ac4a 100644 --- a/nipype/interfaces/tests/test_auto_NiftiGeneratorBase.py +++ b/nipype/interfaces/tests/test_auto_NiftiGeneratorBase.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import NiftiGeneratorBase diff --git a/nipype/interfaces/tests/test_auto_NilearnBaseInterface.py b/nipype/interfaces/tests/test_auto_NilearnBaseInterface.py index 38e4cfd698..0c9f8e2fc9 100644 --- a/nipype/interfaces/tests/test_auto_NilearnBaseInterface.py +++ b/nipype/interfaces/tests/test_auto_NilearnBaseInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..nilearn import NilearnBaseInterface diff --git a/nipype/interfaces/tests/test_auto_PETPVC.py b/nipype/interfaces/tests/test_auto_PETPVC.py index c5283435d5..6b598f8d70 100644 --- a/nipype/interfaces/tests/test_auto_PETPVC.py +++ b/nipype/interfaces/tests/test_auto_PETPVC.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..petpvc import PETPVC diff --git a/nipype/interfaces/tests/test_auto_Quickshear.py b/nipype/interfaces/tests/test_auto_Quickshear.py index 7f39a6bc96..4f5be9f0b5 100644 --- a/nipype/interfaces/tests/test_auto_Quickshear.py +++ b/nipype/interfaces/tests/test_auto_Quickshear.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..quickshear import Quickshear diff --git a/nipype/interfaces/tests/test_auto_Reorient.py b/nipype/interfaces/tests/test_auto_Reorient.py index 2e45a1ca7f..6683d6de51 100644 --- a/nipype/interfaces/tests/test_auto_Reorient.py +++ b/nipype/interfaces/tests/test_auto_Reorient.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..image import Reorient diff --git a/nipype/interfaces/tests/test_auto_Rescale.py b/nipype/interfaces/tests/test_auto_Rescale.py index e180c82988..0354dd7777 100644 --- a/nipype/interfaces/tests/test_auto_Rescale.py +++ b/nipype/interfaces/tests/test_auto_Rescale.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..image import Rescale diff --git a/nipype/interfaces/tests/test_auto_S3DataGrabber.py b/nipype/interfaces/tests/test_auto_S3DataGrabber.py index 7c69413eb0..ff13619248 100644 --- a/nipype/interfaces/tests/test_auto_S3DataGrabber.py +++ b/nipype/interfaces/tests/test_auto_S3DataGrabber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import S3DataGrabber diff --git a/nipype/interfaces/tests/test_auto_SQLiteSink.py b/nipype/interfaces/tests/test_auto_SQLiteSink.py index ea03663c4c..e826eb3b8a 100644 --- a/nipype/interfaces/tests/test_auto_SQLiteSink.py +++ b/nipype/interfaces/tests/test_auto_SQLiteSink.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import SQLiteSink diff --git a/nipype/interfaces/tests/test_auto_SSHDataGrabber.py b/nipype/interfaces/tests/test_auto_SSHDataGrabber.py index cc7aa22e38..e3755c8a75 100644 --- a/nipype/interfaces/tests/test_auto_SSHDataGrabber.py +++ b/nipype/interfaces/tests/test_auto_SSHDataGrabber.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import SSHDataGrabber diff --git a/nipype/interfaces/tests/test_auto_SelectFiles.py b/nipype/interfaces/tests/test_auto_SelectFiles.py index bf438fb826..ed6c276ddf 100644 --- a/nipype/interfaces/tests/test_auto_SelectFiles.py +++ b/nipype/interfaces/tests/test_auto_SelectFiles.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import SelectFiles diff --git a/nipype/interfaces/tests/test_auto_SignalExtraction.py b/nipype/interfaces/tests/test_auto_SignalExtraction.py index bc76f5261a..3ddd5ea222 100644 --- a/nipype/interfaces/tests/test_auto_SignalExtraction.py +++ b/nipype/interfaces/tests/test_auto_SignalExtraction.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..nilearn import SignalExtraction diff --git a/nipype/interfaces/tests/test_auto_SlicerCommandLine.py b/nipype/interfaces/tests/test_auto_SlicerCommandLine.py index 057628e879..43ae697eec 100644 --- a/nipype/interfaces/tests/test_auto_SlicerCommandLine.py +++ b/nipype/interfaces/tests/test_auto_SlicerCommandLine.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dynamic_slicer import SlicerCommandLine diff --git a/nipype/interfaces/tests/test_auto_SplitNifti.py b/nipype/interfaces/tests/test_auto_SplitNifti.py index e1f6539fab..b0859f3d4a 100644 --- a/nipype/interfaces/tests/test_auto_SplitNifti.py +++ b/nipype/interfaces/tests/test_auto_SplitNifti.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..dcmstack import SplitNifti diff --git a/nipype/interfaces/tests/test_auto_XNATSink.py b/nipype/interfaces/tests/test_auto_XNATSink.py index b4db5ec8d3..57aa329ce4 100644 --- a/nipype/interfaces/tests/test_auto_XNATSink.py +++ b/nipype/interfaces/tests/test_auto_XNATSink.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import XNATSink diff --git a/nipype/interfaces/tests/test_auto_XNATSource.py b/nipype/interfaces/tests/test_auto_XNATSource.py index 8faa79af81..7b6acd6a6f 100644 --- a/nipype/interfaces/tests/test_auto_XNATSource.py +++ b/nipype/interfaces/tests/test_auto_XNATSource.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..io import XNATSource diff --git a/nipype/interfaces/utility/tests/test_auto_AssertEqual.py b/nipype/interfaces/utility/tests/test_auto_AssertEqual.py index 284e0f4d62..df61f8c2c0 100644 --- a/nipype/interfaces/utility/tests/test_auto_AssertEqual.py +++ b/nipype/interfaces/utility/tests/test_auto_AssertEqual.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import AssertEqual diff --git a/nipype/interfaces/utility/tests/test_auto_CSVReader.py b/nipype/interfaces/utility/tests/test_auto_CSVReader.py index 8a51ca4170..6026fa8377 100644 --- a/nipype/interfaces/utility/tests/test_auto_CSVReader.py +++ b/nipype/interfaces/utility/tests/test_auto_CSVReader.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..csv import CSVReader diff --git a/nipype/interfaces/utility/tests/test_auto_Function.py b/nipype/interfaces/utility/tests/test_auto_Function.py index 5c2505fe16..f4e353bb27 100644 --- a/nipype/interfaces/utility/tests/test_auto_Function.py +++ b/nipype/interfaces/utility/tests/test_auto_Function.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..wrappers import Function diff --git a/nipype/interfaces/utility/tests/test_auto_IdentityInterface.py b/nipype/interfaces/utility/tests/test_auto_IdentityInterface.py index 97523d0b86..be12e0bad7 100644 --- a/nipype/interfaces/utility/tests/test_auto_IdentityInterface.py +++ b/nipype/interfaces/utility/tests/test_auto_IdentityInterface.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import IdentityInterface diff --git a/nipype/interfaces/utility/tests/test_auto_Merge.py b/nipype/interfaces/utility/tests/test_auto_Merge.py index 71e7d2db0a..a7ed5c3a31 100644 --- a/nipype/interfaces/utility/tests/test_auto_Merge.py +++ b/nipype/interfaces/utility/tests/test_auto_Merge.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import Merge diff --git a/nipype/interfaces/utility/tests/test_auto_Rename.py b/nipype/interfaces/utility/tests/test_auto_Rename.py index 1e6e1cab34..c98d50414e 100644 --- a/nipype/interfaces/utility/tests/test_auto_Rename.py +++ b/nipype/interfaces/utility/tests/test_auto_Rename.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import Rename diff --git a/nipype/interfaces/utility/tests/test_auto_Select.py b/nipype/interfaces/utility/tests/test_auto_Select.py index e241f7ed76..abc81b45da 100644 --- a/nipype/interfaces/utility/tests/test_auto_Select.py +++ b/nipype/interfaces/utility/tests/test_auto_Select.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import Select diff --git a/nipype/interfaces/utility/tests/test_auto_Split.py b/nipype/interfaces/utility/tests/test_auto_Split.py index 8acbceef99..20dbd948dc 100644 --- a/nipype/interfaces/utility/tests/test_auto_Split.py +++ b/nipype/interfaces/utility/tests/test_auto_Split.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import Split diff --git a/nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py b/nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py index 785e87e8b1..1f07ed7d70 100644 --- a/nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py +++ b/nipype/interfaces/vista/tests/test_auto_Vnifti2Image.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..vista import Vnifti2Image diff --git a/nipype/interfaces/vista/tests/test_auto_VtoMat.py b/nipype/interfaces/vista/tests/test_auto_VtoMat.py index ee16266402..114e63fce8 100644 --- a/nipype/interfaces/vista/tests/test_auto_VtoMat.py +++ b/nipype/interfaces/vista/tests/test_auto_VtoMat.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..vista import VtoMat diff --git a/nipype/interfaces/workbench/tests/test_auto_MetricResample.py b/nipype/interfaces/workbench/tests/test_auto_MetricResample.py index 46a66aa728..e08c87658e 100644 --- a/nipype/interfaces/workbench/tests/test_auto_MetricResample.py +++ b/nipype/interfaces/workbench/tests/test_auto_MetricResample.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..metric import MetricResample diff --git a/nipype/interfaces/workbench/tests/test_auto_WBCommand.py b/nipype/interfaces/workbench/tests/test_auto_WBCommand.py index b496a270dd..cccba55c95 100644 --- a/nipype/interfaces/workbench/tests/test_auto_WBCommand.py +++ b/nipype/interfaces/workbench/tests/test_auto_WBCommand.py @@ -1,5 +1,4 @@ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals from ..base import WBCommand From fa347ae8fec92547b55c6e9e564fb5a6034dbe00 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:37:57 -0400 Subject: [PATCH 09/28] CI: Drop 2.7, add 3.7-dev on Travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bc60cab99c..c57910ed80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,10 @@ sudo: required language: python # our build matrix python: -- 2.7 - 3.4 - 3.5 - 3.6 +- 3.7-dev env: global: From f25cfc0e75ad302bcf7ce0137bffda224362f734 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:44:35 -0400 Subject: [PATCH 10/28] RF: Purge PY2/PY3 indicators --- nipype/interfaces/base/core.py | 4 +--- nipype/pipeline/engine/utils.py | 5 ++--- nipype/pkg_info.py | 7 +------ nipype/sphinxext/plot_workflow.py | 13 ++----------- nipype/utils/draw_gantt_chart.py | 9 ++------- nipype/utils/tests/test_cmd.py | 6 ------ setup.py | 13 ++----------- 7 files changed, 10 insertions(+), 47 deletions(-) diff --git a/nipype/interfaces/base/core.py b/nipype/interfaces/base/core.py index c4f4840dd5..ee58d0e018 100644 --- a/nipype/interfaces/base/core.py +++ b/nipype/interfaces/base/core.py @@ -43,8 +43,6 @@ iflogger = logging.getLogger('nipype.interface') -PY35 = sys.version_info >= (3, 5) -PY3 = sys.version_info[0] > 2 VALID_TERMINAL_OUTPUT = [ 'stream', 'allatonce', 'file', 'file_split', 'file_stdout', 'file_stderr', 'none' @@ -644,7 +642,7 @@ def save_inputs_to_json(self, json_file): """ inputs = self.inputs.get_traitsfree() iflogger.debug('saving inputs {}', inputs) - with open(json_file, 'w' if PY3 else 'wb') as fhandle: + with open(json_file, 'w') as fhandle: json.dump(inputs, fhandle, indent=4, ensure_ascii=False) def _pre_run_hook(self, runtime): diff --git a/nipype/pipeline/engine/utils.py b/nipype/pipeline/engine/utils.py index 17554e3615..cfca520d00 100644 --- a/nipype/pipeline/engine/utils.py +++ b/nipype/pipeline/engine/utils.py @@ -47,7 +47,6 @@ from funcsigs import signature logger = logging.getLogger('nipype.workflow') -PY3 = sys.version_info[0] > 2 try: dfs_preorder = nx.dfs_preorder @@ -1595,7 +1594,7 @@ def write_workflow_resources(graph, filename=None, append=None): # If we append different runs, then we will see different # "bursts" of timestamps corresponding to those executions. if append and os.path.isfile(filename): - with open(filename, 'r' if PY3 else 'rb') as rsf: + with open(filename, 'r') as rsf: big_dict = json.load(rsf) for _, node in enumerate(graph.nodes()): @@ -1633,7 +1632,7 @@ def write_workflow_resources(graph, filename=None, append=None): big_dict['mapnode'] += [subidx] * nsamples big_dict['params'] += [params] * nsamples - with open(filename, 'w' if PY3 else 'wb') as rsf: + with open(filename, 'w') as rsf: json.dump(big_dict, rsf, ensure_ascii=False) return filename diff --git a/nipype/pkg_info.py b/nipype/pkg_info.py index 1d1150e318..ab664f743c 100644 --- a/nipype/pkg_info.py +++ b/nipype/pkg_info.py @@ -6,7 +6,6 @@ import subprocess COMMIT_INFO_FNAME = 'COMMIT_INFO.txt' -PY3 = sys.version_info[0] >= 3 def pkg_commit_hash(pkg_path): @@ -61,9 +60,7 @@ def pkg_commit_hash(pkg_path): shell=True) repo_commit, _ = proc.communicate() if repo_commit: - if PY3: - repo_commit = repo_commit.decode() - return 'repository', repo_commit.strip() + return 'repository', repo_commit.decode().strip() return '(none found)', '' @@ -82,8 +79,6 @@ def get_pkg_info(pkg_path): ''' src, hsh = pkg_commit_hash(pkg_path) from .info import VERSION - if not PY3: - src, hsh, VERSION = src.encode(), hsh.encode(), VERSION.encode() import networkx import nibabel import numpy diff --git a/nipype/sphinxext/plot_workflow.py b/nipype/sphinxext/plot_workflow.py index 5caa4e1645..1425b19450 100644 --- a/nipype/sphinxext/plot_workflow.py +++ b/nipype/sphinxext/plot_workflow.py @@ -144,10 +144,6 @@ def format_template(template, **kw): -PY2 = sys.version_info[0] == 2 -PY3 = sys.version_info[0] == 3 - - def _mkdirp(folder): """ Equivalent to bash's mkdir -p @@ -274,8 +270,7 @@ def setup(app): app.add_config_value('wf_working_directory', None, True) app.add_config_value('wf_template', None, True) - app.connect('doctree-read'.encode() - if PY2 else 'doctree-read', mark_wf_labels) + app.connect('doctree-read', mark_wf_labels) metadata = {'parallel_read_safe': True, 'parallel_write_safe': True} return metadata @@ -456,11 +451,7 @@ def run_code(code, code_path, ns=None, function_name=None): # Redirect stdout stdout = sys.stdout - if PY3: - sys.stdout = io.StringIO() - else: - from cStringIO import StringIO - sys.stdout = StringIO() + sys.stdout = io.StringIO() # Assign a do-nothing print function to the namespace. There # doesn't seem to be any other way to provide a way to (not) print diff --git a/nipype/utils/draw_gantt_chart.py b/nipype/utils/draw_gantt_chart.py index 7e6dbf94ed..6a037d34e0 100644 --- a/nipype/utils/draw_gantt_chart.py +++ b/nipype/utils/draw_gantt_chart.py @@ -21,8 +21,6 @@ 'install the pandas package') pass -PY3 = sys.version_info[0] > 2 - def create_event_dict(start_time, nodes_list): ''' @@ -316,10 +314,7 @@ def draw_resource_bar(start_time, finish_time, time_series, space_between_minutes = space_between_minutes / scale # Iterate through time series - if PY3: - ts_items = time_series.items() - else: - ts_items = time_series.iteritems() + ts_items = time_series.items() ts_len = len(time_series) for idx, (ts_start, amount) in enumerate(ts_items): @@ -555,5 +550,5 @@ def generate_gantt_chart(logfile, ''' # save file - with open(logfile + '.html', 'w' if PY3 else 'wb') as html_file: + with open(logfile + '.html', 'w') as html_file: html_file.write(html_string) diff --git a/nipype/utils/tests/test_cmd.py b/nipype/utils/tests/test_cmd.py index 87a6005c2e..52861e9fb7 100644 --- a/nipype/utils/tests/test_cmd.py +++ b/nipype/utils/tests/test_cmd.py @@ -6,8 +6,6 @@ from io import StringIO from ...utils import nipype_cmd -PY2 = sys.version_info[0] < 3 - @contextmanager def capture_sys_output(): @@ -35,10 +33,6 @@ def test_main_returns_2_on_empty(self): nipype_cmd: error: the following arguments are required: module, interface """ - if PY2: - msg = """usage: nipype_cmd [-h] module interface -nipype_cmd: error: too few arguments -""" assert stderr.getvalue() == msg assert stdout.getvalue() == '' diff --git a/setup.py b/setup.py index 37677afd35..b48b5693df 100755 --- a/setup.py +++ b/setup.py @@ -22,9 +22,6 @@ from setuptools.command.build_py import build_py -PY3 = sys.version_info[0] >= 3 - - class BuildWithCommitInfoCommand(build_py): """ Return extended build command class for recording commit @@ -70,20 +67,14 @@ def run(self): stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) - repo_commit, _ = proc.communicate() - # Fix for python 3 - if PY3: - repo_commit = repo_commit.decode() + repo_commit, _ = proc.communicate().decode() # We write the installation commit even if it's empty cfg_parser = configparser.RawConfigParser() cfg_parser.read(pjoin('nipype', 'COMMIT_INFO.txt')) cfg_parser.set('commit hash', 'install_hash', repo_commit.strip()) out_pth = pjoin(self.build_lib, 'nipype', 'COMMIT_INFO.txt') - if PY3: - cfg_parser.write(open(out_pth, 'wt')) - else: - cfg_parser.write(open(out_pth, 'wb')) + cfg_parser.write(open(out_pth, 'wt')) def main(): From 323663f2856090fd34ee5a7822c15c9bfc3cbe62 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:47:10 -0400 Subject: [PATCH 11/28] RF: Purge "from io import open" --- nipype/algorithms/tests/test_confounds.py | 2 -- nipype/interfaces/mrtrix/convert.py | 2 -- nipype/scripts/cli.py | 2 -- 3 files changed, 6 deletions(-) diff --git a/nipype/algorithms/tests/test_confounds.py b/nipype/algorithms/tests/test_confounds.py index 2c601374ab..c9ef93f49f 100644 --- a/nipype/algorithms/tests/test_confounds.py +++ b/nipype/algorithms/tests/test_confounds.py @@ -2,8 +2,6 @@ # -*- coding: utf-8 -*- import os -from io import open - import pytest from nipype.testing import example_data from nipype.algorithms.confounds import FramewiseDisplacement, ComputeDVARS, \ diff --git a/nipype/interfaces/mrtrix/convert.py b/nipype/interfaces/mrtrix/convert.py index 62b53fc19b..860ae3cfef 100644 --- a/nipype/interfaces/mrtrix/convert.py +++ b/nipype/interfaces/mrtrix/convert.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from io import open - import os.path as op import nibabel as nb import nibabel.trackvis as trk diff --git a/nipype/scripts/cli.py b/nipype/scripts/cli.py index 59d8672cfb..b3bb89bb7b 100644 --- a/nipype/scripts/cli.py +++ b/nipype/scripts/cli.py @@ -1,8 +1,6 @@ #!python # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: -from io import open - import click from .instance import list_interfaces From e2dc9f84fab79cc9453cfba705713f2309f92b71 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Wed, 25 Jul 2018 15:49:01 -0400 Subject: [PATCH 12/28] DOC: Suggest raise from syntax --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f55c09a41c..cee622ed7b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -116,7 +116,7 @@ One your PR is ready a member of the development team will review your changes t In general, do not catch exceptions without good reason. For non-fatal exceptions, log the exception as a warning and add more information about what may have caused the error. -If you do need to catch an exception, raise a new exception using ``raise_from(NewException("message"), oldException)`` from ``future``. +If you do need to catch an exception, raise a new exception using ``raise NewException("message") from oldException)``. Do not log this, as it creates redundant/confusing logs. #### Testing From 9517c5ab1a3f87e018bea605d0f5554736e96d09 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Thu, 26 Jul 2018 08:32:04 -0400 Subject: [PATCH 13/28] TEST: Drop legacy auto tests --- .../ants/tests/test_auto_GenWarpFields.py | 67 ----------------- .../ants/tests/test_auto_antsIntroduction.py | 67 ----------------- .../tests/test_auto_buildtemplateparallel.py | 72 ------------------- 3 files changed, 206 deletions(-) delete mode 100644 nipype/interfaces/ants/tests/test_auto_GenWarpFields.py delete mode 100644 nipype/interfaces/ants/tests/test_auto_antsIntroduction.py delete mode 100644 nipype/interfaces/ants/tests/test_auto_buildtemplateparallel.py diff --git a/nipype/interfaces/ants/tests/test_auto_GenWarpFields.py b/nipype/interfaces/ants/tests/test_auto_GenWarpFields.py deleted file mode 100644 index af91f9a8af..0000000000 --- a/nipype/interfaces/ants/tests/test_auto_GenWarpFields.py +++ /dev/null @@ -1,67 +0,0 @@ -# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals -from ..legacy import GenWarpFields - - -def test_GenWarpFields_inputs(): - input_map = dict( - args=dict(argstr='%s', ), - bias_field_correction=dict(argstr='-n 1', ), - dimension=dict( - argstr='-d %d', - position=1, - usedefault=True, - ), - environ=dict( - nohash=True, - usedefault=True, - ), - force_proceed=dict(argstr='-f 1', ), - input_image=dict( - argstr='-i %s', - copyfile=False, - mandatory=True, - ), - inverse_warp_template_labels=dict(argstr='-l', ), - max_iterations=dict( - argstr='-m %s', - sep='x', - ), - num_threads=dict( - nohash=True, - usedefault=True, - ), - out_prefix=dict( - argstr='-o %s', - usedefault=True, - ), - quality_check=dict(argstr='-q 1', ), - reference_image=dict( - argstr='-r %s', - copyfile=True, - mandatory=True, - ), - similarity_metric=dict(argstr='-s %s', ), - transformation_model=dict( - argstr='-t %s', - usedefault=True, - ), - ) - inputs = GenWarpFields.input_spec() - - for key, metadata in list(input_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(inputs.traits()[key], metakey) == value -def test_GenWarpFields_outputs(): - output_map = dict( - affine_transformation=dict(), - input_file=dict(), - inverse_warp_field=dict(), - output_file=dict(), - warp_field=dict(), - ) - outputs = GenWarpFields.output_spec() - - for key, metadata in list(output_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(outputs.traits()[key], metakey) == value diff --git a/nipype/interfaces/ants/tests/test_auto_antsIntroduction.py b/nipype/interfaces/ants/tests/test_auto_antsIntroduction.py deleted file mode 100644 index fe21858500..0000000000 --- a/nipype/interfaces/ants/tests/test_auto_antsIntroduction.py +++ /dev/null @@ -1,67 +0,0 @@ -# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals -from ..legacy import antsIntroduction - - -def test_antsIntroduction_inputs(): - input_map = dict( - args=dict(argstr='%s', ), - bias_field_correction=dict(argstr='-n 1', ), - dimension=dict( - argstr='-d %d', - position=1, - usedefault=True, - ), - environ=dict( - nohash=True, - usedefault=True, - ), - force_proceed=dict(argstr='-f 1', ), - input_image=dict( - argstr='-i %s', - copyfile=False, - mandatory=True, - ), - inverse_warp_template_labels=dict(argstr='-l', ), - max_iterations=dict( - argstr='-m %s', - sep='x', - ), - num_threads=dict( - nohash=True, - usedefault=True, - ), - out_prefix=dict( - argstr='-o %s', - usedefault=True, - ), - quality_check=dict(argstr='-q 1', ), - reference_image=dict( - argstr='-r %s', - copyfile=True, - mandatory=True, - ), - similarity_metric=dict(argstr='-s %s', ), - transformation_model=dict( - argstr='-t %s', - usedefault=True, - ), - ) - inputs = antsIntroduction.input_spec() - - for key, metadata in list(input_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(inputs.traits()[key], metakey) == value -def test_antsIntroduction_outputs(): - output_map = dict( - affine_transformation=dict(), - input_file=dict(), - inverse_warp_field=dict(), - output_file=dict(), - warp_field=dict(), - ) - outputs = antsIntroduction.output_spec() - - for key, metadata in list(output_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(outputs.traits()[key], metakey) == value diff --git a/nipype/interfaces/ants/tests/test_auto_buildtemplateparallel.py b/nipype/interfaces/ants/tests/test_auto_buildtemplateparallel.py deleted file mode 100644 index 8513003c29..0000000000 --- a/nipype/interfaces/ants/tests/test_auto_buildtemplateparallel.py +++ /dev/null @@ -1,72 +0,0 @@ -# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals -from ..legacy import buildtemplateparallel - - -def test_buildtemplateparallel_inputs(): - input_map = dict( - args=dict(argstr='%s', ), - bias_field_correction=dict(argstr='-n 1', ), - dimension=dict( - argstr='-d %d', - position=1, - usedefault=True, - ), - environ=dict( - nohash=True, - usedefault=True, - ), - gradient_step_size=dict(argstr='-g %f', ), - in_files=dict( - argstr='%s', - mandatory=True, - position=-1, - ), - iteration_limit=dict( - argstr='-i %d', - usedefault=True, - ), - max_iterations=dict( - argstr='-m %s', - sep='x', - ), - num_cores=dict( - argstr='-j %d', - requires=['parallelization'], - ), - num_threads=dict( - nohash=True, - usedefault=True, - ), - out_prefix=dict( - argstr='-o %s', - usedefault=True, - ), - parallelization=dict( - argstr='-c %d', - usedefault=True, - ), - rigid_body_registration=dict(argstr='-r 1', ), - similarity_metric=dict(argstr='-s %s', ), - transformation_model=dict( - argstr='-t %s', - usedefault=True, - ), - use_first_as_target=dict(), - ) - inputs = buildtemplateparallel.input_spec() - - for key, metadata in list(input_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(inputs.traits()[key], metakey) == value -def test_buildtemplateparallel_outputs(): - output_map = dict( - final_template_file=dict(), - subject_outfiles=dict(), - template_files=dict(), - ) - outputs = buildtemplateparallel.output_spec() - - for key, metadata in list(output_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(outputs.traits()[key], metakey) == value From 1e5344ef29211d2fcc63a968d69ae48fb8f2ae93 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 13 Aug 2018 09:31:33 -0400 Subject: [PATCH 14/28] CI: Build Python 3 wheels only --- .circleci/config.yml | 6 ++++-- setup.cfg | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 884b395809..860070acf3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -316,6 +316,7 @@ jobs: - run: name: Check pypi preconditions command: | + pyenv local 3.5.2 pip install --upgrade twine future wheel readme_renderer setuptools python setup.py check -r -s python setup.py sdist bdist_wheel @@ -323,7 +324,7 @@ jobs: name: Validate Python 3 installation command: | pyenv local 3.5.2 - pip install dist/nipype-*-py2.py3-none-any.whl + pip install dist/nipype-*-py3-none-any.whl # Futures should not install in Python 3 test $(pip show futures 2>/dev/null | wc -l) = "0" - store_artifacts: @@ -338,6 +339,7 @@ jobs: - run: name: Deploy to PyPI command: | + pyenv local 3.5.2 pip install --upgrade twine future wheel readme_renderer setuptools python setup.py check -r -s python setup.py sdist bdist_wheel @@ -382,7 +384,7 @@ workflows: - pypi_precheck: filters: branches: - only: /rel\/.*/ + only: /(rel|dev)\/.*/ tags: only: /.*/ - compare_base_dockerfiles: diff --git a/setup.cfg b/setup.cfg index 3c6e79cf31..bf1d5a3c1b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [bdist_wheel] -universal=1 +python-tag=py3 From 055a59f38c683795af21be061732641b5be96c71 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 13 Aug 2018 09:51:52 -0400 Subject: [PATCH 15/28] FIX: Run decode on bytes, not tuple --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b48b5693df..637432ff8f 100755 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ def run(self): stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) - repo_commit, _ = proc.communicate().decode() + repo_commit = proc.communicate()[0].decode() # We write the installation commit even if it's empty cfg_parser = configparser.RawConfigParser() From 938cdf4322111020cd192052911ffc5830c8a6eb Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 13 Aug 2018 11:43:35 -0400 Subject: [PATCH 16/28] CI: Do not install future, remove futures check --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 860070acf3..932152cae7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -317,7 +317,7 @@ jobs: name: Check pypi preconditions command: | pyenv local 3.5.2 - pip install --upgrade twine future wheel readme_renderer setuptools + pip install --upgrade twine wheel readme_renderer setuptools python setup.py check -r -s python setup.py sdist bdist_wheel - run: @@ -325,8 +325,6 @@ jobs: command: | pyenv local 3.5.2 pip install dist/nipype-*-py3-none-any.whl - # Futures should not install in Python 3 - test $(pip show futures 2>/dev/null | wc -l) = "0" - store_artifacts: path: /home/circleci/nipype/dist @@ -340,7 +338,7 @@ jobs: name: Deploy to PyPI command: | pyenv local 3.5.2 - pip install --upgrade twine future wheel readme_renderer setuptools + pip install --upgrade twine wheel readme_renderer setuptools python setup.py check -r -s python setup.py sdist bdist_wheel twine upload dist/* From 83e4dc95f08458ec47231a61cbd2ebd494f9a7d2 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 17 Dec 2018 10:15:25 -0500 Subject: [PATCH 17/28] PY3: Drop future/builtins imports --- nipype/utils/subprocess.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nipype/utils/subprocess.py b/nipype/utils/subprocess.py index 5516482936..b29d575a37 100644 --- a/nipype/utils/subprocess.py +++ b/nipype/utils/subprocess.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Miscellaneous utility functions """ -from __future__ import (print_function, unicode_literals, division, - absolute_import) import os import sys import gc @@ -17,8 +15,6 @@ from .. import logging -from builtins import range, object - iflogger = logging.getLogger('nipype.interface') From e0579713c1b2ebae58f2862c7284507625d56661 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 17 Dec 2018 10:16:31 -0500 Subject: [PATCH 18/28] MAINT: Minimum python version > 3.2 --- nipype/pkg_info.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nipype/pkg_info.py b/nipype/pkg_info.py index a6323c7a34..7367e4d8e5 100644 --- a/nipype/pkg_info.py +++ b/nipype/pkg_info.py @@ -44,10 +44,7 @@ def pkg_commit_hash(pkg_path): raise IOError('Missing commit info file %s' % pth) cfg_parser = configparser.RawConfigParser() with open(pth, encoding='utf-8') as fp: - if sys.version_info >= (3, 2): - cfg_parser.read_file(fp) - else: - cfg_parser.readfp(fp) + cfg_parser.read_file(fp) archive_subst = cfg_parser.get('commit hash', 'archive_subst_hash') if not archive_subst.startswith('$Format'): # it has been substituted return 'archive substitution', archive_subst From b0d464c7c7ba7bd557fb8f7daa059f462eccab63 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 17 Dec 2018 10:33:08 -0500 Subject: [PATCH 19/28] RF: Drop various remaining compatibilities for Python < 3.5 --- nipype/info.py | 4 -- nipype/interfaces/tests/test_io.py | 8 --- nipype/pipeline/engine/tests/test_utils.py | 7 -- nipype/pipeline/plugins/tools.py | 3 +- nipype/sphinxext/plot_workflow.py | 19 +----- nipype/utils/filemanip.py | 76 ++-------------------- nipype/utils/tests/test_functions.py | 6 +- 7 files changed, 8 insertions(+), 115 deletions(-) diff --git a/nipype/info.py b/nipype/info.py index cb2ea6ebde..354623c8d6 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -2,7 +2,6 @@ settings in setup.py, the nipy top-level docstring, and for building the docs. In setup.py in particular, we exec this file, so it cannot import nipy """ -import sys # nipype version information. An empty version_extra corresponds to a # full release. '.dev' as a version_extra string means this is a development @@ -152,9 +151,6 @@ def get_nipype_gitversion(): 'futures; python_version == "2.7"', ] -if sys.version_info <= (3, 4): - REQUIRES.append('configparser') - TESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5'] EXTRA_REQUIRES = { diff --git a/nipype/interfaces/tests/test_io.py b/nipype/interfaces/tests/test_io.py index 298cf3bfa4..e8b28924ca 100644 --- a/nipype/interfaces/tests/test_io.py +++ b/nipype/interfaces/tests/test_io.py @@ -5,9 +5,7 @@ import copy import simplejson import glob -import shutil import os.path as op -import sys from subprocess import Popen import hashlib from collections import namedtuple @@ -577,8 +575,6 @@ def test_jsonsink(tmpdir, inputs_attributes): # There are three reasons these tests will be skipped: @pytest.mark.skipif(not have_pybids, reason="Pybids is not installed") -@pytest.mark.skipif(sys.version_info < (3, 0), - reason="Pybids no longer supports Python 2") @pytest.mark.skipif(not dist_is_editable('pybids'), reason="Pybids is not installed in editable mode") def test_bids_grabber(tmpdir): @@ -594,8 +590,6 @@ def test_bids_grabber(tmpdir): @pytest.mark.skipif(not have_pybids, reason="Pybids is not installed") -@pytest.mark.skipif(sys.version_info < (3, 0), - reason="Pybids no longer supports Python 2") @pytest.mark.skipif(not dist_is_editable('pybids'), reason="Pybids is not installed in editable mode") def test_bids_fields(tmpdir): @@ -610,8 +604,6 @@ def test_bids_fields(tmpdir): @pytest.mark.skipif(not have_pybids, reason="Pybids is not installed") -@pytest.mark.skipif(sys.version_info < (3, 0), - reason="Pybids no longer supports Python 2") @pytest.mark.skipif(not dist_is_editable('pybids'), reason="Pybids is not installed in editable mode") def test_bids_infields_outfields(tmpdir): diff --git a/nipype/pipeline/engine/tests/test_utils.py b/nipype/pipeline/engine/tests/test_utils.py index e867e4d0a1..a46860d58e 100644 --- a/nipype/pipeline/engine/tests/test_utils.py +++ b/nipype/pipeline/engine/tests/test_utils.py @@ -4,7 +4,6 @@ """Tests for the engine utils module """ import os -import sys from copy import deepcopy import pytest @@ -159,8 +158,6 @@ def dummy_func(value): return value + 1 -@pytest.mark.skipif( - sys.version_info < (3, 0), reason="the famous segfault #1788") def test_mapnode_crash(tmpdir): """Test mapnode crash when stop_on_first_crash is True""" cwd = os.getcwd() @@ -180,8 +177,6 @@ def test_mapnode_crash(tmpdir): os.chdir(cwd) -@pytest.mark.skipif( - sys.version_info < (3, 0), reason="the famous segfault #1788") def test_mapnode_crash2(tmpdir): """Test mapnode crash when stop_on_first_crash is False""" cwd = os.getcwd() @@ -200,8 +195,6 @@ def test_mapnode_crash2(tmpdir): os.chdir(cwd) -@pytest.mark.skipif( - sys.version_info < (3, 0), reason="the famous segfault #1788") def test_mapnode_crash3(tmpdir): """Test mapnode crash when mapnode is embedded in a workflow""" tmpdir.chdir() diff --git a/nipype/pipeline/plugins/tools.py b/nipype/pipeline/plugins/tools.py index 4eef64994d..91d038950e 100644 --- a/nipype/pipeline/plugins/tools.py +++ b/nipype/pipeline/plugins/tools.py @@ -115,8 +115,7 @@ def create_pyscript(node, updatehash=False, store_exception=True): batchdir = '%s' from nipype.utils.filemanip import loadpkl, savepkl try: - if not sys.version_info < (2, 7): - from collections import OrderedDict + from collections import OrderedDict config_dict=%s config.update_config(config_dict) ## Only configure matplotlib if it was successfully imported, diff --git a/nipype/sphinxext/plot_workflow.py b/nipype/sphinxext/plot_workflow.py index 1425b19450..740c121926 100644 --- a/nipype/sphinxext/plot_workflow.py +++ b/nipype/sphinxext/plot_workflow.py @@ -144,23 +144,6 @@ def format_template(template, **kw): -def _mkdirp(folder): - """ - Equivalent to bash's mkdir -p - """ - if sys.version_info > (3, 4, 1): - os.makedirs(folder, exist_ok=True) - return folder - - try: - os.makedirs(folder) - except OSError as exc: - if exc.errno != EEXIST or not os.path.isdir(folder): - raise - - return folder - - def wf_directive(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine): if len(missing_imports) == 0: @@ -737,7 +720,7 @@ def run(arguments, content, options, state_machine, state, lineno): state_machine.insert_input(total_lines, source=source_file_name) # copy image files to builder's output directory, if necessary - _mkdirp(dest_dir) + os.makedirs(dest_dir, exist_ok=True) for code_piece, images in results: for img in images: for fn in img.filenames(): diff --git a/nipype/utils/filemanip.py b/nipype/utils/filemanip.py index 5a0b937fa7..fa7e46dbfc 100644 --- a/nipype/utils/filemanip.py +++ b/nipype/utils/filemanip.py @@ -91,56 +91,7 @@ def to_str(value): Manipulates ordered dicts before they are hashed (Py2/3 compat.) """ - if sys.version_info[0] > 2: - retval = str(value) - else: - retval = to_str_py27(value) - return retval - - -def to_str_py27(value): - """ - Encode dictionary for python 2 - """ - - if isinstance(value, dict): - entry = '{}: {}'.format - retval = '{' - for key, val in list(value.items()): - if len(retval) > 1: - retval += ', ' - kenc = repr(key) - if kenc.startswith(("u'", 'u"')): - kenc = kenc[1:] - venc = to_str_py27(val) - if venc.startswith(("u'", 'u"')): - venc = venc[1:] - retval += entry(kenc, venc) - retval += '}' - return retval - - istuple = isinstance(value, tuple) - if isinstance(value, (tuple, list)): - retval = '(' if istuple else '[' - nels = len(value) - for i, v in enumerate(value): - venc = to_str_py27(v) - if venc.startswith(("u'", 'u"')): - venc = venc[1:] - retval += venc - - if i < nels - 1: - retval += ', ' - - if istuple and nels == 1: - retval += ',' - retval += ')' if istuple else ']' - return retval - - retval = repr(value).decode() - if retval.startswith(("u'", 'u"')): - retval = retval[1:] - return retval + return str(value) def fname_presuffix(fname, prefix='', suffix='', newpath=None, use_ext=True): @@ -593,8 +544,6 @@ def save_json(filename, data): """ mode = 'w' - if sys.version_info[0] < 3: - mode = 'wb' with open(filename, mode) as fp: json.dump(data, fp, sort_keys=True, indent=4) @@ -841,27 +790,10 @@ def which(cmd, env=None, pathext=None): if env and 'PATH' in env: path = env.get("PATH") - if sys.version_info >= (3, 3): - for ext in pathext: - filename = shutil.which(cmd + ext, path=path) - if filename: - return filename - return None - - def isexec(path): - return os.path.isfile(path) and os.access(path, os.X_OK) - for ext in pathext: - extcmd = cmd + ext - fpath, fname = os.path.split(extcmd) - if fpath: - if isexec(extcmd): - return extcmd - else: - for directory in path.split(os.pathsep): - filename = op.join(directory, extcmd) - if isexec(filename): - return filename + filename = shutil.which(cmd + ext, path=path) + if filename: + return filename return None diff --git a/nipype/utils/tests/test_functions.py b/nipype/utils/tests/test_functions.py index 377bfe338f..a933507c96 100644 --- a/nipype/utils/tests/test_functions.py +++ b/nipype/utils/tests/test_functions.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -import sys import pytest from nipype.utils.functions import (getsource, create_function_from_source) @@ -27,7 +26,7 @@ def test_func_to_str_err(): def _print_statement(): try: - exec('print ""') + exec('print("")') return True except SyntaxError: return False @@ -41,7 +40,6 @@ def is_string(): assert is_string() == wrapped_func() -@pytest.mark.skipif(sys.version_info[0] > 2, reason="breaks python 3") -def test_func_print_py2(): +def test_func_print(): wrapped_func = create_function_from_source(getsource(_print_statement)) assert wrapped_func() From be2d8c53424aef3821f46687e1012eec45b07b62 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 17 Dec 2018 11:57:11 -0500 Subject: [PATCH 20/28] RF: Drop to_str, makedirs compatibility functions --- nipype/interfaces/base/specs.py | 4 ++-- nipype/interfaces/base/support.py | 4 ++-- nipype/pipeline/engine/nodes.py | 18 +++++++-------- nipype/pipeline/engine/utils.py | 8 +++---- nipype/pipeline/engine/workflows.py | 30 ++++++++++++------------- nipype/pipeline/plugins/tools.py | 4 ++-- nipype/utils/filemanip.py | 35 +---------------------------- 7 files changed, 34 insertions(+), 69 deletions(-) diff --git a/nipype/interfaces/base/specs.py b/nipype/interfaces/base/specs.py index a6f74f9a66..8d2c94f761 100644 --- a/nipype/interfaces/base/specs.py +++ b/nipype/interfaces/base/specs.py @@ -15,7 +15,7 @@ from warnings import warn from packaging.version import Version -from ...utils.filemanip import md5, hash_infile, hash_timestamp, to_str +from ...utils.filemanip import md5, hash_infile, hash_timestamp from .traits_extension import ( traits, Undefined, @@ -251,7 +251,7 @@ def get_hashval(self, hash_method=None): True, hash_method=hash_method, hash_files=hash_files))) - return list_withhash, md5(to_str(list_nofilename).encode()).hexdigest() + return list_withhash, md5(str(list_nofilename).encode()).hexdigest() def _get_sorteddict(self, objekt, diff --git a/nipype/interfaces/base/support.py b/nipype/interfaces/base/support.py index d23d31b545..69e504c6c3 100644 --- a/nipype/interfaces/base/support.py +++ b/nipype/interfaces/base/support.py @@ -14,7 +14,7 @@ from ... import logging from ...utils.misc import is_container -from ...utils.filemanip import md5, to_str, hash_infile +from ...utils.filemanip import md5, hash_infile iflogger = logging.getLogger('nipype.interface') HELP_LINEWIDTH = 70 @@ -161,7 +161,7 @@ def _get_bunch_hash(self): # Sort the items of the dictionary, before hashing the string # representation so we get a predictable order of the # dictionary. - sorted_dict = to_str(sorted(dict_nofilename.items())) + sorted_dict = str(sorted(dict_nofilename.items())) return dict_withhash, md5(sorted_dict.encode()).hexdigest() def _repr_pretty_(self, p, cycle): diff --git a/nipype/pipeline/engine/nodes.py b/nipype/pipeline/engine/nodes.py index e0c8cce7b1..734cdf5b60 100644 --- a/nipype/pipeline/engine/nodes.py +++ b/nipype/pipeline/engine/nodes.py @@ -21,8 +21,8 @@ from ...utils.misc import flatten, unflatten, str2bool, dict_diff from ...utils.filemanip import (md5, FileNotFoundError, ensure_list, simplify_list, copyfiles, fnames_presuffix, - loadpkl, split_filename, load_json, makedirs, - emptydirs, savepkl, to_str, indirectory) + loadpkl, split_filename, load_json, + emptydirs, savepkl, indirectory) from ...interfaces.base import (traits, InputMultiPath, CommandLine, Undefined, DynamicTraitedSpec, Bunch, InterfaceResult, @@ -267,7 +267,7 @@ def output_dir(self): def set_input(self, parameter, val): """Set interface input value""" logger.debug('[Node] %s - setting input %s = %s', self.name, parameter, - to_str(val)) + str(val)) setattr(self.inputs, parameter, deepcopy(val)) def get_output(self, parameter): @@ -453,7 +453,7 @@ def run(self, updatehash=False): os.remove(filename) # Make sure outdir is created - makedirs(outdir, exist_ok=True) + os.makedirs(outdir, exist_ok=True) # Store runtime-hashfile, pre-execution report, the node and the inputs set. _save_hashfile(hashfile_unfinished, self._hashed_inputs) @@ -663,7 +663,7 @@ def _copyfiles_to_wd(self, execute=True, linksonly=False): if execute and linksonly: olddir = outdir outdir = op.join(outdir, '_tempinput') - makedirs(outdir, exist_ok=True) + os.makedirs(outdir, exist_ok=True) for info in filecopy_info: files = self.inputs.trait_get().get(info['key']) @@ -1019,13 +1019,13 @@ def set_input(self, parameter, val): Set interface input value or nodewrapper attribute Priority goes to interface. """ - logger.debug('setting nodelevel(%s) input %s = %s', to_str(self), - parameter, to_str(val)) + logger.debug('setting nodelevel(%s) input %s = %s', str(self), + parameter, str(val)) self._set_mapnode_input(parameter, deepcopy(val)) def _set_mapnode_input(self, name, newvalue): - logger.debug('setting mapnode(%s) input: %s -> %s', to_str(self), name, - to_str(newvalue)) + logger.debug('setting mapnode(%s) input: %s -> %s', str(self), name, + str(newvalue)) if name in self.iterfield: setattr(self._inputs, name, newvalue) else: diff --git a/nipype/pipeline/engine/utils.py b/nipype/pipeline/engine/utils.py index ec063d9e54..d40e788083 100644 --- a/nipype/pipeline/engine/utils.py +++ b/nipype/pipeline/engine/utils.py @@ -21,9 +21,7 @@ from ... import logging, config, LooseVersion from ...utils.filemanip import ( relpath, - makedirs, fname_presuffix, - to_str, ensure_list, get_related_files, FileNotFoundError, @@ -117,7 +115,7 @@ def write_report(node, report_type=None, is_mapnode=False): cwd = node.output_dir() report_dir = os.path.join(cwd, '_report') report_file = os.path.join(report_dir, 'report.rst') - makedirs(report_dir, exist_ok=True) + os.makedirs(report_dir, exist_ok=True) logger.debug('[Node] Writing %s-exec report to "%s"', report_type[:-4], report_file) @@ -627,7 +625,7 @@ def _get_valid_pathstr(pathstr): Replaces: ',' -> '.' """ if not isinstance(pathstr, (str, bytes)): - pathstr = to_str(pathstr) + pathstr = str(pathstr) pathstr = pathstr.replace(os.sep, '..') pathstr = re.sub(r'''[][ (){}?:<>#!|"';]''', '', pathstr) pathstr = pathstr.replace(',', '.') @@ -1355,7 +1353,7 @@ def export_graph(graph_in, if base_dir is None: base_dir = os.getcwd() - makedirs(base_dir, exist_ok=True) + os.makedirs(base_dir, exist_ok=True) out_dot = fname_presuffix( dotfilename, suffix='_detailed.dot', use_ext=False, newpath=base_dir) _write_detailed_dot(graph, out_dot) diff --git a/nipype/pipeline/engine/workflows.py b/nipype/pipeline/engine/workflows.py index 35d30d22e8..a56c05e6be 100644 --- a/nipype/pipeline/engine/workflows.py +++ b/nipype/pipeline/engine/workflows.py @@ -22,7 +22,7 @@ from ...interfaces.base import (traits, TraitedSpec, TraitDictObject, TraitListObject) -from ...utils.filemanip import save_json, makedirs, to_str +from ...utils.filemanip import save_json from .utils import (generate_expanded_graph, export_graph, write_workflow_prov, write_workflow_resources, format_dot, topological_sort, get_print_name, merge_dict, format_node) @@ -218,12 +218,12 @@ def connect(self, *args, **kwargs): edge_data = self._graph.get_edge_data(srcnode, destnode, None) if edge_data: logger.debug('(%s, %s): Edge data exists: %s', srcnode, - destnode, to_str(edge_data)) + destnode, str(edge_data)) for data in connects: if data not in edge_data['connect']: edge_data['connect'].append(data) if disconnect: - logger.debug('Removing connection: %s', to_str(data)) + logger.debug('Removing connection: %s', str(data)) edge_data['connect'].remove(data) if edge_data['connect']: self._graph.add_edges_from([(srcnode, destnode, @@ -240,7 +240,7 @@ def connect(self, *args, **kwargs): })]) edge_data = self._graph.get_edge_data(srcnode, destnode) logger.debug('(%s, %s): new edge data: %s', srcnode, destnode, - to_str(edge_data)) + str(edge_data)) def disconnect(self, *args): """Disconnect nodes @@ -256,7 +256,7 @@ def disconnect(self, *args): for srcnode, dstnode, conn in connection_list: logger.debug('disconnect(): %s->%s %s', srcnode, dstnode, - to_str(conn)) + str(conn)) if self in [srcnode, dstnode]: raise IOError( 'Workflow connect cannot contain itself as node: src[%s] ' @@ -277,10 +277,10 @@ def disconnect(self, *args): # idx = ed_conns.index(edge) remove.append((edge[0], edge[1])) - logger.debug('disconnect(): remove list %s', to_str(remove)) + logger.debug('disconnect(): remove list %s', str(remove)) for el in remove: edge_data['connect'].remove(el) - logger.debug('disconnect(): removed connection %s', to_str(el)) + logger.debug('disconnect(): removed connection %s', str(el)) if not edge_data['connect']: self._graph.remove_edge(srcnode, dstnode) @@ -410,7 +410,7 @@ def write_graph(self, base_dir = op.join(base_dir, self.name) else: base_dir = os.getcwd() - base_dir = makedirs(base_dir, exist_ok=True) + base_dir = os.makedirs(base_dir, exist_ok=True) if graph2use in ['hierarchical', 'colored']: if self.name[:1].isdigit(): # these graphs break if int raise ValueError('{} graph failed, workflow name cannot begin ' @@ -576,7 +576,7 @@ def run(self, plugin=None, plugin_args=None, updatehash=False): flatgraph = self._create_flat_graph() self.config = merge_dict(deepcopy(config._sections), self.config) logger.info('Workflow %s settings: %s', self.name, - to_str(sorted(self.config))) + str(sorted(self.config))) self._set_needed_outputs(flatgraph) execgraph = generate_expanded_graph(deepcopy(flatgraph)) for index, node in enumerate(execgraph.nodes()): @@ -609,7 +609,7 @@ def _write_report_info(self, workingdir, name, graph): if workingdir is None: workingdir = os.getcwd() report_dir = op.join(workingdir, name) - makedirs(report_dir, exist_ok=True) + os.makedirs(report_dir, exist_ok=True) shutil.copyfile( op.join(op.dirname(__file__), 'report_template.html'), op.join(report_dir, 'index.html')) @@ -821,7 +821,7 @@ def _set_node_input(self, node, param, source, sourceinfo): newval = dict(val) if isinstance(val, TraitListObject): newval = val[:] - logger.debug('setting node input: %s->%s', param, to_str(newval)) + logger.debug('setting node input: %s->%s', param, str(newval)) node.set_input(param, deepcopy(newval)) def _get_all_nodes(self): @@ -881,9 +881,9 @@ def _generate_flatgraph(self): # dj: added list() for networkx ver.2 for u, _, d in list( self._graph.in_edges(nbunch=node, data=True)): - logger.debug('in: connections-> %s', to_str(d['connect'])) + logger.debug('in: connections-> %s', str(d['connect'])) for cd in deepcopy(d['connect']): - logger.debug("in: %s", to_str(cd)) + logger.debug("in: %s", str(cd)) dstnode = node._get_parameter_node(cd[1], subtype='in') srcnode = u srcout = cd[0] @@ -896,9 +896,9 @@ def _generate_flatgraph(self): # dj: for ver 2 use list(out_edges) for _, v, d in list( self._graph.out_edges(nbunch=node, data=True)): - logger.debug('out: connections-> %s', to_str(d['connect'])) + logger.debug('out: connections-> %s', str(d['connect'])) for cd in deepcopy(d['connect']): - logger.debug("out: %s", to_str(cd)) + logger.debug("out: %s", str(cd)) dstnode = v if isinstance(cd[0], tuple): parameter = cd[0][0] diff --git a/nipype/pipeline/plugins/tools.py b/nipype/pipeline/plugins/tools.py index 91d038950e..1b6725107c 100644 --- a/nipype/pipeline/plugins/tools.py +++ b/nipype/pipeline/plugins/tools.py @@ -12,7 +12,7 @@ from traceback import format_exception from ... import logging -from ...utils.filemanip import savepkl, crash2txt, makedirs +from ...utils.filemanip import savepkl, crash2txt logger = logging.getLogger('nipype.workflow') @@ -42,7 +42,7 @@ def report_crash(node, traceback=None, hostname=None): str(uuid.uuid4())) crashdir = node.config['execution'].get('crashdump_dir', os.getcwd()) - makedirs(crashdir, exist_ok=True) + os.makedirs(crashdir, exist_ok=True) crashfile = os.path.join(crashdir, crashfile) if node.config['execution']['crashfile_format'].lower() in ['text', 'txt']: diff --git a/nipype/utils/filemanip.py b/nipype/utils/filemanip.py index fa7e46dbfc..d2fba5cb2a 100644 --- a/nipype/utils/filemanip.py +++ b/nipype/utils/filemanip.py @@ -86,14 +86,6 @@ def split_filename(fname): return pth, fname, ext -def to_str(value): - """ - Manipulates ordered dicts before they are hashed (Py2/3 compat.) - - """ - return str(value) - - def fname_presuffix(fname, prefix='', suffix='', newpath=None, use_ext=True): """Manipulates path and name of input filename @@ -711,31 +703,6 @@ def dist_is_editable(dist): return False -def makedirs(path, exist_ok=False): - """ - Create path, if it doesn't exist. - - Parameters - ---------- - path : output directory to create - - """ - if not exist_ok: # The old makedirs - os.makedirs(path) - return path - - # this odd approach deals with concurrent directory cureation - if not op.exists(op.abspath(path)): - fmlogger.debug("Creating directory %s", path) - try: - os.makedirs(path) - except OSError: - fmlogger.debug("Problem creating directory %s", path) - if not op.exists(path): - raise OSError('Could not create directory %s' % path) - return path - - def emptydirs(path, noexist_ok=False): """ Empty an existing directory, without deleting it. Do not @@ -769,7 +736,7 @@ def emptydirs(path, noexist_ok=False): else: raise ex - makedirs(path) + os.makedirs(path) def which(cmd, env=None, pathext=None): From 5ab2fa0b61453598bbe566c118c0775e3cddcd8d Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 17 Dec 2018 11:59:06 -0500 Subject: [PATCH 21/28] FIX: import os - mistakenly dropped --- nipype/utils/profiler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nipype/utils/profiler.py b/nipype/utils/profiler.py index 428696e773..a9b8c926cb 100644 --- a/nipype/utils/profiler.py +++ b/nipype/utils/profiler.py @@ -4,6 +4,7 @@ """ Utilities to keep track of performance """ +import os import threading from time import time try: From dc896811b18d86450f90dcc0ff3913553aa02d8e Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Mon, 17 Dec 2018 16:24:22 -0500 Subject: [PATCH 22/28] FIX: os.makedirs does not return directory --- nipype/pipeline/engine/workflows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/pipeline/engine/workflows.py b/nipype/pipeline/engine/workflows.py index a56c05e6be..195ebc6f69 100644 --- a/nipype/pipeline/engine/workflows.py +++ b/nipype/pipeline/engine/workflows.py @@ -410,7 +410,7 @@ def write_graph(self, base_dir = op.join(base_dir, self.name) else: base_dir = os.getcwd() - base_dir = os.makedirs(base_dir, exist_ok=True) + os.makedirs(base_dir, exist_ok=True) if graph2use in ['hierarchical', 'colored']: if self.name[:1].isdigit(): # these graphs break if int raise ValueError('{} graph failed, workflow name cannot begin ' From 08cd3d3a7abcf87ceec572a04b378af152d09b26 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 20 Aug 2019 20:43:33 -0400 Subject: [PATCH 23/28] MAINT: Sort dependencies --- nipype/info.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nipype/info.py b/nipype/info.py index e896a48a82..f678ebf8e6 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -129,22 +129,22 @@ def get_nipype_gitversion(): VERSION = __version__ PROVIDES = ['nipype'] REQUIRES = [ - 'nibabel>=%s' % NIBABEL_MIN_VERSION, + 'click>=%s' % CLICK_MIN_VERSION, + 'funcsigs', + 'future>=%s' % FUTURE_MIN_VERSION, 'networkx>=%s' % NETWORKX_MIN_VERSION, + 'neurdflib', + 'nibabel>=%s' % NIBABEL_MIN_VERSION, 'numpy>=%s ; python_version < "3.7"' % NUMPY_MIN_VERSION, 'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37, + 'packaging', + 'prov>=%s' % PROV_VERSION, + 'pydot>=%s' % PYDOT_MIN_VERSION, + 'pydotplus', 'python-dateutil>=%s' % DATEUTIL_MIN_VERSION, 'scipy>=%s' % SCIPY_MIN_VERSION, - 'traits>=%s,!=5.0' % TRAITS_MIN_VERSION, - 'future>=%s' % FUTURE_MIN_VERSION, 'simplejson>=%s' % SIMPLEJSON_MIN_VERSION, - 'prov>=%s' % PROV_VERSION, - 'neurdflib', - 'click>=%s' % CLICK_MIN_VERSION, - 'funcsigs', - 'pydotplus', - 'pydot>=%s' % PYDOT_MIN_VERSION, - 'packaging', + 'traits>=%s,!=5.0' % TRAITS_MIN_VERSION, ] TESTS_REQUIRES = [ From 7baa6d3c13ac6661f4b213aa3957712dae1acfa2 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 20 Aug 2019 21:45:16 -0400 Subject: [PATCH 24/28] PY3: Remove PY2 str hack --- nipype/algorithms/modelgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/algorithms/modelgen.py b/nipype/algorithms/modelgen.py index 4e37943d2b..ba7296bb07 100644 --- a/nipype/algorithms/modelgen.py +++ b/nipype/algorithms/modelgen.py @@ -169,7 +169,7 @@ def bids_gen_info(bids_event_files, info = [] for bids_event_file in bids_event_files: with open(bids_event_file) as f: - f_events = csv.DictReader(f, skipinitialspace=True, delimiter=str_basetype('\t')) + f_events = csv.DictReader(f, skipinitialspace=True, delimiter='\t') events = [{k: v for k, v in row.items()} for row in f_events] if not condition_column: condition_column = '_trial_type' From 72ac8a5a723c075c4c75a821f5ac80ea071680e1 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 8 Oct 2019 10:42:33 -0400 Subject: [PATCH 25/28] MNT: Missed Py2 cleanups --- nipype/interfaces/base/core.py | 1 - .../base/tests/test_traits_extension.py | 2 -- nipype/interfaces/slicer/generate_classes.py | 2 +- .../tests/test_auto_SEMLikeCommandLine.py | 18 ------------------ setup.py | 1 - 5 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 nipype/interfaces/tests/test_auto_SEMLikeCommandLine.py diff --git a/nipype/interfaces/base/core.py b/nipype/interfaces/base/core.py index c87be8c8d5..126fd51a8a 100644 --- a/nipype/interfaces/base/core.py +++ b/nipype/interfaces/base/core.py @@ -21,7 +21,6 @@ import sys import simplejson as json from dateutil.parser import parse as parseutc -from future import standard_library from traits.trait_errors import TraitError from ... import config, logging, LooseVersion diff --git a/nipype/interfaces/base/tests/test_traits_extension.py b/nipype/interfaces/base/tests/test_traits_extension.py index 8138d691f3..ac9c36adf7 100644 --- a/nipype/interfaces/base/tests/test_traits_extension.py +++ b/nipype/interfaces/base/tests/test_traits_extension.py @@ -1,8 +1,6 @@ # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: """Check the resolving/rebasing feature of ``BasePath``s.""" -from __future__ import print_function, unicode_literals - from ... import base as nib from ..traits_extension import rebase_path_traits, resolve_path_traits, Path diff --git a/nipype/interfaces/slicer/generate_classes.py b/nipype/interfaces/slicer/generate_classes.py index 08d0030317..371c957acd 100644 --- a/nipype/interfaces/slicer/generate_classes.py +++ b/nipype/interfaces/slicer/generate_classes.py @@ -36,7 +36,7 @@ def add_class_to_package(class_codes, class_names, module_name, package_dir): \"\"\"Autogenerated file - DO NOT EDIT If you spot a bug, please report it on the mailing list and/or change the generator.\"\"\"\n\n""" ) - imports = """from __future__ import (print_function, division, unicode_literals, + imports = """\ from ..base import (CommandLine, CommandLineInputSpec, SEMLikeCommandLine, TraitedSpec, File, Directory, traits, isdefined, InputMultiPath, OutputMultiPath) import os\n\n\n""" diff --git a/nipype/interfaces/tests/test_auto_SEMLikeCommandLine.py b/nipype/interfaces/tests/test_auto_SEMLikeCommandLine.py deleted file mode 100644 index 7777a8443e..0000000000 --- a/nipype/interfaces/tests/test_auto_SEMLikeCommandLine.py +++ /dev/null @@ -1,18 +0,0 @@ -# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT -from __future__ import unicode_literals -from ..base import SEMLikeCommandLine - - -def test_SEMLikeCommandLine_inputs(): - input_map = dict(args=dict(argstr='%s', - ), - environ=dict(nohash=True, - usedefault=True, - ), - ) - inputs = SEMLikeCommandLine.input_spec() - - for key, metadata in list(input_map.items()): - for metakey, value in list(metadata.items()): - assert getattr(inputs.traits()[key], metakey) == value - diff --git a/setup.py b/setup.py index 573de9b663..b4239da30b 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ from glob import glob import os from os.path import join as pjoin -from io import open # Commit hash writing, and dependency checking from setuptools.command.build_py import build_py From 7b9c639327417e125f2f74776f58feb873287d1e Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 8 Oct 2019 10:42:47 -0400 Subject: [PATCH 26/28] MNT: Drop Py2 compatibility for tools/ --- tools/apigen.py | 4 ---- tools/build_interface_docs.py | 1 - tools/build_modref_templates.py | 2 -- tools/ex2rst | 4 ---- tools/github.py | 4 ---- tools/gitwash_dumper.py | 4 ---- tools/interfacedocgen.py | 3 --- tools/make_examples.py | 3 --- tools/run_examples.py | 1 - 9 files changed, 26 deletions(-) diff --git a/tools/apigen.py b/tools/apigen.py index 13609ba07f..8388dc7a59 100644 --- a/tools/apigen.py +++ b/tools/apigen.py @@ -20,10 +20,6 @@ PyMVPA project, which we've adapted for NIPY use. PyMVPA is an MIT-licensed project. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import object, open - import os import re diff --git a/tools/build_interface_docs.py b/tools/build_interface_docs.py index 37b99cb476..7da2f40e0d 100755 --- a/tools/build_interface_docs.py +++ b/tools/build_interface_docs.py @@ -3,7 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Script to auto-generate interface docs. """ -from __future__ import print_function, unicode_literals # stdlib imports import os import sys diff --git a/tools/build_modref_templates.py b/tools/build_modref_templates.py index 18a0372824..0b06ea9235 100755 --- a/tools/build_modref_templates.py +++ b/tools/build_modref_templates.py @@ -3,8 +3,6 @@ # vi: set ft=python sts=4 ts=4 sw=4 et: """Script to auto-generate our API docs. """ - -from __future__ import print_function # stdlib imports import os import sys diff --git a/tools/ex2rst b/tools/ex2rst index 140b7d5aa5..df24df0340 100755 --- a/tools/ex2rst +++ b/tools/ex2rst @@ -11,10 +11,6 @@ # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## """Helper to automagically generate ReST versions of examples""" -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open, str - import os import sys import re diff --git a/tools/github.py b/tools/github.py index f33beb48a3..14aa4a6620 100644 --- a/tools/github.py +++ b/tools/github.py @@ -1,8 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals -from future import standard_library -standard_library.install_aliases() -from builtins import open import http.client import inspect import simplejson diff --git a/tools/gitwash_dumper.py b/tools/gitwash_dumper.py index e5a26ba7a4..c86a0689bd 100755 --- a/tools/gitwash_dumper.py +++ b/tools/gitwash_dumper.py @@ -1,9 +1,5 @@ #!/usr/bin/env python ''' Checkout gitwash repo into directory and do search replace on name ''' -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open - import os from os.path import join as pjoin import shutil diff --git a/tools/interfacedocgen.py b/tools/interfacedocgen.py index f73375827f..cf85949077 100644 --- a/tools/interfacedocgen.py +++ b/tools/interfacedocgen.py @@ -20,9 +20,6 @@ PyMVPA project, which we've adapted for NIPY use. PyMVPA is an MIT-licensed project.""" -from __future__ import print_function, unicode_literals -from builtins import object, open - # Stdlib imports import inspect import os diff --git a/tools/make_examples.py b/tools/make_examples.py index fe9f7880c8..32a7ca31b5 100755 --- a/tools/make_examples.py +++ b/tools/make_examples.py @@ -3,9 +3,6 @@ This also creates the index.rst file appropriately, makes figures, etc. """ -from __future__ import (print_function, division, unicode_literals, - absolute_import) -from builtins import open from past.builtins import execfile # ----------------------------------------------------------------------------- # Library imports diff --git a/tools/run_examples.py b/tools/run_examples.py index 96847cbe25..11b69db6c0 100644 --- a/tools/run_examples.py +++ b/tools/run_examples.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from __future__ import print_function import os import sys from shutil import rmtree From 497b44d680eee0892fa59c6aaaae22a17d70a536 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 12 Nov 2019 09:43:34 -0500 Subject: [PATCH 27/28] STY: Black files pre-merge --- nipype/pipeline/engine/utils.py | 749 ++++++++++++++++++-------------- nipype/utils/filemanip.py | 271 ++++++------ 2 files changed, 561 insertions(+), 459 deletions(-) diff --git a/nipype/pipeline/engine/utils.py b/nipype/pipeline/engine/utils.py index cb68061f0d..78d9417f9f 100644 --- a/nipype/pipeline/engine/utils.py +++ b/nipype/pipeline/engine/utils.py @@ -35,7 +35,12 @@ from ...utils.misc import str2bool from ...utils.functions import create_function_from_source from ...interfaces.base.traits_extension import ( - rebase_path_traits, resolve_path_traits, OutputMultiPath, isdefined, Undefined) + rebase_path_traits, + resolve_path_traits, + OutputMultiPath, + isdefined, + Undefined, +) from ...interfaces.base.support import Bunch, InterfaceResult from ...interfaces.base import CommandLine from ...interfaces.utility import IdentityInterface @@ -43,7 +48,7 @@ from inspect import signature -logger = logging.getLogger('nipype.workflow') +logger = logging.getLogger("nipype.workflow") def _parameterization_dir(param): @@ -68,13 +73,12 @@ def save_hashfile(hashfile, hashed_inputs): # XXX - SG current workaround is to just # create the hashed file and not put anything # in it - with open(hashfile, 'wt') as fd: + with open(hashfile, "wt") as fd: fd.writelines(str(hashed_inputs)) - logger.debug('Unable to write a particular type to the json file') + logger.debug("Unable to write a particular type to the json file") else: - logger.critical('Unable to open the file in write mode: %s', - hashfile) + logger.critical("Unable to open the file in write mode: %s", hashfile) def nodelist_runner(nodes, updatehash=False, stop_first=False): @@ -94,49 +98,47 @@ def nodelist_runner(nodes, updatehash=False, stop_first=False): result = node.result err = [] - if result.runtime and hasattr(result.runtime, 'traceback'): + if result.runtime and hasattr(result.runtime, "traceback"): err = [result.runtime.traceback] err += format_exception(*sys.exc_info()) - err = '\n'.join(err) + err = "\n".join(err) finally: yield i, result, err def write_node_report(node, result=None, is_mapnode=False): """Write a report file for a node.""" - if not str2bool(node.config['execution']['create_report']): + if not str2bool(node.config["execution"]["create_report"]): return cwd = node.output_dir() - report_file = Path(cwd) / '_report' / 'report.rst' + report_file = Path(cwd) / "_report" / "report.rst" report_file.parent.mkdir(exist_ok=True, parents=True) lines = [ - write_rst_header('Node: %s' % get_print_name(node), level=0), - write_rst_list( - ['Hierarchy : %s' % node.fullname, - 'Exec ID : %s' % node._id]), - write_rst_header('Original Inputs', level=1), + write_rst_header("Node: %s" % get_print_name(node), level=0), + write_rst_list(["Hierarchy : %s" % node.fullname, "Exec ID : %s" % node._id]), + write_rst_header("Original Inputs", level=1), write_rst_dict(node.inputs.trait_get()), ] if result is None: logger.debug('[Node] Writing pre-exec report to "%s"', report_file) - report_file.write_text('\n'.join(lines)) + report_file.write_text("\n".join(lines)) return logger.debug('[Node] Writing post-exec report to "%s"', report_file) lines += [ - write_rst_header('Execution Inputs', level=1), + write_rst_header("Execution Inputs", level=1), write_rst_dict(node.inputs.trait_get()), - write_rst_header('Execution Outputs', level=1) + write_rst_header("Execution Outputs", level=1), ] outputs = result.outputs if outputs is None: - lines += ['None'] - report_file.write_text('\n'.join(lines)) + lines += ["None"] + report_file.write_text("\n".join(lines)) return if isinstance(outputs, Bunch): @@ -144,90 +146,98 @@ def write_node_report(node, result=None, is_mapnode=False): elif outputs: lines.append(write_rst_dict(outputs.trait_get())) else: - lines += ['Outputs object was empty.'] + lines += ["Outputs object was empty."] if is_mapnode: - lines.append(write_rst_header('Subnode reports', level=1)) + lines.append(write_rst_header("Subnode reports", level=1)) nitems = len(ensure_list(getattr(node.inputs, node.iterfield[0]))) subnode_report_files = [] for i in range(nitems): - subnode_file = Path(cwd) / 'mapflow' / ( - '_%s%d' % (node.name, i)) / '_report' / 'report.rst' - subnode_report_files.append('subnode %d : %s' % (i, subnode_file)) + subnode_file = ( + Path(cwd) + / "mapflow" + / ("_%s%d" % (node.name, i)) + / "_report" + / "report.rst" + ) + subnode_report_files.append("subnode %d : %s" % (i, subnode_file)) lines.append(write_rst_list(subnode_report_files)) - report_file.write_text('\n'.join(lines)) + report_file.write_text("\n".join(lines)) return - lines.append(write_rst_header('Runtime info', level=1)) + lines.append(write_rst_header("Runtime info", level=1)) # Init rst dictionary of runtime stats rst_dict = { - 'hostname': result.runtime.hostname, - 'duration': result.runtime.duration, - 'working_dir': result.runtime.cwd, - 'prev_wd': getattr(result.runtime, 'prevcwd', ''), + "hostname": result.runtime.hostname, + "duration": result.runtime.duration, + "working_dir": result.runtime.cwd, + "prev_wd": getattr(result.runtime, "prevcwd", ""), } - for prop in ('cmdline', 'mem_peak_gb', 'cpu_percent'): + for prop in ("cmdline", "mem_peak_gb", "cpu_percent"): if hasattr(result.runtime, prop): rst_dict[prop] = getattr(result.runtime, prop) lines.append(write_rst_dict(rst_dict)) # Collect terminal output - if hasattr(result.runtime, 'merged'): + if hasattr(result.runtime, "merged"): lines += [ - write_rst_header('Terminal output', level=2), + write_rst_header("Terminal output", level=2), write_rst_list(result.runtime.merged), ] - if hasattr(result.runtime, 'stdout'): + if hasattr(result.runtime, "stdout"): lines += [ - write_rst_header('Terminal - standard output', level=2), + write_rst_header("Terminal - standard output", level=2), write_rst_list(result.runtime.stdout), ] - if hasattr(result.runtime, 'stderr'): + if hasattr(result.runtime, "stderr"): lines += [ - write_rst_header('Terminal - standard error', level=2), + write_rst_header("Terminal - standard error", level=2), write_rst_list(result.runtime.stderr), ] # Store environment - if hasattr(result.runtime, 'environ'): + if hasattr(result.runtime, "environ"): lines += [ - write_rst_header('Environment', level=2), + write_rst_header("Environment", level=2), write_rst_dict(result.runtime.environ), ] - report_file.write_text('\n'.join(lines)) + report_file.write_text("\n".join(lines)) def write_report(node, report_type=None, is_mapnode=False): """Write a report file for a node - DEPRECATED""" - if report_type not in ('preexec', 'postexec'): + if report_type not in ("preexec", "postexec"): logger.warning('[Node] Unknown report type "%s".', report_type) return - write_node_report(node, is_mapnode=is_mapnode, - result=node.result if report_type == 'postexec' else None) + write_node_report( + node, + is_mapnode=is_mapnode, + result=node.result if report_type == "postexec" else None, + ) def save_resultfile(result, cwd, name, rebase=None): """Save a result pklz file to ``cwd``.""" if rebase is None: - rebase = config.getboolean('execution', 'use_relative_paths') + rebase = config.getboolean("execution", "use_relative_paths") cwd = os.path.abspath(cwd) - resultsfile = os.path.join(cwd, 'result_%s.pklz' % name) + resultsfile = os.path.join(cwd, "result_%s.pklz" % name) logger.debug("Saving results file: '%s'", resultsfile) if result.outputs is None: - logger.warning('Storing result file without outputs') + logger.warning("Storing result file without outputs") savepkl(resultsfile, result) return try: output_names = result.outputs.copyable_trait_names() except AttributeError: - logger.debug('Storing non-traited results, skipping rebase of paths') + logger.debug("Storing non-traited results, skipping rebase of paths") savepkl(resultsfile, result) return @@ -244,7 +254,8 @@ def save_resultfile(result, cwd, name, rebase=None): if isdefined(old): if result.outputs.trait(key).is_trait_type(OutputMultiPath): old = result.outputs.trait(key).handler.get_value( - result.outputs, key) + result.outputs, key + ) backup_traits[key] = old val = rebase_path_traits(result.outputs.trait(key), old, cwd) setattr(result.outputs, key, val) @@ -284,17 +295,19 @@ def load_resultfile(results_file, resolve=True): try: outputs = result.outputs.get() except TypeError: # This is a Bunch - logger.debug('Outputs object of loaded result %s is a Bunch.', results_file) + logger.debug("Outputs object of loaded result %s is a Bunch.", results_file) return result - logger.debug('Resolving paths in outputs loaded from results file.') + logger.debug("Resolving paths in outputs loaded from results file.") for trait_name, old in list(outputs.items()): if isdefined(old): if result.outputs.trait(trait_name).is_trait_type(OutputMultiPath): old = result.outputs.trait(trait_name).handler.get_value( - result.outputs, trait_name) - value = resolve_path_traits(result.outputs.trait(trait_name), old, - results_file.parent) + result.outputs, trait_name + ) + value = resolve_path_traits( + result.outputs.trait(trait_name), old, results_file.parent + ) setattr(result.outputs, trait_name, value) return result @@ -306,13 +319,13 @@ def strip_temp(files, wd): if isinstance(f, list): out.append(strip_temp(f, wd)) else: - out.append(f.replace(os.path.join(wd, '_tempinput'), wd)) + out.append(f.replace(os.path.join(wd, "_tempinput"), wd)) return out def _write_inputs(node): lines = [] - nodename = node.fullname.replace('.', '_') + nodename = node.fullname.replace(".", "_") for key, _ in list(node.inputs.items()): val = getattr(node.inputs, key) if isdefined(val): @@ -323,64 +336,70 @@ def _write_inputs(node): lines.append("%s.inputs.%s = '%s'" % (nodename, key, val)) else: funcname = [ - name for name in func.__globals__ - if name != '__builtins__' + name for name in func.__globals__ if name != "__builtins__" ][0] lines.append(pickle.loads(val)) if funcname == nodename: - lines[-1] = lines[-1].replace(' %s(' % funcname, - ' %s_1(' % funcname) - funcname = '%s_1' % funcname + lines[-1] = lines[-1].replace( + " %s(" % funcname, " %s_1(" % funcname + ) + funcname = "%s_1" % funcname + lines.append("from nipype.utils.functions import getsource") lines.append( - 'from nipype.utils.functions import getsource') - lines.append("%s.inputs.%s = getsource(%s)" % - (nodename, key, funcname)) + "%s.inputs.%s = getsource(%s)" % (nodename, key, funcname) + ) else: - lines.append('%s.inputs.%s = %s' % (nodename, key, val)) + lines.append("%s.inputs.%s = %s" % (nodename, key, val)) return lines -def format_node(node, format='python', include_config=False): +def format_node(node, format="python", include_config=False): """Format a node in a given output syntax.""" from .nodes import MapNode + lines = [] - name = node.fullname.replace('.', '_') - if format == 'python': + name = node.fullname.replace(".", "_") + if format == "python": klass = node.interface - importline = 'from %s import %s' % (klass.__module__, - klass.__class__.__name__) - comment = '# Node: %s' % node.fullname + importline = "from %s import %s" % (klass.__module__, klass.__class__.__name__) + comment = "# Node: %s" % node.fullname spec = signature(node.interface.__init__) args = [p.name for p in list(spec.parameters.values())] args = args[1:] if args: filled_args = [] for arg in args: - if hasattr(node.interface, '_%s' % arg): - filled_args.append('%s=%s' % - (arg, - getattr(node.interface, '_%s' % arg))) - args = ', '.join(filled_args) + if hasattr(node.interface, "_%s" % arg): + filled_args.append( + "%s=%s" % (arg, getattr(node.interface, "_%s" % arg)) + ) + args = ", ".join(filled_args) else: - args = '' + args = "" klass_name = klass.__class__.__name__ if isinstance(node, MapNode): - nodedef = '%s = MapNode(%s(%s), iterfield=%s, name="%s")' \ - % (name, klass_name, args, node.iterfield, name) + nodedef = '%s = MapNode(%s(%s), iterfield=%s, name="%s")' % ( + name, + klass_name, + args, + node.iterfield, + name, + ) else: - nodedef = '%s = Node(%s(%s), name="%s")' \ - % (name, klass_name, args, name) + nodedef = '%s = Node(%s(%s), name="%s")' % (name, klass_name, args, name) lines = [importline, comment, nodedef] if include_config: lines = [ importline, - "from collections import OrderedDict", comment, nodedef + "from collections import OrderedDict", + comment, + nodedef, ] - lines.append('%s.config = %s' % (name, node.config)) + lines.append("%s.config = %s" % (name, node.config)) if node.iterables is not None: - lines.append('%s.iterables = %s' % (name, node.iterables)) + lines.append("%s.iterables = %s" % (name, node.iterables)) lines.extend(_write_inputs(node)) return lines @@ -405,28 +424,26 @@ def modify_paths(object, relative=True, basedir=None): out = {} for key, val in sorted(object.items()): if isdefined(val): - out[key] = modify_paths( - val, relative=relative, basedir=basedir) + out[key] = modify_paths(val, relative=relative, basedir=basedir) elif isinstance(object, (list, tuple)): out = [] for val in object: if isdefined(val): - out.append( - modify_paths(val, relative=relative, basedir=basedir)) + out.append(modify_paths(val, relative=relative, basedir=basedir)) if isinstance(object, tuple): out = tuple(out) else: if isdefined(object): if isinstance(object, (str, bytes)) and os.path.isfile(object): if relative: - if config.getboolean('execution', 'use_relative_paths'): + if config.getboolean("execution", "use_relative_paths"): out = relpath(object, start=basedir) else: out = object else: out = os.path.abspath(os.path.join(basedir, object)) if not os.path.exists(out): - raise IOError('File %s not found' % out) + raise IOError("File %s not found" % out) else: out = object else: @@ -442,20 +459,20 @@ def get_print_name(node, simple_form=True): """ name = node.fullname - if hasattr(node, '_interface'): - pkglist = node.interface.__class__.__module__.split('.') + if hasattr(node, "_interface"): + pkglist = node.interface.__class__.__module__.split(".") interface = node.interface.__class__.__name__ - destclass = '' + destclass = "" if len(pkglist) > 2: - destclass = '.%s' % pkglist[2] + destclass = ".%s" % pkglist[2] if simple_form: name = node.fullname + destclass else: - name = '.'.join([node.fullname, interface]) + destclass + name = ".".join([node.fullname, interface]) + destclass if simple_form: - parts = name.split('.') + parts = name.split(".") if len(parts) > 2: - return ' ('.join(parts[1:]) + ')' + return " (".join(parts[1:]) + ")" elif len(parts) == 2: return parts[1] return name @@ -466,15 +483,16 @@ def _create_dot_graph(graph, show_connectinfo=False, simple_form=True): Ensures that edge info is pickleable. """ - logger.debug('creating dot graph') + logger.debug("creating dot graph") import networkx as nx + pklgraph = nx.DiGraph() for edge in graph.edges(): data = graph.get_edge_data(*edge) srcname = get_print_name(edge[0], simple_form=simple_form) destname = get_print_name(edge[1], simple_form=simple_form) if show_connectinfo: - pklgraph.add_edge(srcname, destname, l=str(data['connect'])) + pklgraph.add_edge(srcname, destname, l=str(data["connect"])) else: pklgraph.add_edge(srcname, destname) return pklgraph @@ -495,67 +513,86 @@ def _write_detailed_dot(graph, dotfilename): } """ import networkx as nx - text = ['digraph structs {', 'node [shape=record];'] + + text = ["digraph structs {", "node [shape=record];"] # write nodes edges = [] for n in nx.topological_sort(graph): nodename = n.itername inports = [] for u, v, d in graph.in_edges(nbunch=n, data=True): - for cd in d['connect']: + for cd in d["connect"]: if isinstance(cd[0], (str, bytes)): outport = cd[0] else: outport = cd[0][0] inport = cd[1] - ipstrip = 'in%s' % _replacefunk(inport) - opstrip = 'out%s' % _replacefunk(outport) + ipstrip = "in%s" % _replacefunk(inport) + opstrip = "out%s" % _replacefunk(outport) edges.append( - '%s:%s:e -> %s:%s:w;' % (u.itername.replace('.', ''), opstrip, - v.itername.replace('.', ''), ipstrip)) + "%s:%s:e -> %s:%s:w;" + % ( + u.itername.replace(".", ""), + opstrip, + v.itername.replace(".", ""), + ipstrip, + ) + ) if inport not in inports: inports.append(inport) - inputstr = ['{IN'] + [ - '| %s' % (_replacefunk(ip), ip) for ip in sorted(inports) - ] + ['}'] + inputstr = ( + ["{IN"] + + ["| %s" % (_replacefunk(ip), ip) for ip in sorted(inports)] + + ["}"] + ) outports = [] for u, v, d in graph.out_edges(nbunch=n, data=True): - for cd in d['connect']: + for cd in d["connect"]: if isinstance(cd[0], (str, bytes)): outport = cd[0] else: outport = cd[0][0] if outport not in outports: outports.append(outport) - outputstr = ['{OUT'] + [ - '| %s' % (_replacefunk(oport), oport) - for oport in sorted(outports) - ] + ['}'] - srcpackage = '' - if hasattr(n, '_interface'): - pkglist = n.interface.__class__.__module__.split('.') + outputstr = ( + ["{OUT"] + + [ + "| %s" % (_replacefunk(oport), oport) + for oport in sorted(outports) + ] + + ["}"] + ) + srcpackage = "" + if hasattr(n, "_interface"): + pkglist = n.interface.__class__.__module__.split(".") if len(pkglist) > 2: srcpackage = pkglist[2] - srchierarchy = '.'.join(nodename.split('.')[1:-1]) - nodenamestr = '{ %s | %s | %s }' % (nodename.split('.')[-1], - srcpackage, srchierarchy) + srchierarchy = ".".join(nodename.split(".")[1:-1]) + nodenamestr = "{ %s | %s | %s }" % ( + nodename.split(".")[-1], + srcpackage, + srchierarchy, + ) text += [ - '%s [label="%s|%s|%s"];' % - (nodename.replace('.', ''), ''.join(inputstr), nodenamestr, - ''.join(outputstr)) + '%s [label="%s|%s|%s"];' + % ( + nodename.replace(".", ""), + "".join(inputstr), + nodenamestr, + "".join(outputstr), + ) ] # write edges for edge in sorted(edges): text.append(edge) - text.append('}') - with open(dotfilename, 'wt') as filep: - filep.write('\n'.join(text)) + text.append("}") + with open(dotfilename, "wt") as filep: + filep.write("\n".join(text)) return text def _replacefunk(x): - return x.replace('_', '').replace('.', '').replace('@', '').replace( - '-', '') + return x.replace("_", "").replace(".", "").replace("@", "").replace("-", "") # Graph manipulations for iterable expansion @@ -567,9 +604,9 @@ def _get_valid_pathstr(pathstr): """ if not isinstance(pathstr, (str, bytes)): pathstr = str(pathstr) - pathstr = pathstr.replace(os.sep, '..') - pathstr = re.sub(r'''[][ (){}?:<>#!|"';]''', '', pathstr) - pathstr = pathstr.replace(',', '.') + pathstr = pathstr.replace(os.sep, "..") + pathstr = re.sub(r"""[][ (){}?:<>#!|"';]""", "", pathstr) + pathstr = pathstr.replace(",", ".") return pathstr @@ -642,8 +679,9 @@ def synchronize_iterables(iterables): True """ out_list = [] - iterable_items = [(field, iter(fvals())) - for field, fvals in sorted(iterables.items())] + iterable_items = [ + (field, iter(fvals())) for field, fvals in sorted(iterables.items()) + ] while True: cur_dict = {} for field, iter_values in iterable_items: @@ -664,17 +702,21 @@ def evaluate_connect_function(function_source, args, first_arg): try: output_value = func(first_arg, *list(args)) except NameError as e: - if e.args[0].startswith("global name") and \ - e.args[0].endswith("is not defined"): - e.args = (e.args[0], - ("Due to engine constraints all imports have to be done " - "inside each function definition")) + if e.args[0].startswith("global name") and e.args[0].endswith("is not defined"): + e.args = ( + e.args[0], + ( + "Due to engine constraints all imports have to be done " + "inside each function definition" + ), + ) raise e return output_value def get_levels(G): import networkx as nx + levels = {} for n in nx.topological_sort(G): levels[n] = 0 @@ -683,13 +725,9 @@ def get_levels(G): return levels -def _merge_graphs(supergraph, - nodes, - subgraph, - nodeid, - iterables, - prefix, - synchronize=False): +def _merge_graphs( + supergraph, nodes, subgraph, nodeid, iterables, prefix, synchronize=False +): """Merges two graphs that share a subset of nodes. If the subgraph needs to be replicated for multiple iterables, the @@ -725,8 +763,12 @@ def _merge_graphs(supergraph, # This should trap the problem of miswiring when multiple iterables are # used at the same level. The use of the template below for naming # updates to nodes is the general solution. - raise Exception(("Execution graph does not have a unique set of node " - "names. Please rerun the workflow")) + raise Exception( + ( + "Execution graph does not have a unique set of node " + "names. Please rerun the workflow" + ) + ) edgeinfo = {} for n in list(subgraph.nodes()): nidx = ids.index(n._hierarchy + n._id) @@ -736,7 +778,8 @@ def _merge_graphs(supergraph, if n._hierarchy + n._id not in list(edgeinfo.keys()): edgeinfo[n._hierarchy + n._id] = [] edgeinfo[n._hierarchy + n._id].append( - (edge[0], supergraph.get_edge_data(*edge))) + (edge[0], supergraph.get_edge_data(*edge)) + ) supergraph.remove_nodes_from(nodes) # Add copies of the subgraph depending on the number of iterables iterable_params = expand_iterables(iterables, synchronize) @@ -745,20 +788,21 @@ def _merge_graphs(supergraph, return supergraph # Make an iterable subgraph node id template count = len(iterable_params) - template = '.%s%%0%dd' % (prefix, np.ceil(np.log10(count))) + template = ".%s%%0%dd" % (prefix, np.ceil(np.log10(count))) # Copy the iterable subgraphs for i, params in enumerate(iterable_params): Gc = deepcopy(subgraph) ids = [n._hierarchy + n._id for n in Gc.nodes()] nodeidx = ids.index(nodeid) rootnode = list(Gc.nodes())[nodeidx] - paramstr = '' + paramstr = "" for key, val in sorted(params.items()): - paramstr = '{}_{}_{}'.format(paramstr, _get_valid_pathstr(key), - _get_valid_pathstr(val)) + paramstr = "{}_{}_{}".format( + paramstr, _get_valid_pathstr(key), _get_valid_pathstr(val) + ) rootnode.set_input(key, val) - logger.debug('Parameterization: paramstr=%s', paramstr) + logger.debug("Parameterization: paramstr=%s", paramstr) levels = get_levels(Gc) for n in Gc.nodes(): # update parameterization of the node to reflect the location of @@ -791,10 +835,10 @@ def _connect_nodes(graph, srcnode, destnode, connection_info): """ data = graph.get_edge_data(srcnode, destnode, default=None) if not data: - data = {'connect': connection_info} + data = {"connect": connection_info} graph.add_edges_from([(srcnode, destnode, data)]) else: - data['connect'].extend(connection_info) + data["connect"].extend(connection_info) def _remove_nonjoin_identity_nodes(graph, keep_iterables=False): @@ -806,7 +850,7 @@ def _remove_nonjoin_identity_nodes(graph, keep_iterables=False): # if keep_iterables is False, then include the iterable # and join nodes in the nodes to delete for node in _identity_nodes(graph, not keep_iterables): - if not hasattr(node, 'joinsource'): + if not hasattr(node, "joinsource"): _remove_identity_node(graph, node) return graph @@ -819,10 +863,12 @@ def _identity_nodes(graph, include_iterables): to True. """ import networkx as nx + return [ - node for node in nx.topological_sort(graph) - if isinstance(node.interface, IdentityInterface) and ( - include_iterables or getattr(node, 'iterables') is None) + node + for node in nx.topological_sort(graph) + if isinstance(node.interface, IdentityInterface) + and (include_iterables or getattr(node, "iterables") is None) ] @@ -832,8 +878,7 @@ def _remove_identity_node(graph, node): portinputs, portoutputs = _node_ports(graph, node) for field, connections in list(portoutputs.items()): if portinputs: - _propagate_internal_output(graph, node, field, connections, - portinputs) + _propagate_internal_output(graph, node, field, connections, portinputs) else: _propagate_root_output(graph, node, field, connections) graph.remove_nodes_from([node]) @@ -853,10 +898,10 @@ def _node_ports(graph, node): portinputs = {} portoutputs = {} for u, _, d in graph.in_edges(node, data=True): - for src, dest in d['connect']: + for src, dest in d["connect"]: portinputs[dest] = (u, src) for _, v, d in graph.out_edges(node, data=True): - for src, dest in d['connect']: + for src, dest in d["connect"]: if isinstance(src, tuple): srcport = src[0] else: @@ -887,25 +932,22 @@ def _propagate_internal_output(graph, node, field, connections, portinputs): if isinstance(srcport, tuple) and isinstance(src, tuple): src_func = srcport[1].split("\\n")[0] dst_func = src[1].split("\\n")[0] - raise ValueError("Does not support two inline functions " - "in series ('{}' and '{}'), found when " - "connecting {} to {}. Please use a Function " - "node.".format(src_func, dst_func, srcnode, - destnode)) - - connect = graph.get_edge_data( - srcnode, destnode, default={ - 'connect': [] - }) + raise ValueError( + "Does not support two inline functions " + "in series ('{}' and '{}'), found when " + "connecting {} to {}. Please use a Function " + "node.".format(src_func, dst_func, srcnode, destnode) + ) + + connect = graph.get_edge_data(srcnode, destnode, default={"connect": []}) if isinstance(src, tuple): - connect['connect'].append(((srcport, src[1], src[2]), inport)) + connect["connect"].append(((srcport, src[1], src[2]), inport)) else: - connect = {'connect': [(srcport, inport)]} + connect = {"connect": [(srcport, inport)]} old_connect = graph.get_edge_data( - srcnode, destnode, default={ - 'connect': [] - }) - old_connect['connect'] += connect['connect'] + srcnode, destnode, default={"connect": []} + ) + old_connect["connect"] += connect["connect"] graph.add_edges_from([(srcnode, destnode, old_connect)]) else: value = getattr(node.inputs, field) @@ -923,6 +965,7 @@ def generate_expanded_graph(graph_in): parameterized as (a=1,b=3), (a=1,b=4), (a=2,b=3) and (a=2,b=4). """ import networkx as nx + try: dfs_preorder = nx.dfs_preorder except AttributeError: @@ -934,7 +977,7 @@ def generate_expanded_graph(graph_in): for node in graph_in.nodes(): if node.iterables: _standardize_iterables(node) - allprefixes = list('abcdefghijklmnopqrstuvwxyz') + allprefixes = list("abcdefghijklmnopqrstuvwxyz") # the iterable nodes inodes = _iterable_nodes(graph_in) @@ -947,8 +990,10 @@ def generate_expanded_graph(graph_in): # the join successor nodes of the current iterable node jnodes = [ - node for node in graph_in.nodes() - if hasattr(node, 'joinsource') and inode.name == node.joinsource + node + for node in graph_in.nodes() + if hasattr(node, "joinsource") + and inode.name == node.joinsource and nx.has_path(graph_in, inode, node) ] @@ -965,8 +1010,7 @@ def generate_expanded_graph(graph_in): for src, dest in edges2remove: graph_in.remove_edge(src, dest) - logger.debug("Excised the %s -> %s join node in-edge.", src, - dest) + logger.debug("Excised the %s -> %s join node in-edge.", src, dest) if inode.itersource: # the itersource is a (node name, fields) tuple @@ -976,22 +1020,24 @@ def generate_expanded_graph(graph_in): src_fields = [src_fields] # find the unique iterable source node in the graph try: - iter_src = next((node for node in graph_in.nodes() - if node.name == src_name - and nx.has_path(graph_in, node, inode))) + iter_src = next( + ( + node + for node in graph_in.nodes() + if node.name == src_name and nx.has_path(graph_in, node, inode) + ) + ) except StopIteration: - raise ValueError("The node %s itersource %s was not found" - " among the iterable predecessor nodes" % - (inode, src_name)) - logger.debug("The node %s has iterable source node %s", inode, - iter_src) + raise ValueError( + "The node %s itersource %s was not found" + " among the iterable predecessor nodes" % (inode, src_name) + ) + logger.debug("The node %s has iterable source node %s", inode, iter_src) # look up the iterables for this particular itersource descendant # using the iterable source ancestor values as a key iterables = {} # the source node iterables values - src_values = [ - getattr(iter_src.inputs, field) for field in src_fields - ] + src_values = [getattr(iter_src.inputs, field) for field in src_fields] # if there is one source field, then the key is the the source value, # otherwise the key is the tuple of source values if len(src_values) == 1: @@ -1001,9 +1047,13 @@ def generate_expanded_graph(graph_in): # The itersource iterables is a {field: lookup} dictionary, where the # lookup is a {source key: iteration list} dictionary. Look up the # current iterable value using the predecessor itersource input values. - iter_dict = dict([(field, lookup[key]) - for field, lookup in inode.iterables - if key in lookup]) + iter_dict = dict( + [ + (field, lookup[key]) + for field, lookup in inode.iterables + if key in lookup + ] + ) # convert the iterables to the standard {field: function} format @@ -1011,37 +1061,43 @@ def make_field_func(*pair): return pair[0], lambda: pair[1] iterables = dict( - [make_field_func(*pair) for pair in list(iter_dict.items())]) + [make_field_func(*pair) for pair in list(iter_dict.items())] + ) else: iterables = inode.iterables.copy() inode.iterables = None - logger.debug('node: %s iterables: %s', inode, iterables) + logger.debug("node: %s iterables: %s", inode, iterables) # collect the subnodes to expand subnodes = [s for s in dfs_preorder(graph_in, inode)] - prior_prefix = [re.findall(r'\.(.)I', s._id) for s in subnodes if s._id] + prior_prefix = [re.findall(r"\.(.)I", s._id) for s in subnodes if s._id] prior_prefix = sorted([l for item in prior_prefix for l in item]) if not prior_prefix: - iterable_prefix = 'a' + iterable_prefix = "a" else: - if prior_prefix[-1] == 'z': - raise ValueError('Too many iterables in the workflow') - iterable_prefix =\ - allprefixes[allprefixes.index(prior_prefix[-1]) + 1] - logger.debug(('subnodes:', subnodes)) + if prior_prefix[-1] == "z": + raise ValueError("Too many iterables in the workflow") + iterable_prefix = allprefixes[allprefixes.index(prior_prefix[-1]) + 1] + logger.debug(("subnodes:", subnodes)) # append a suffix to the iterable node id - inode._id += '.%sI' % iterable_prefix + inode._id += ".%sI" % iterable_prefix # merge the iterated subgraphs # dj: the behaviour of .copy changes in version 2 - if LooseVersion(nx.__version__) < LooseVersion('2'): + if LooseVersion(nx.__version__) < LooseVersion("2"): subgraph = graph_in.subgraph(subnodes) else: subgraph = graph_in.subgraph(subnodes).copy() - graph_in = _merge_graphs(graph_in, subnodes, subgraph, - inode._hierarchy + inode._id, iterables, - iterable_prefix, inode.synchronize) + graph_in = _merge_graphs( + graph_in, + subnodes, + subgraph, + inode._hierarchy + inode._id, + iterables, + iterable_prefix, + inode.synchronize, + ) # reconnect the join nodes for jnode in jnodes: @@ -1054,7 +1110,7 @@ def make_field_func(*pair): for src_id in list(old_edge_dict.keys()): # Drop the original JoinNodes; only concerned with # generated Nodes - if hasattr(node, 'joinfield') and node.itername == src_id: + if hasattr(node, "joinfield") and node.itername == src_id: continue # Patterns: # - src_id : Non-iterable node @@ -1063,12 +1119,17 @@ def make_field_func(*pair): # - src_id.[a-z]I.[a-z]\d+ : # Non-IdentityInterface w/ iterables # - src_idJ\d+ : JoinNode(IdentityInterface) - if re.match(src_id + r'((\.[a-z](I\.[a-z])?|J)\d+)?$', - node.itername): + if re.match( + src_id + r"((\.[a-z](I\.[a-z])?|J)\d+)?$", node.itername + ): expansions[src_id].append(node) for in_id, in_nodes in list(expansions.items()): - logger.debug("The join node %s input %s was expanded" - " to %d nodes.", jnode, in_id, len(in_nodes)) + logger.debug( + "The join node %s input %s was expanded" " to %d nodes.", + jnode, + in_id, + len(in_nodes), + ) # preserve the node iteration order by sorting on the node id for in_nodes in list(expansions.values()): in_nodes.sort(key=lambda node: node._id) @@ -1077,9 +1138,7 @@ def make_field_func(*pair): iter_cnt = count_iterables(iterables, inode.synchronize) # make new join node fields to connect to each replicated # join in-edge source node. - slot_dicts = [ - jnode._add_join_item_fields() for _ in range(iter_cnt) - ] + slot_dicts = [jnode._add_join_item_fields() for _ in range(iter_cnt)] # for each join in-edge, connect every expanded source node # which matches on the in-edge source name to the destination # join node. Qualify each edge connect join field name by @@ -1095,11 +1154,10 @@ def make_field_func(*pair): olddata = old_edge_dict[old_id] newdata = deepcopy(olddata) # the (source, destination) field tuples - connects = newdata['connect'] + connects = newdata["connect"] # the join fields connected to the source join_fields = [ - field for _, field in connects - if field in jnode.joinfield + field for _, field in connects if field in jnode.joinfield ] # the {field: slot fields} maps assigned to the input # node, e.g. {'image': 'imageJ3', 'mask': 'maskJ3'} @@ -1114,10 +1172,18 @@ def make_field_func(*pair): connects[con_idx] = (src_field, slot_field) logger.debug( "Qualified the %s -> %s join field %s as %s.", - in_node, jnode, dest_field, slot_field) + in_node, + jnode, + dest_field, + slot_field, + ) graph_in.add_edge(in_node, jnode, **newdata) - logger.debug("Connected the join node %s subgraph to the" - " expanded join point %s", jnode, in_node) + logger.debug( + "Connected the join node %s subgraph to the" + " expanded join point %s", + jnode, + in_node, + ) # nx.write_dot(graph_in, '%s_post.dot' % node) # the remaining iterable nodes @@ -1157,6 +1223,7 @@ def _iterable_nodes(graph_in): Return the iterable nodes list """ import networkx as nx + nodes = nx.topological_sort(graph_in) inodes = [node for node in nodes if node.iterables is not None] inodes_no_src = [node for node in inodes if not node.itersource] @@ -1179,8 +1246,9 @@ def _standardize_iterables(node): if node.synchronize: if len(iterables) == 2: first, last = iterables - if all((isinstance(item, (str, bytes)) and item in fields - for item in first)): + if all( + (isinstance(item, (str, bytes)) and item in fields for item in first) + ): iterables = _transpose_iterables(first, last) # Convert a tuple to a list @@ -1197,9 +1265,7 @@ def _standardize_iterables(node): def make_field_func(*pair): return pair[0], lambda: pair[1] - iter_items = [ - make_field_func(*field_value1) for field_value1 in iterables - ] + iter_items = [make_field_func(*field_value1) for field_value1 in iterables] iterables = dict(iter_items) node.iterables = iterables @@ -1216,20 +1282,25 @@ def _validate_iterables(node, iterables, fields): if isinstance(iterables, dict): iterables = list(iterables.items()) elif not isinstance(iterables, tuple) and not isinstance(iterables, list): - raise ValueError("The %s iterables type is not a list or a dictionary:" - " %s" % (node.name, iterables.__class__)) + raise ValueError( + "The %s iterables type is not a list or a dictionary:" + " %s" % (node.name, iterables.__class__) + ) for item in iterables: try: if len(item) != 2: - raise ValueError("The %s iterables is not a [(field, values)]" - " list" % node.name) + raise ValueError( + "The %s iterables is not a [(field, values)]" " list" % node.name + ) except TypeError as e: - raise TypeError("A %s iterables member is not iterable: %s" % - (node.name, e)) + raise TypeError( + "A %s iterables member is not iterable: %s" % (node.name, e) + ) field, _ = item if field not in fields: - raise ValueError("The %s iterables field is unrecognized: %s" % - (node.name, field)) + raise ValueError( + "The %s iterables field is unrecognized: %s" % (node.name, field) + ) def _transpose_iterables(fields, values): @@ -1252,18 +1323,26 @@ def _transpose_iterables(fields, values): return list(transposed.items()) return list( - zip(fields, [[v for v in list(transpose) if v is not None] - for transpose in zip(*values)])) - - -def export_graph(graph_in, - base_dir=None, - show=False, - use_execgraph=False, - show_connectinfo=False, - dotfilename='graph.dot', - format='png', - simple_form=True): + zip( + fields, + [ + [v for v in list(transpose) if v is not None] + for transpose in zip(*values) + ], + ) + ) + + +def export_graph( + graph_in, + base_dir=None, + show=False, + use_execgraph=False, + show_connectinfo=False, + dotfilename="graph.dot", + format="png", + simple_form=True, +): """ Displays the graph layout of the pipeline This function requires that pygraphviz and matplotlib are available on @@ -1285,37 +1364,40 @@ def export_graph(graph_in, makes the graph rather cluttered. default [False] """ import networkx as nx + graph = deepcopy(graph_in) if use_execgraph: graph = generate_expanded_graph(graph) - logger.debug('using execgraph') + logger.debug("using execgraph") else: - logger.debug('using input graph') + logger.debug("using input graph") if base_dir is None: base_dir = os.getcwd() os.makedirs(base_dir, exist_ok=True) out_dot = fname_presuffix( - dotfilename, suffix='_detailed.dot', use_ext=False, newpath=base_dir) + dotfilename, suffix="_detailed.dot", use_ext=False, newpath=base_dir + ) _write_detailed_dot(graph, out_dot) # Convert .dot if format != 'dot' outfname, res = _run_dot(out_dot, format_ext=format) if res is not None and res.runtime.returncode: - logger.warning('dot2png: %s', res.runtime.stderr) + logger.warning("dot2png: %s", res.runtime.stderr) pklgraph = _create_dot_graph(graph, show_connectinfo, simple_form) simple_dot = fname_presuffix( - dotfilename, suffix='.dot', use_ext=False, newpath=base_dir) + dotfilename, suffix=".dot", use_ext=False, newpath=base_dir + ) nx.drawing.nx_pydot.write_dot(pklgraph, simple_dot) # Convert .dot if format != 'dot' simplefname, res = _run_dot(simple_dot, format_ext=format) if res is not None and res.runtime.returncode: - logger.warning('dot2png: %s', res.runtime.stderr) + logger.warning("dot2png: %s", res.runtime.stderr) if show: - pos = nx.graphviz_layout(pklgraph, prog='dot') + pos = nx.graphviz_layout(pklgraph, prog="dot") nx.draw(pklgraph, pos) if show_connectinfo: nx.draw_networkx_edge_labels(pklgraph, pos) @@ -1323,7 +1405,7 @@ def export_graph(graph_in, return simplefname if simple_form else outfname -def format_dot(dotfilename, format='png'): +def format_dot(dotfilename, format="png"): """Dump a directed graph (Linux only; install via `brew` on OSX)""" try: formatted_dot, _ = _run_dot(dotfilename, format_ext=format) @@ -1336,14 +1418,13 @@ def format_dot(dotfilename, format='png'): def _run_dot(dotfilename, format_ext): - if format_ext == 'dot': + if format_ext == "dot": return dotfilename, None - dot_base = os.path.splitext(dotfilename)[0] - formatted_dot = '{}.{}'.format(dot_base, format_ext) + dot_base = os.path.splitext(dotfilename)[0] + formatted_dot = "{}.{}".format(dot_base, format_ext) cmd = 'dot -T{} -o"{}" "{}"'.format(format_ext, formatted_dot, dotfilename) - res = CommandLine(cmd, terminal_output='allatonce', - resource_monitor=False).run() + res = CommandLine(cmd, terminal_output="allatonce", resource_monitor=False).run() return formatted_dot, res @@ -1372,9 +1453,9 @@ def walk_outputs(object): else: if isdefined(object) and isinstance(object, (str, bytes)): if os.path.islink(object) or os.path.isfile(object): - out = [(filename, 'f') for filename in get_all_files(object)] + out = [(filename, "f") for filename in get_all_files(object)] elif os.path.isdir(object): - out = [(object, 'd')] + out = [(object, "d")] return out @@ -1384,53 +1465,54 @@ def walk_files(cwd): yield os.path.join(path, f) -def clean_working_directory(outputs, - cwd, - inputs, - needed_outputs, - config, - files2keep=None, - dirs2keep=None): +def clean_working_directory( + outputs, cwd, inputs, needed_outputs, config, files2keep=None, dirs2keep=None +): """Removes all files not needed for further analysis from the directory """ if not outputs: return outputs_to_keep = list(outputs.trait_get().keys()) - if needed_outputs and \ - str2bool(config['execution']['remove_unnecessary_outputs']): + if needed_outputs and str2bool(config["execution"]["remove_unnecessary_outputs"]): outputs_to_keep = needed_outputs # build a list of needed files output_files = [] outputdict = outputs.trait_get() for output in outputs_to_keep: output_files.extend(walk_outputs(outputdict[output])) - needed_files = [path for path, type in output_files if type == 'f'] - if str2bool(config['execution']['keep_inputs']): + needed_files = [path for path, type in output_files if type == "f"] + if str2bool(config["execution"]["keep_inputs"]): input_files = [] inputdict = inputs.trait_get() input_files.extend(walk_outputs(inputdict)) - needed_files += [path for path, type in input_files if type == 'f'] + needed_files += [path for path, type in input_files if type == "f"] for extra in [ - '_0x*.json', 'provenance.*', 'pyscript*.m', 'pyjobs*.mat', - 'command.txt', 'result*.pklz', '_inputs.pklz', '_node.pklz', - '.proc-*', + "_0x*.json", + "provenance.*", + "pyscript*.m", + "pyjobs*.mat", + "command.txt", + "result*.pklz", + "_inputs.pklz", + "_node.pklz", + ".proc-*", ]: needed_files.extend(glob(os.path.join(cwd, extra))) if files2keep: needed_files.extend(ensure_list(files2keep)) - needed_dirs = [path for path, type in output_files if type == 'd'] + needed_dirs = [path for path, type in output_files if type == "d"] if dirs2keep: needed_dirs.extend(ensure_list(dirs2keep)) - for extra in ['_nipype', '_report']: + for extra in ["_nipype", "_report"]: needed_dirs.extend(glob(os.path.join(cwd, extra))) temp = [] for filename in needed_files: temp.extend(get_related_files(filename)) needed_files = temp - logger.debug('Needed files: %s', ';'.join(needed_files)) - logger.debug('Needed dirs: %s', ';'.join(needed_dirs)) + logger.debug("Needed files: %s", ";".join(needed_files)) + logger.debug("Needed dirs: %s", ";".join(needed_dirs)) files2remove = [] - if str2bool(config['execution']['remove_unnecessary_outputs']): + if str2bool(config["execution"]["remove_unnecessary_outputs"]): for f in walk_files(cwd): if f not in needed_files: if not needed_dirs: @@ -1438,15 +1520,15 @@ def clean_working_directory(outputs, elif not any([f.startswith(dname) for dname in needed_dirs]): files2remove.append(f) else: - if not str2bool(config['execution']['keep_inputs']): + if not str2bool(config["execution"]["keep_inputs"]): input_files = [] inputdict = inputs.trait_get() input_files.extend(walk_outputs(inputdict)) - input_files = [path for path, type in input_files if type == 'f'] + input_files = [path for path, type in input_files if type == "f"] for f in walk_files(cwd): if f in input_files and f not in needed_files: files2remove.append(f) - logger.debug('Removing files: %s', ';'.join(files2remove)) + logger.debug("Removing files: %s", ";".join(files2remove)) for f in files2remove: os.remove(f) for key in outputs.copyable_trait_names(): @@ -1500,11 +1582,11 @@ def merge_bundles(g1, g2): return g1 -def write_workflow_prov(graph, filename=None, format='all'): +def write_workflow_prov(graph, filename=None, format="all"): """Write W3C PROV Model JSON file """ if not filename: - filename = os.path.join(os.getcwd(), 'workflow_provenance') + filename = os.path.join(os.getcwd(), "workflow_provenance") ps = ProvStore() @@ -1516,16 +1598,15 @@ def write_workflow_prov(graph, filename=None, format='all'): _, hashval, _, _ = node.hash_exists() attrs = { pm.PROV["type"]: nipype_ns[classname], - pm.PROV["label"]: '_'.join((classname, node.name)), - nipype_ns['hashval']: hashval + pm.PROV["label"]: "_".join((classname, node.name)), + nipype_ns["hashval"]: hashval, } process = ps.g.activity(get_id(), None, None, attrs) if isinstance(result.runtime, list): process.add_attributes({pm.PROV["type"]: nipype_ns["MapNode"]}) # add info about sub processes for idx, runtime in enumerate(result.runtime): - subresult = InterfaceResult( - result.interface[idx], runtime, outputs={}) + subresult = InterfaceResult(result.interface[idx], runtime, outputs={}) if result.inputs: if idx < len(result.inputs): subresult.inputs = result.inputs[idx] @@ -1535,14 +1616,12 @@ def write_workflow_prov(graph, filename=None, format='all'): if isdefined(values) and idx < len(values): subresult.outputs[key] = values[idx] sub_doc = ProvStore().add_results(subresult) - sub_bundle = pm.ProvBundle( - sub_doc.get_records(), identifier=get_id()) + sub_bundle = pm.ProvBundle(sub_doc.get_records(), identifier=get_id()) ps.g.add_bundle(sub_bundle) bundle_entity = ps.g.entity( sub_bundle.identifier, - other_attributes={ - 'prov:type': pm.PROV_BUNDLE - }) + other_attributes={"prov:type": pm.PROV_BUNDLE}, + ) ps.g.wasGeneratedBy(bundle_entity, process) else: process.add_attributes({pm.PROV["type"]: nipype_ns["Node"]}) @@ -1550,14 +1629,11 @@ def write_workflow_prov(graph, filename=None, format='all'): prov_doc = result.provenance else: prov_doc = ProvStore().add_results(result) - result_bundle = pm.ProvBundle( - prov_doc.get_records(), identifier=get_id()) + result_bundle = pm.ProvBundle(prov_doc.get_records(), identifier=get_id()) ps.g.add_bundle(result_bundle) bundle_entity = ps.g.entity( - result_bundle.identifier, - other_attributes={ - 'prov:type': pm.PROV_BUNDLE - }) + result_bundle.identifier, other_attributes={"prov:type": pm.PROV_BUNDLE} + ) ps.g.wasGeneratedBy(bundle_entity, process) processes.append(process) @@ -1566,7 +1642,8 @@ def write_workflow_prov(graph, filename=None, format='all'): for idx, edgeinfo in enumerate(graph.in_edges()): ps.g.wasStartedBy( processes[list(nodes).index(edgeinfo[1])], - starter=processes[list(nodes).index(edgeinfo[0])]) + starter=processes[list(nodes).index(edgeinfo[0])], + ) # write provenance ps.write_provenance(filename, format=format) @@ -1581,46 +1658,49 @@ def write_workflow_resources(graph, filename=None, append=None): import simplejson as json # Overwrite filename if nipype config is set - filename = config.get('monitoring', 'summary_file', filename) + filename = config.get("monitoring", "summary_file", filename) # If filename still does not make sense, store in $PWD if not filename: - filename = os.path.join(os.getcwd(), 'resource_monitor.json') + filename = os.path.join(os.getcwd(), "resource_monitor.json") if append is None: - append = str2bool(config.get('monitoring', 'summary_append', 'true')) + append = str2bool(config.get("monitoring", "summary_append", "true")) big_dict = { - 'time': [], - 'name': [], - 'interface': [], - 'rss_GiB': [], - 'vms_GiB': [], - 'cpus': [], - 'mapnode': [], - 'params': [], + "time": [], + "name": [], + "interface": [], + "rss_GiB": [], + "vms_GiB": [], + "cpus": [], + "mapnode": [], + "params": [], } # If file exists, just append new profile information # If we append different runs, then we will see different # "bursts" of timestamps corresponding to those executions. if append and os.path.isfile(filename): - with open(filename, 'r') as rsf: + with open(filename, "r") as rsf: big_dict = json.load(rsf) for _, node in enumerate(graph.nodes()): nodename = node.fullname classname = node.interface.__class__.__name__ - params = '' + params = "" if node.parameterization: - params = '_'.join(['{}'.format(p) for p in node.parameterization]) + params = "_".join(["{}".format(p) for p in node.parameterization]) try: rt_list = node.result.runtime except Exception: - logger.warning('Could not access runtime info for node %s' - ' (%s interface)', nodename, classname) + logger.warning( + "Could not access runtime info for node %s" " (%s interface)", + nodename, + classname, + ) continue if not isinstance(rt_list, list): @@ -1628,22 +1708,26 @@ def write_workflow_resources(graph, filename=None, append=None): for subidx, runtime in enumerate(rt_list): try: - nsamples = len(runtime.prof_dict['time']) + nsamples = len(runtime.prof_dict["time"]) except AttributeError: logger.warning( 'Could not retrieve profiling information for node "%s" ' - '(mapflow %d/%d).', nodename, subidx + 1, len(rt_list)) + "(mapflow %d/%d).", + nodename, + subidx + 1, + len(rt_list), + ) continue - for key in ['time', 'cpus', 'rss_GiB', 'vms_GiB']: + for key in ["time", "cpus", "rss_GiB", "vms_GiB"]: big_dict[key] += runtime.prof_dict[key] - big_dict['interface'] += [classname] * nsamples - big_dict['name'] += [nodename] * nsamples - big_dict['mapnode'] += [subidx] * nsamples - big_dict['params'] += [params] * nsamples + big_dict["interface"] += [classname] * nsamples + big_dict["name"] += [nodename] * nsamples + big_dict["mapnode"] += [subidx] * nsamples + big_dict["params"] += [params] * nsamples - with open(filename, 'w') as rsf: + with open(filename, "w") as rsf: json.dump(big_dict, rsf, ensure_ascii=False) return filename @@ -1653,6 +1737,7 @@ def topological_sort(graph, depth_first=False): """Returns a depth first sorted order if depth_first is True """ import networkx as nx + nodesort = list(nx.topological_sort(graph)) if not depth_first: return nodesort, None @@ -1670,8 +1755,8 @@ def topological_sort(graph, depth_first=False): for node in desc: indices.append(nodesort.index(node)) nodes.extend( - np.array(nodesort)[np.array(indices)[np.argsort(indices)]] - .tolist()) + np.array(nodesort)[np.array(indices)[np.argsort(indices)]].tolist() + ) for node in desc: nodesort.remove(node) groups.extend([group] * len(desc)) diff --git a/nipype/utils/filemanip.py b/nipype/utils/filemanip.py index 8a7ce6d9ea..c3346af8f3 100644 --- a/nipype/utils/filemanip.py +++ b/nipype/utils/filemanip.py @@ -24,12 +24,12 @@ from .. import logging, config from .misc import is_container -fmlogger = logging.getLogger('nipype.utils') +fmlogger = logging.getLogger("nipype.utils") related_filetype_sets = [ - ('.hdr', '.img', '.mat'), - ('.nii', '.mat'), - ('.BRIK', '.HEAD'), + (".hdr", ".img", ".mat"), + (".nii", ".mat"), + (".BRIK", ".HEAD"), ] @@ -99,8 +99,7 @@ def split_filename(fname): ext = None for special_ext in special_extensions: ext_len = len(special_ext) - if (len(fname) > ext_len) and \ - (fname[-ext_len:].lower() == special_ext.lower()): + if (len(fname) > ext_len) and (fname[-ext_len:].lower() == special_ext.lower()): ext = fname[-ext_len:] fname = fname[:-ext_len] break @@ -110,7 +109,7 @@ def split_filename(fname): return pth, fname, ext -def fname_presuffix(fname, prefix='', suffix='', newpath=None, use_ext=True): +def fname_presuffix(fname, prefix="", suffix="", newpath=None, use_ext=True): """Manipulates path and name of input filename Parameters @@ -144,7 +143,7 @@ def fname_presuffix(fname, prefix='', suffix='', newpath=None, use_ext=True): """ pth, fname, ext = split_filename(fname) if not use_ext: - ext = '' + ext = "" # No need for isdefined: bool(Undefined) evaluates to False if newpath: @@ -152,7 +151,7 @@ def fname_presuffix(fname, prefix='', suffix='', newpath=None, use_ext=True): return op.join(pth, prefix + fname + suffix + ext) -def fnames_presuffix(fnames, prefix='', suffix='', newpath=None, use_ext=True): +def fnames_presuffix(fnames, prefix="", suffix="", newpath=None, use_ext=True): """Calls fname_presuffix for a list of files. """ f2 = [] @@ -166,7 +165,7 @@ def hash_rename(filename, hashvalue): and sets path to output_directory """ path, name, ext = split_filename(filename) - newfilename = ''.join((name, '_0x', hashvalue, ext)) + newfilename = "".join((name, "_0x", hashvalue, ext)) return op.join(path, newfilename) @@ -175,15 +174,14 @@ def check_forhash(filename): if isinstance(filename, list): filename = filename[0] path, name = op.split(filename) - if re.search('(_0x[a-z0-9]{32})', name): - hashvalue = re.findall('(_0x[a-z0-9]{32})', name) + if re.search("(_0x[a-z0-9]{32})", name): + hashvalue = re.findall("(_0x[a-z0-9]{32})", name) return True, hashvalue else: return False, None -def hash_infile(afile, chunk_len=8192, crypto=hashlib.md5, - raise_notfound=False): +def hash_infile(afile, chunk_len=8192, crypto=hashlib.md5, raise_notfound=False): """ Computes hash of a file using 'crypto' module @@ -207,7 +205,7 @@ def hash_infile(afile, chunk_len=8192, crypto=hashlib.md5, return None crypto_obj = crypto() - with open(afile, 'rb') as fp: + with open(afile, "rb") as fp: while True: data = fp.read(chunk_len) if not data: @@ -242,19 +240,19 @@ def _parse_mount_table(exit_code, output): # ^^^^ ^^^^^ # OSX mount example: /dev/disk2 on / (hfs, local, journaled) # ^ ^^^ - pattern = re.compile(r'.*? on (/.*?) (?:type |\()([^\s,\)]+)') + pattern = re.compile(r".*? on (/.*?) (?:type |\()([^\s,\)]+)") # Keep line and match for error reporting (match == None on failure) # Ignore empty lines - matches = [(l, pattern.match(l)) - for l in output.strip().splitlines() if l] + matches = [(l, pattern.match(l)) for l in output.strip().splitlines() if l] # (path, fstype) tuples, sorted by path length (longest first) - mount_info = sorted((match.groups() for _, match in matches - if match is not None), - key=lambda x: len(x[0]), reverse=True) - cifs_paths = [path for path, fstype in mount_info - if fstype.lower() == 'cifs'] + mount_info = sorted( + (match.groups() for _, match in matches if match is not None), + key=lambda x: len(x[0]), + reverse=True, + ) + cifs_paths = [path for path, fstype in mount_info if fstype.lower() == "cifs"] # Report failures as warnings for line, match in matches: @@ -262,7 +260,8 @@ def _parse_mount_table(exit_code, output): fmlogger.debug("Cannot parse mount line: '%s'", line) return [ - mount for mount in mount_info + mount + for mount in mount_info if any(mount[0].startswith(path) for path in cifs_paths) ] @@ -300,17 +299,19 @@ def on_cifs(fname): # Only the first match (most recent parent) counts for fspath, fstype in _cifs_table: if fname.startswith(fspath): - return fstype == 'cifs' + return fstype == "cifs" return False -def copyfile(originalfile, - newfile, - copy=False, - create_new=False, - hashmethod=None, - use_hardlink=False, - copy_related_files=True): +def copyfile( + originalfile, + newfile, + copy=False, + create_new=False, + hashmethod=None, + use_hardlink=False, + copy_related_files=True, +): """Copy or link ``originalfile`` to ``newfile``. If ``use_hardlink`` is True, and the file can be hard-linked, then a @@ -347,7 +348,7 @@ def copyfile(originalfile, if create_new: while op.exists(newfile): base, fname, ext = split_filename(newfile) - s = re.search('_c[0-9]{4,4}$', fname) + s = re.search("_c[0-9]{4,4}$", fname) i = 0 if s: i = int(s.group()[2:]) + 1 @@ -357,7 +358,7 @@ def copyfile(originalfile, newfile = base + os.sep + fname + ext if hashmethod is None: - hashmethod = config.get('execution', 'hash_method').lower() + hashmethod = config.get("execution", "hash_method").lower() # Don't try creating symlinks on CIFS if copy is False and on_cifs(newfile): @@ -377,26 +378,33 @@ def copyfile(originalfile, keep = False if op.lexists(newfile): if op.islink(newfile): - if all((os.readlink(newfile) == op.realpath(originalfile), - not use_hardlink, not copy)): + if all( + ( + os.readlink(newfile) == op.realpath(originalfile), + not use_hardlink, + not copy, + ) + ): keep = True elif posixpath.samefile(newfile, originalfile): keep = True else: - if hashmethod == 'timestamp': + if hashmethod == "timestamp": hashfn = hash_timestamp - elif hashmethod == 'content': + elif hashmethod == "content": hashfn = hash_infile else: raise AttributeError("Unknown hash method found:", hashmethod) newhash = hashfn(newfile) - fmlogger.debug('File: %s already exists,%s, copy:%d', newfile, - newhash, copy) + fmlogger.debug( + "File: %s already exists,%s, copy:%d", newfile, newhash, copy + ) orighash = hashfn(originalfile) keep = newhash == orighash if keep: - fmlogger.debug('File: %s already exists, not overwriting, copy:%d', - newfile, copy) + fmlogger.debug( + "File: %s already exists, not overwriting, copy:%d", newfile, copy + ) else: os.unlink(newfile) @@ -407,7 +415,7 @@ def copyfile(originalfile, # ~hardlink & ~symlink => copy if not keep and use_hardlink: try: - fmlogger.debug('Linking File: %s->%s', newfile, originalfile) + fmlogger.debug("Linking File: %s->%s", newfile, originalfile) # Use realpath to avoid hardlinking symlinks os.link(op.realpath(originalfile), newfile) except OSError: @@ -415,9 +423,9 @@ def copyfile(originalfile, else: keep = True - if not keep and not copy and os.name == 'posix': + if not keep and not copy and os.name == "posix": try: - fmlogger.debug('Symlinking File: %s->%s', newfile, originalfile) + fmlogger.debug("Symlinking File: %s->%s", newfile, originalfile) os.symlink(originalfile, newfile) except OSError: copy = True # Disable symlink for associated files @@ -426,15 +434,17 @@ def copyfile(originalfile, if not keep: try: - fmlogger.debug('Copying File: %s->%s', newfile, originalfile) + fmlogger.debug("Copying File: %s->%s", newfile, originalfile) shutil.copyfile(originalfile, newfile) except shutil.Error as e: fmlogger.warning(e.message) # Associated files if copy_related_files: - related_file_pairs = (get_related_files(f, include_this_file=False) - for f in (originalfile, newfile)) + related_file_pairs = ( + get_related_files(f, include_this_file=False) + for f in (originalfile, newfile) + ) for alt_ofile, alt_nfile in zip(*related_file_pairs): if op.exists(alt_ofile): copyfile( @@ -443,7 +453,8 @@ def copyfile(originalfile, copy, hashmethod=hashmethod, use_hardlink=use_hardlink, - copy_related_files=False) + copy_related_files=False, + ) return newfile @@ -496,9 +507,7 @@ def copyfiles(filelist, dest, copy=False, create_new=False): newfiles = [] for i, f in enumerate(ensure_list(filelist)): if isinstance(f, list): - newfiles.insert(i, - copyfiles( - f, dest, copy=copy, create_new=create_new)) + newfiles.insert(i, copyfiles(f, dest, copy=copy, create_new=create_new)) else: if len(outfiles) > 1: destfile = outfiles[i] @@ -543,9 +552,9 @@ def check_depends(targets, dependencies): """ tgts = ensure_list(targets) deps = ensure_list(dependencies) - return all(map(op.exists, tgts)) and \ - min(map(op.getmtime, tgts)) > \ - max(list(map(op.getmtime, deps)) + [0]) + return all(map(op.exists, tgts)) and min(map(op.getmtime, tgts)) > max( + list(map(op.getmtime, deps)) + [0] + ) def save_json(filename, data): @@ -559,7 +568,7 @@ def save_json(filename, data): Dictionary to save in json file. """ - mode = 'w' + mode = "w" with open(filename, mode) as fp: json.dump(data, fp, sort_keys=True, indent=4) @@ -578,32 +587,32 @@ def load_json(filename): """ - with open(filename, 'r') as fp: + with open(filename, "r") as fp: data = json.load(fp) return data def loadcrash(infile, *args): - if infile.endswith('pkl') or infile.endswith('pklz'): + if infile.endswith("pkl") or infile.endswith("pklz"): return loadpkl(infile) else: - raise ValueError('Only pickled crashfiles are supported') + raise ValueError("Only pickled crashfiles are supported") def loadpkl(infile): """Load a zipped or plain cPickled file.""" infile = Path(infile) - fmlogger.debug('Loading pkl: %s', infile) - pklopen = gzip.open if infile.suffix == '.pklz' else open + fmlogger.debug("Loading pkl: %s", infile) + pklopen = gzip.open if infile.suffix == ".pklz" else open - with SoftFileLock('%s.lock' % infile): - with pklopen(str(infile), 'rb') as pkl_file: + with SoftFileLock("%s.lock" % infile): + with pklopen(str(infile), "rb") as pkl_file: pkl_contents = pkl_file.read() pkl_metadata = None # Look if pkl file contains version metadata - idx = pkl_contents.find(b'\n') + idx = pkl_contents.find(b"\n") if idx >= 0: try: pkl_metadata = json.loads(pkl_contents[:idx]) @@ -612,7 +621,7 @@ def loadpkl(infile): pass else: # On success, skip JSON metadata - pkl_contents = pkl_contents[idx + 1:] + pkl_contents = pkl_contents[idx + 1 :] # Pickle files may contain relative paths that must be resolved relative # to the working directory, so use indirectory while attempting to load @@ -623,38 +632,45 @@ def loadpkl(infile): except UnicodeDecodeError: # Was this pickle created with Python 2.x? with indirectory(infile.parent): - unpkl = pickle.loads(pkl_contents, fix_imports=True, encoding='utf-8') - fmlogger.info('Successfully loaded pkl in compatibility mode.') + unpkl = pickle.loads(pkl_contents, fix_imports=True, encoding="utf-8") + fmlogger.info("Successfully loaded pkl in compatibility mode.") # Unpickling problems except Exception as e: - if pkl_metadata and 'version' in pkl_metadata: + if pkl_metadata and "version" in pkl_metadata: from nipype import __version__ as version - if pkl_metadata['version'] != version: - fmlogger.error("""\ + + if pkl_metadata["version"] != version: + fmlogger.error( + """\ Attempted to open a results file generated by Nipype version %s, \ -with an incompatible Nipype version (%s)""", pkl_metadata['version'], version) +with an incompatible Nipype version (%s)""", + pkl_metadata["version"], + version, + ) raise e - fmlogger.warning("""\ + fmlogger.warning( + """\ No metadata was found in the pkl file. Make sure you are currently using \ -the same Nipype version from the generated pkl.""") +the same Nipype version from the generated pkl.""" + ) raise e if unpkl is None: - raise ValueError('Loading %s resulted in None.' % infile) + raise ValueError("Loading %s resulted in None." % infile) return unpkl def crash2txt(filename, record): """ Write out plain text crash file """ - with open(filename, 'w') as fp: - if 'node' in record: - node = record['node'] - fp.write('Node: {}\n'.format(node.fullname)) - fp.write('Working directory: {}\n'.format(node.output_dir())) - fp.write('\n') - fp.write('Node inputs:\n{}\n'.format(node.inputs)) - fp.write(''.join(record['traceback'])) + with open(filename, "w") as fp: + if "node" in record: + node = record["node"] + fp.write("Node: {}\n".format(node.fullname)) + fp.write("Working directory: {}\n".format(node.output_dir())) + fp.write("\n") + fp.write("Node inputs:\n{}\n".format(node.inputs)) + fp.write("".join(record["traceback"])) def read_stream(stream, logger=None, encoding=None): @@ -667,50 +683,50 @@ def read_stream(stream, logger=None, encoding=None): """ - default_encoding = encoding or locale.getdefaultlocale()[1] or 'UTF-8' + default_encoding = encoding or locale.getdefaultlocale()[1] or "UTF-8" logger = logger or fmlogger try: out = stream.decode(default_encoding) except UnicodeDecodeError as err: - out = stream.decode(default_encoding, errors='replace') - logger.warning('Error decoding string: %s', err) + out = stream.decode(default_encoding, errors="replace") + logger.warning("Error decoding string: %s", err) return out.splitlines() def savepkl(filename, record, versioning=False): - pklopen = gzip.open if filename.endswith('.pklz') else open - with SoftFileLock('%s.lock' % filename): - with pklopen(filename, 'wb') as pkl_file: + pklopen = gzip.open if filename.endswith(".pklz") else open + with SoftFileLock("%s.lock" % filename): + with pklopen(filename, "wb") as pkl_file: if versioning: from nipype import __version__ as version - metadata = json.dumps({'version': version}) - pkl_file.write(metadata.encode('utf-8')) - pkl_file.write('\n'.encode('utf-8')) + metadata = json.dumps({"version": version}) + + pkl_file.write(metadata.encode("utf-8")) + pkl_file.write("\n".encode("utf-8")) pickle.dump(record, pkl_file) -rst_levels = ['=', '-', '~', '+'] +rst_levels = ["=", "-", "~", "+"] def write_rst_header(header, level=0): - return '\n'.join( - (header, ''.join([rst_levels[level] for _ in header]))) + '\n\n' + return "\n".join((header, "".join([rst_levels[level] for _ in header]))) + "\n\n" -def write_rst_list(items, prefix=''): +def write_rst_list(items, prefix=""): out = [] for item in items: - out.append('{} {}'.format(prefix, str(item))) - return '\n'.join(out) + '\n\n' + out.append("{} {}".format(prefix, str(item))) + return "\n".join(out) + "\n\n" -def write_rst_dict(info, prefix=''): +def write_rst_dict(info, prefix=""): out = [] for key, value in sorted(info.items()): - out.append('{}* {} : {}'.format(prefix, key, str(value))) - return '\n'.join(out) + '\n\n' + out.append("{}* {} : {}".format(prefix, key, str(value))) + return "\n".join(out) + "\n\n" def dist_is_editable(dist): @@ -724,7 +740,7 @@ def dist_is_editable(dist): # Borrowed from `pip`'s' API """ for path_item in sys.path: - egg_link = op.join(path_item, dist + '.egg-link') + egg_link = op.join(path_item, dist + ".egg-link") if op.isfile(egg_link): return True return False @@ -754,11 +770,12 @@ def emptydirs(path, noexist_ok=False): elcont = os.listdir(path) if ex.errno == errno.ENOTEMPTY and not elcont: fmlogger.warning( - 'An exception was raised trying to remove old %s, but the path' - ' seems empty. Is it an NFS mount?. Passing the exception.', - path) + "An exception was raised trying to remove old %s, but the path" + " seems empty. Is it an NFS mount?. Passing the exception.", + path, + ) elif ex.errno == errno.ENOTEMPTY and elcont: - fmlogger.debug('Folder %s contents (%d items).', path, len(elcont)) + fmlogger.debug("Folder %s contents (%d items).", path, len(elcont)) raise ex else: raise ex @@ -798,11 +815,11 @@ def which(cmd, env=None, pathext=None): """ if pathext is None: - pathext = os.getenv('PATHEXT', '').split(os.pathsep) - pathext.insert(0, '') + pathext = os.getenv("PATHEXT", "").split(os.pathsep) + pathext.insert(0, "") path = os.getenv("PATH", os.defpath) - if env and 'PATH' in env: + if env and "PATH" in env: path = env.get("PATH") for ext in pathext: @@ -819,27 +836,25 @@ def get_dependencies(name, environ): """ command = None - if sys.platform == 'darwin': - command = 'otool -L `which %s`' % name - elif 'linux' in sys.platform: - command = 'ldd `which %s`' % name + if sys.platform == "darwin": + command = "otool -L `which %s`" % name + elif "linux" in sys.platform: + command = "ldd `which %s`" % name else: - return 'Platform %s not supported' % sys.platform + return "Platform %s not supported" % sys.platform deps = None try: proc = sp.Popen( - command, - stdout=sp.PIPE, - stderr=sp.PIPE, - shell=True, - env=environ) + command, stdout=sp.PIPE, stderr=sp.PIPE, shell=True, env=environ + ) o, e = proc.communicate() deps = o.rstrip() except Exception as ex: deps = '"%s" failed' % command - fmlogger.warning('Could not get dependencies of %s. Error:\n%s', - name, ex.message) + fmlogger.warning( + "Could not get dependencies of %s. Error:\n%s", name, ex.message + ) return deps @@ -859,15 +874,15 @@ def canonicalize_env(env): Windows: environment dictionary with bytes keys and values Other: untouched input ``env`` """ - if os.name != 'nt': + if os.name != "nt": return env out_env = {} for key, val in env.items(): if not isinstance(key, bytes): - key = key.encode('utf-8') + key = key.encode("utf-8") if not isinstance(val, bytes): - val = val.encode('utf-8') + val = val.encode("utf-8") out_env[key] = val return out_env @@ -890,11 +905,13 @@ def relpath(path, start=None): unc_path, rest = op.splitunc(path) unc_start, rest = op.splitunc(start) if bool(unc_path) ^ bool(unc_start): - raise ValueError(("Cannot mix UNC and non-UNC paths " - "(%s and %s)") % (path, start)) + raise ValueError( + ("Cannot mix UNC and non-UNC paths " "(%s and %s)") % (path, start) + ) else: - raise ValueError("path is on drive %s, start on drive %s" % - (path_list[0], start_list[0])) + raise ValueError( + "path is on drive %s, start on drive %s" % (path_list[0], start_list[0]) + ) # Work out how much of the filepath is shared by start and path. for i in range(min(len(start_list), len(path_list))): if start_list[i].lower() != path_list[i].lower(): From 39fbd5411a844ce7c023964d3295eb7643b95af5 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Tue, 12 Nov 2019 10:38:32 -0500 Subject: [PATCH 28/28] FIX: Missed merge issue --- nipype/interfaces/tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/interfaces/tests/test_io.py b/nipype/interfaces/tests/test_io.py index 8bdda68951..1b718f0533 100644 --- a/nipype/interfaces/tests/test_io.py +++ b/nipype/interfaces/tests/test_io.py @@ -15,7 +15,7 @@ import nipype.interfaces.io as nio from nipype.interfaces.base.traits_extension import isdefined from nipype.interfaces.base import Undefined, TraitError -from nipype.utils.filemanip import dist_is_editable, FileExistsError +from nipype.utils.filemanip import dist_is_editable # Check for boto noboto = False