Skip to content

Commit 69bc007

Browse files
committed
Merge branch 'master' into ants-jacobian
2 parents 67fa623 + f3e7d50 commit 69bc007

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+4424
-3610
lines changed

.travis.yml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,41 @@ python:
66
- 3.4
77
- 3.5
88
env:
9-
- INSTALL_DEB_DEPENDECIES=true
10-
- INSTALL_DEB_DEPENDECIES=false
11-
- INSTALL_DEB_DEPENDECIES=true DUECREDIT_ENABLE=yes
9+
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler"
10+
- INSTALL_DEB_DEPENDECIES=false NIPYPE_EXTRAS="doc,tests,fmri,profiler"
11+
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler,duecredit"
1212
before_install:
13-
- wget http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
14-
-O /home/travis/.cache/miniconda.sh
15-
- bash /home/travis/.cache/miniconda.sh -b -p /home/travis/miniconda
16-
- export PATH=/home/travis/miniconda/bin:$PATH
17-
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
18-
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
19-
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
20-
- sudo apt-get -y update
21-
- sudo apt-get -y install xvfb fusefat
22-
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -y -qq
23-
fsl afni elastix fsl-atlases; fi
24-
- if $INSTALL_DEB_DEPENDECIES; then
25-
source /etc/fsl/fsl.sh;
26-
source /etc/afni/afni.sh; fi
27-
- export FSLOUTPUTTYPE=NIFTI_GZ
13+
- function bef_inst {
14+
wget http://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
15+
-O /home/travis/.cache/miniconda.sh &&
16+
bash /home/travis/.cache/miniconda.sh -b -p /home/travis/miniconda &&
17+
export PATH=/home/travis/miniconda/bin:$PATH &&
18+
if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi &&
19+
if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi &&
20+
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh) &&
21+
sudo apt-get -y update &&
22+
sudo apt-get -y install xvfb fusefat &&
23+
if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -y -qq
24+
fsl afni elastix fsl-atlases; fi &&
25+
if $INSTALL_DEB_DEPENDECIES; then
26+
source /etc/fsl/fsl.sh;
27+
source /etc/afni/afni.sh;
28+
export FSLOUTPUTTYPE=NIFTI_GZ; fi }
29+
- travis_retry bef_inst
2830
install:
29-
- conda config --add channels conda-forge
30-
- conda update --yes conda
31-
- conda update --all -y python=$TRAVIS_PYTHON_VERSION
32-
# - if [[ "${INSTALL_DEB_DEPENDECIES}" == "true" && ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]]; then
33-
# conda install -y vtk mayavi; fi
34-
- conda install -y nipype matplotlib nitime
35-
- pip install python-coveralls coverage doctest-ignore-unicode
36-
- if [ ! -z "$DUECREDIT_ENABLE"]; then pip install duecredit; fi
37-
- rm -r /home/travis/miniconda/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype*
38-
- pip install -r requirements.txt
39-
- pip install -e .
40-
- export COVERAGE_PROCESS_START=$(pwd)/.coveragerc
41-
- export COVERAGE_DATA_FILE=$(pwd)/.coverage
42-
- echo "data_file = ${COVERAGE_DATA_FILE}" >> ${COVERAGE_PROCESS_START}
31+
# Add install of vtk and mayavi to test mesh (disabled): conda install -y vtk mayavi &&
32+
- function inst {
33+
conda config --add channels conda-forge &&
34+
conda update --yes conda &&
35+
conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
36+
conda install -y nipype &&
37+
rm -r /home/travis/miniconda/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype* &&
38+
pip install -r requirements.txt &&
39+
pip install -e .[$NIPYPE_EXTRAS] &&
40+
export COVERAGE_PROCESS_START=$(pwd)/.coveragerc &&
41+
export COVERAGE_DATA_FILE=$(pwd)/.coverage &&
42+
echo "data_file = ${COVERAGE_DATA_FILE}" >> ${COVERAGE_PROCESS_START}; }
43+
- travis_retry inst
4344
script:
4445
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-doctest-ignore-unicode --with-cov --cover-package nipype --logging-level=DEBUG --verbosity=3
4546
after_success:

CHANGES

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
Upcoming release 0.13
22
=====================
33

