Skip to content

Commit a70bcb3

Browse files
committed
Merge branch 'master' into enh/NewDipyInterfaces
2 parents 1e026e9 + 74f8b78 commit a70bcb3

File tree

1,151 files changed

+39500
-17093
lines changed

Some content is hidden

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

1,151 files changed

+39500
-17093
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/nipype/build
66
/nipype/nipype.egg-info
77
/doc/_build
8+
/doc/preproc
89
/doc/users/examples
910
/doc/api/generated
1011
*.pyc
@@ -14,3 +15,9 @@
1415
.pydevproject
1516
.idea/
1617
/documentation.zip
18+
.DS_Store
19+
nipype/testing/data/von-ray_errmap.nii.gz
20+
nipype/testing/data/von_errmap.nii.gz
21+
crash*.pklz
22+
.coverage
23+
htmlcov/

.mailmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Cindee Madison <cindee@berkeley.edu> cindeem
44
Chris Filo Gorgolewski <chris.gorgolewski@gmail.com> filo <filo@filo-Precision-M6500>
55
Chris Filo Gorgolewski <chris.gorgolewski@gmail.com> Krzysztof Gorgolewski <krzysztof.gorgolewski@gmail.com>
66
Erik Ziegler <erik.ziegler@ulg.ac.be> erikz <erik.ziegler@ulg.ac.be>
7-
Michael Waskom <mwaskom@stanford.edu> mwaskom <mwaskom@stanford.edu> Michael Waskom <mwaskom@mit.edu> mwaskom <mwaskom@mit.edu>
7+
Michael Waskom <mwaskom@stanford.edu> mwaskom <mwaskom@stanford.edu> Michael Waskom <mwaskom@mit.edu> mwaskom <mwaskom@mit.edu>
88
Gael Varoquaux <gael.varoquaux@normalesup.org> GaelVaroquaux
99
Gael Varoquaux <gael.varoquaux@normalesup.org> GaelVaroquaux <gael.varoquaux@noramlesup.org>
1010
Daniel Ginsburg <daniel.ginsburg@childrens.harvard.edu> danginsburg <daniel.ginsburg@childrens.harvard.edu>

.travis.yml

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,51 @@
11
cache:
2-
- apt
2+
- apt
33
language: python
44
python:
5-
- 2.7
5+
- 2.7
6+
- 3.4
67
env:
7-
- INSTALL_DEB_DEPENDECIES=true
8-
- INSTALL_DEB_DEPENDECIES=false
9-
# Setup anaconda
8+
- INSTALL_DEB_DEPENDECIES=true
9+
- INSTALL_DEB_DEPENDECIES=false
1010
before_install:
11-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh -O miniconda.sh; fi
12-
- chmod +x miniconda.sh
13-
- ./miniconda.sh -b
14-
- export PATH=/home/travis/miniconda/bin:$PATH
15-
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
16-
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
17-
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh); fi
18-
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends fsl afni elastix; fi
19-
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases; fi
20-
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
21-
22-
# Install packages
11+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
12+
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
13+
-O miniconda.sh; fi
14+
- chmod +x miniconda.sh
15+
- "./miniconda.sh -b"
16+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda2/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
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+
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh);
20+
fi
21+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends
22+
fsl afni elastix; fi
23+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
24+
fi
25+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
26+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
2327
install:
24-
- conda update --yes conda
25-
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
26-
- source activate testenv
27-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
28-
- conda install --yes numpy scipy nose traits networkx dateutil
29-
- pip install nibabel --use-mirrors
30-
- pip install python-coveralls --use-mirrors
31-
- pip install nose-cov --use-mirrors
32-
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
33-
- pip install https://github.com/trungdong/prov/archive/rdf.zip
34-
- python setup.py install
35-
36-
# Run test
28+
- conda update --yes conda
29+
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
30+
- source activate testenv
31+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
32+
- conda install --yes numpy scipy nose networkx dateutil
33+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
34+
- pip install python-coveralls
35+
- pip install nose-cov
36+
- pip install -r requirements.txt # finish remaining requirements
37+
- python setup.py install
3738
script:
38-
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
39-
40-
# Calculate coverage
39+
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-cov --cover-package nipype --cov-config .coveragerc --logging-level=INFO
4140
after_success:
42-
- coveralls --config_file .coveragerc
41+
- coveralls --config_file .coveragerc
42+
deploy:
43+
provider: pypi
44+
user: satra
45+
password:
46+
secure: OCO0FXb4f+pH4Uw7zWCIRp3qOJ1t7rhky4K8MjNU8tyVCJgd6O/Bv8GJgceS0LktPodlAAjB8SxAhTORPAQZ1D/44PJYy3NQIisvej1zjLpaA9TEGfl6W7MqhDpRyMHW+cnSi/n84SAmdr+Z4vOxScDHdwr13EPmGyOIlHMAGnE=
47+
on:
48+
tags: true
49+
repo: nipy/nipype
50+
branch: master
51+
distributions: "sdist bdist_wheel"