4+
* REF: Refactor AFNI interfaces (https://github.com/nipy/nipype/pull/1678)
5+
* ENH: Move nipype commands to group command using click (https://github.com/nipy/nipype/pull/1608)
6+
* FIX: AFNI Retroicor interface fixes (https://github.com/nipy/nipype/pull/1669)
7+
* FIX: Minor errors after migration to setuptools (https://github.com/nipy/nipype/pull/1671)
8+
* ENH: Add AFNI 3dNote interface (https://github.com/nipy/nipype/pull/1637)
9+
* ENH: Abandon distutils, only use setuptools (https://github.com/nipy/nipype/pull/1627)
10+
* FIX: Minor bugfixes related to unicode literals (https://github.com/nipy/nipype/pull/1656)
11+
* TST: Automatic retries in travis (https://github.com/nipy/nipype/pull/1659/files)
12+
* ENH: Add signal extraction interface (https://github.com/nipy/nipype/pull/1647)
413
* ENH: Add a DVARS calculation interface (https://github.com/nipy/nipype/pull/1606)
514
* ENH: New interface to b0calc of FSL-POSSUM (https://github.com/nipy/nipype/pull/1399)
15+
* ENH: Add CompCor (https://github.com/nipy/nipype/pull/1599)
16+
* ENH: Add duecredit entries (https://github.com/nipy/nipype/pull/1466)
17+
* FIX: Python 3 compatibility fixes (https://github.com/nipy/nipype/pull/1572)
18+
* REF: Improved PEP8 compliance for fsl interfaces (https://github.com/nipy/nipype/pull/1597)
19+
* REF: Improved PEP8 compliance for spm interfaces (https://github.com/nipy/nipype/pull/1593)
20+
* TST: Replaced coveralls with codecov (https://github.com/nipy/nipype/pull/1609)
21+
* ENH: More BrainSuite interfaces (https://github.com/nipy/nipype/pull/1554)
622
* ENH: Convenient load/save of interface inputs (https://github.com/nipy/nipype/pull/1591)
723
* ENH: Add a Framewise Displacement calculation interface (https://github.com/nipy/nipype/pull/1604)
824
* FIX: Use builtins open and unicode literals for py3 compatibility (https://github.com/nipy/nipype/pull/1572)

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# rsync -e ssh nipype-0.1-py2.5.egg cburns,nipy@frs.sourceforge.net:/home/frs/project/n/ni/nipy/nipype/nipype-0.1/
44

55
PYTHON ?= python
6-
NOSETESTS ?= nosetests
6+
NOSETESTS=`which nosetests`
77

88
.PHONY: zipdoc sdist egg upload_to_pypi trailing-spaces clean-pyc clean-so clean-build clean-ctags clean in inplace test-code test-doc test-coverage test html specs check-before-commit check
99

@@ -56,7 +56,7 @@ inplace:
5656
$(PYTHON) setup.py build_ext -i
5757

5858
test-code: in
59-
$(NOSETESTS) -s nipype --with-doctest --with-doctest-ignore-unicode
59+
python -W once:FSL:UserWarning:nipype $(NOSETESTS) --with-doctest --with-doctest-ignore-unicode --logging-level=DEBUG --verbosity=3 nipype
6060

6161
test-doc:
6262
$(NOSETESTS) -s --with-doctest --with-doctest-ignore-unicode --doctest-tests --doctest-extension=rst \
@@ -66,7 +66,8 @@ test-coverage: clean-tests in
6666
$(NOSETESTS) -s --with-doctest --with-doctest-ignore-unicode --with-coverage --cover-package=nipype \
6767
--config=.coveragerc
6868

69-
test: clean test-code
69+
test: tests # just another name
70+
tests: clean test-code
7071

7172
html:
7273
@echo "building docs"

bin/nipype2boutiques

Lines changed: 0 additions & 8 deletions
This file was deleted.

bin/nipype_cmd

Lines changed: 0 additions & 8 deletions
This file was deleted.

bin/nipype_crash_search

Lines changed: 0 additions & 82 deletions
This file was deleted.

bin/nipype_display_crash

Lines changed: 0 additions & 85 deletions
This file was deleted.

bin/nipype_display_pklz

Lines changed: 0 additions & 36 deletions
This file was deleted.

circle.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
machine:
2+
environment:
3+
OSF_NIPYPE_URL: "https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
4+
DATA_NIPYPE_TUTORIAL_URL: "${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
5+
DATA_NIPYPE_FSL_COURSE: "${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
6+
DATA_NIPYPE_FSL_FEEDS: "${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
7+
28
services:
39
- docker
410

@@ -15,9 +21,9 @@ dependencies:
1521

1622
override:
1723
- mkdir -p ~/examples ~/scratch/nose ~/scratch/logs
18-
- if [[ ! -d ~/examples/nipype-tutorial ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q -O nipype-tutorial.tar.bz2 https://dl.dropbox.com/s/jzgq2nupxyz36bp/nipype-tutorial.tar.bz2 && tar xjf nipype-tutorial.tar.bz2 -C ~/examples/; fi
19-
- if [[ ! -d ~/examples/nipype-fsl_course_data ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q https://3552243d5be815c1b09152da6525cb8fe7b900a6.googledrive.com/host/0BxI12kyv2olZVUswazA3NkFvOXM/nipype-fsl_course_data.tar.gz && tar xzf nipype-fsl_course_data.tar.gz -C ~/examples/; fi
20-
- if [[ ! -d ~/examples/feeds ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q https://3552243d5be815c1b09152da6525cb8fe7b900a6.googledrive.com/host/0BxI12kyv2olZVUswazA3NkFvOXM/fsl-5.0.9-feeds.tar.gz && tar xzf fsl-5.0.9-feeds.tar.gz -C ~/examples/; fi
24+
- if [[ ! -d ~/examples/nipype-tutorial ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q -O nipype-tutorial.tar.bz2 "${DATA_NIPYPE_TUTORIAL_URL}" && tar xjf nipype-tutorial.tar.bz2 -C ~/examples/; fi
25+
- if [[ ! -d ~/examples/nipype-fsl_course_data ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q -O nipype-fsl_course_data.tar.gz "${DATA_NIPYPE_FSL_COURSE}" && tar xzf nipype-fsl_course_data.tar.gz -C ~/examples/; fi
26+
- if [[ ! -d ~/examples/feeds ]]; then wget --retry-connrefused --waitretry=5 --read-timeout=20 --timeout=15 -t 0 -q -O fsl-5.0.9-feeds.tar.gz "${DATA_NIPYPE_FSL_FEEDS}" && tar xzf fsl-5.0.9-feeds.tar.gz -C ~/examples/; fi
2127
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
2228
- docker build -f docker/nipype_test/Dockerfile_py35 -t nipype/nipype_test:py35 . :
2329
timeout: 1600

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h3>{{ _('Links') }}</h3>
66
<li>Code: <a href="http://github.com/nipy/nipype">Github</a> · <a href="http://github.com/nipy/nipype/issues">Bugs-Requests</a></li>
77
<li>Forum: <a href="http://neurostars.org/t/nipype">User</a> · <a href="http://projects.scipy.org/mailman/listinfo/nipy-devel">Developer</a></li>
88
<li><a href="about.html#funding">Funding</a> · <a href="http://nipy.org/software/license/index.html"><img src="https://img.shields.io/pypi/l/nipype.svg" alt="License"></a></li>
9-
<li><a href="https://travis-ci.org/nipy/nipype"><img src="https://travis-ci.org/nipy/nipype.png?branch=master" alt="travis"></a> · <a href='https://coveralls.io/r/nipy/nipype'><img src='https://coveralls.io/repos/nipy/nipype/badge.png' alt='Coverage Status' /></a></li>
9+
<li><a href="https://travis-ci.org/nipy/nipype"><img src="https://travis-ci.org/nipy/nipype.png?branch=master" alt="travis"></a> · <a href='https://codecov.io/gh/nipy/nipype'><img src='https://codecov.io/gh/nipy/nipype/branch/master/graph/badge.svg' alt='Coverage Status' /></a></li>
1010
<a href='https://pypi.python.org/pypi/nipype/'><img src='https://img.shields.io/pypi/pyversions/nipype.svg' alt='Python Versions' /></a></li>
1111
</ul>
1212

0 commit comments

Comments
 (0)