CHANGES

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,44 @@ Next release
33

44
* ENH: New interfaces in dipy: RESTORE, EstimateResponseSH, CSD and StreamlineTractography
55
(https://github.com/nipy/nipype/pull/1090)
6+
* TST: Cache APT in CircleCI (https://github.com/nipy/nipype/pull/1333)
7+
* ENH: Add new flags to the BRAINSABC for new features (https://github.com/nipy/nipype/pull/1322)
8+
* ENH: Provides a Nipype wrapper for ANTs DenoiseImage (https://github.com/nipy/nipype/pull/1291)
9+
* FIX: Minor bugfix logging hash differences (https://github.com/nipy/nipype/pull/1298)
10+
* FIX: Use released Prov python library (https://github.com/nipy/nipype/pull/1279)
11+
* ENH: Support for Python 3 (https://github.com/nipy/nipype/pull/1221)
12+
* FIX: VTK version check missing when using tvtk (https://github.com/nipy/nipype/pull/1219)
13+
* ENH: Added an OAR scheduler plugin (https://github.com/nipy/nipype/pull/1259)
14+
* ENH: New ANTs interface: antsBrainExtraction (https://github.com/nipy/nipype/pull/1231)
15+
* API: Default model level for the bedpostx workflow has been set to "2" following FSL 5.0.9 lead
16+
* ENH: New interfaces for interacting with AWS S3: S3DataSink and S3DataGrabber (https://github.com/nipy/nipype/pull/1201)
17+
* ENH: Interfaces for MINC tools (https://github.com/nipy/nipype/pull/1304)
18+
19+
Release 0.11.0 (September 15, 2015)
20+
============
21+
22+
* API: Change how hash values are computed (https://github.com/nipy/nipype/pull/1174)
23+
* ENH: New algorithm: mesh.WarpPoints applies displacements fields to point sets
24+
(https://github.com/nipy/nipype/pull/889).
25+
* ENH: New interfaces for MRTrix3 (https://github.com/nipy/nipype/pull/1126)
26+
* ENH: New option in afni.3dRefit - zdel, ydel, zdel etc. (https://github.com/nipy/nipype/pull/1079)
27+
* FIX: ants.Registration composite transform outputs are no longer returned as lists (https://github.com/nipy/nipype/pull/1183)
28+
* BUG: ANTs Registration interface failed with multi-modal inputs
29+
(https://github.com/nipy/nipype/pull/1176) (https://github.com/nipy/nipype/issues/1175)
30+
* ENH: dipy.TrackDensityMap interface now accepts a reference image (https://github.com/nipy/nipype/pull/1091)
31+
* FIX: Bug in XFibres5 (https://github.com/nipy/nipype/pull/1168)
32+
* ENH: Attempt to use hard links for data sink.
33+
(https://github.com/nipy/nipype/pull/1161)
34+
* FIX: Updates to SGE Plugins
35+
(https://github.com/nipy/nipype/pull/1129)
36+
* ENH: Add ants JointFusion() node with testing
37+
(https://github.com/nipy/nipype/pull/1160)
38+
* ENH: Add --float option for antsRegistration calls
39+
(https://github.com/nipy/nipype/pull/1159)
40+
* ENH: Added interface to simulate DWIs using the multi-tensor model
41+
(https://github.com/nipy/nipype/pull/1085)
42+
* ENH: New interface for FSL fslcpgeom utility (https://github.com/nipy/nipype/pull/1152)
43+
* ENH: Added SLURMGraph plugin for submitting jobs to SLURM with dependencies (https://github.com/nipy/nipype/pull/1136)
644
* FIX: Enable absolute path definitions in DCMStack (https://github.com/nipy/nipype/pull/1089,
745
replaced by https://github.com/nipy/nipype/pull/1093)
846
* ENH: New mesh.MeshWarpMaths to operate on surface-defined warpings
@@ -14,6 +52,7 @@ Next release
1452
* FIX: FUGUE is now properly listing outputs. (https://github.com/nipy/nipype/pull/978)
1553
* ENH: Improved FieldMap-Based (FMB) workflow for correction of susceptibility distortions in EPI seqs.
1654
(https://github.com/nipy/nipype/pull/1019)
55+
* FIX: In the FSLXcommand _list_outputs function fixed for loop range (https://github.com/nipy/nipype/pull/1071)
1756
* ENH: Dropped support for now 7 years old Python 2.6 (https://github.com/nipy/nipype/pull/1069)
1857
* FIX: terminal_output is not mandatory anymore (https://github.com/nipy/nipype/pull/1070)
1958
* ENH: Added "nipype_cmd" tool for running interfaces from the command line (https://github.com/nipy/nipype/pull/795)
@@ -56,6 +95,12 @@ Next release
5695
* FIX: typo in nipype.interfaces.freesurfer.utils.py Tkregister2 (https://github.com/nipy/nipype/pull/1083)
5796
* FIX: SSHDataGrabber outputs now return full path to the grabbed/downloaded files. (https://github.com/nipy/nipype/pull/1086)
5897
* FIX: Add QA output for TSNR to resting workflow (https://github.com/nipy/nipype/pull/1088)
98+
* FIX: Change N4BiasFieldCorrection to use short tag for dimensionality (backward compatible) (https://github.com/nipy/nipype/pull/1096)
99+
* ENH: Added -newgrid input to Warp in AFNI (3dWarp wrapper) (https://github.com/nipy/nipype/pull/1128)
100+
* FIX: Fixed AFNI Copy interface to use positional inputs as required (https://github.com/nipy/nipype/pull/1131)
101+
* ENH: Added a check in Dcm2nii to check if nipype created the config.ini file and remove if true (https://github.com/nipy/nipype/pull/1132)
102+
* ENH: Use a while loop to wait for Xvfb (up to a max wait time "xvfb_max_wait" in config file, default 10)
103+
(https://github.com/nipy/nipype/pull/1142)
59104

60105
Release 0.10.0 (October 10, 2014)
61106
============

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ include doc/documentation.zip
1010
include nipype/COMMIT_INFO.txt
1111

1212
recursive-include doc *
13-
recursive-include matlabscripts *
1413
recursive-include tools *

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
PYTHON ?= python
66
NOSETESTS ?= nosetests
77

8+
.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
9+
810
zipdoc: html
911
zip documentation.zip doc/_build/html
1012

@@ -26,7 +28,7 @@ upload_to_pypi: zipdoc
2628
python setup.py sdist --formats=zip,gztar upload
2729

2830
trailing-spaces:
29-
find . -name "*.py" | xargs perl -pi -e 's/[ \t]*$$//'
31+
find . -name "*[.py|.rst]" -type f | xargs perl -pi -e 's/[ \t]*$$//'
3032
@echo "Reverting test_docparse"
3133
git checkout nipype/utils/tests/test_docparse.py
3234

@@ -70,6 +72,7 @@ specs:
7072
@echo "Checking specs and autogenerating spec tests"
7173
python tools/checkspecs.py
7274

75+
check: check-before-commit # just a shortcut
7376
check-before-commit: specs trailing-spaces html test
7477
@echo "removed spaces"
7578
@echo "built docs"

README.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,32 @@ NIPYPE: Neuroimaging in Python: Pipelines and Interfaces
55
.. image:: https://travis-ci.org/nipy/nipype.png?branch=master
66
:target: https://travis-ci.org/nipy/nipype
77

8+
.. image:: https://circleci.com/gh/nipy/nipype/tree/master.svg?style=svg
9+
:target: https://circleci.com/gh/nipy/nipype/tree/master
10+
811
.. image:: https://coveralls.io/repos/nipy/nipype/badge.png
912
:target: https://coveralls.io/r/nipy/nipype
1013

11-
.. image:: https://pypip.in/version/nipype/badge.png
14+
.. image:: https://www.codacy.com/project/badge/182f27944c51474490b369d0a23e2f32
15+
:target: https://www.codacy.com/app/krzysztof-gorgolewski/nipy_nipype
16+
17+
.. image:: https://img.shields.io/pypi/v/nipype.svg
1218
:target: https://pypi.python.org/pypi/nipype/
1319
:alt: Latest Version
1420

15-
.. image:: https://pypip.in/download/nipype/badge.png
21+
.. image:: https://img.shields.io/pypi/dm/nipype.svg
1622
:target: https://pypi.python.org/pypi/nipype/
1723
:alt: Downloads
1824

19-
.. image:: https://pypip.in/py_versions/nipype/badge.png
25+
.. image:: https://img.shields.io/pypi/pyversions/nipype.svg
2026
:target: https://pypi.python.org/pypi/nipype/
2127
:alt: Supported Python versions
2228

23-
.. image:: https://pypip.in/status/nipype/badge.png
29+
.. image:: https://img.shields.io/pypi/status/nipype.svg
2430
:target: https://pypi.python.org/pypi/nipype/
2531
:alt: Development Status
2632

27-
.. image:: https://pypip.in/license/nipype/badge.png
33+
.. image:: https://img.shields.io/pypi/l/nipype.svg
2834
:target: https://pypi.python.org/pypi/nipype/
2935
:alt: License
3036

@@ -64,7 +70,7 @@ Website
6470
-------
6571

6672
Information specific to Nipype is located here::
67-
73+
6874
http://nipy.org/nipype
6975

7076

@@ -75,12 +81,12 @@ If you have a problem or would like to ask a question about how to do something
7581
to `NeuroStars.org <http://neurostars.org>`_ with a *nipype* tag. `NeuroStars.org <http://neurostars.org>`_ is a platform similar to StackOverflow but dedicated to neuroinformatics. All previous Nipype questions are available here::
7682

7783
http://neurostars.org/t/nipype/
78-
7984

80-
To participate in the Nipype development related discussion please use the following mailing list::
81-
82-
http://projects.scipy.org/mailman/listinfo/nipy-devel
83-
85+
86+
To participate in the Nipype development related discussions please use the following mailing list::
87+
88+
http://mail.python.org/mailman/listinfo/neuroimaging
89+
8490
Please add *[nipype]* to the subject line when posting on the mailing list.
8591

8692

@@ -90,7 +96,7 @@ Nipype structure
9096
Currently Nipype consists of the following files and directories:
9197

9298
INSTALL
93-
NIPYPE prerequisites, installation, development, testing, and
99+
NIPYPE prerequisites, installation, development, testing, and
94100
troubleshooting.
95101

96102
README
@@ -124,5 +130,5 @@ There are interfaces to some GNU code but these are entirely optional.
124130
All trademarks referenced herein are property of their respective
125131
holders.
126132

127-
Copyright (c) 2009-2014, NIPY Developers
133+
Copyright (c) 2009-2015, NIPY Developers
128134
All rights reserved.

THANKS.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ Contributors to Nipype include but are not limited to:
1010
* Aimi Watanabe
1111
* Alexander Schaefer
1212
* Alexandre Gramfort
13+
* Alexandre Savio
1314
* Anisha Keshavan
1415
* Ariel Rokem
1516
* Ben Acland
17+
* Ben Cipollini
1618
* Basile Pinsard
1719
* Brendan Moloney
1820
* Brian Cheung
@@ -86,15 +88,15 @@ Other contributors
8688
* Mike Trumpis
8789
* Karl Young
8890
* Tom Waite
89-
91+
9092
We would also like to thank `JetBrains <http://www.jetbrains.com/>`__ for providing `Pycharm <http://www.jetbrains.com/pycharm/>`__ licenses.
91-
93+
9294
Funding
9395
-------
9496
Satrajit Ghosh work on this project was partially funded by NIBIB R03 EB008673 (PI: Ghosh and Whitfield-Gabrieli) and by the `INCF <http://www.incf.org>`__ through a contract with TankThink Labs, LLC.
95-
Chris Burns was supported by NIMH grant 5R01MH081909-02 (PI: Desposito). Hans Jonson was supported by
96-
`2 U54 EB005149 - 06 Core 2b Huntington's Disease - Driving Biological Project <http://projectreporter.nih.gov/project_info_description.cfm?aid=8153616&icde=16158743&ddparam=&ddvalue=&ddsub=&cr=18&csb=PT&cs=ASC>`__,
97-
`S10 RR023392 Enterprise Storage In A Collaborative Neuroimaging Environment <http://projectreporter.nih.gov/project_info_description.cfm?aid=7209718&icde=16158552&ddparam=&ddvalue=&ddsub=&cr=1&csb=default&cs=ASC>`__,
98-
`R01 NS040068 Neurobiological Predictors of Huntington's Disease <http://projectreporter.nih.gov/project_info_description.cfm?aid=6266377&icde=16158103>`__,
97+
Chris Burns was supported by NIMH grant 5R01MH081909-02 (PI: Desposito). Hans Jonson was supported by
98+
`2 U54 EB005149 - 06 Core 2b Huntington's Disease - Driving Biological Project <http://projectreporter.nih.gov/project_info_description.cfm?aid=8153616&icde=16158743&ddparam=&ddvalue=&ddsub=&cr=18&csb=PT&cs=ASC>`__,
99+
`S10 RR023392 Enterprise Storage In A Collaborative Neuroimaging Environment <http://projectreporter.nih.gov/project_info_description.cfm?aid=7209718&icde=16158552&ddparam=&ddvalue=&ddsub=&cr=1&csb=default&cs=ASC>`__,
100+
`R01 NS040068 Neurobiological Predictors of Huntington's Disease <http://projectreporter.nih.gov/project_info_description.cfm?aid=6266377&icde=16158103>`__,
99101
and `UL1 TR000442 University of Iowa Clinical and Translational Science Program <http://projectreporter.nih.gov/project_info_description.cfm?aid=8467220&icde=16159156&ddparam=&ddvalue=&ddsub=&cr=1&csb=default&cs=ASC>`__.
100102

bin/nipype2boutiques

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!python
2+
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
3+
# vi: set ft=python sts=4 ts=4 sw=4 et:
4+
import sys
5+
from nipype.utils.nipype2boutiques import main
6+
7+
if __name__ == '__main__':
8+
main(sys.argv)

bin/nipype_cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!python
22
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
33
# vi: set ft=python sts=4 ts=4 sw=4 et:
44
import sys

bin/nipype_display_crash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!python
22
"""Displays crash information from Nipype crash files. For certain crash files,
33
one can rerun a failed node in a temp directory.
44

0 commit comments

Comments
 (0)