Skip to content

Commit fea4dea

Browse files
committed
Added grad_dev input to BEDPOSTX5 interface
2 parents 92538b9 + 53cf6f8 commit fea4dea

File tree

1,177 files changed

+43156
-18976
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,177 files changed

+43156
-18976
lines changed

.gitignore

Lines changed: 8 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
@@ -17,3 +18,10 @@
1718
.DS_Store
1819
nipype/testing/data/von-ray_errmap.nii.gz
1920
nipype/testing/data/von_errmap.nii.gz
21+
crash*.pklz
22+
.coverage
23+
htmlcov/
24+
__pycache__/
25+
*~
26+
.ipynb_checkpoints/
27+
.ruby-version

.noserc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[nosetests]
2+
verbosity=3
3+
4+
with-coverage=1
5+
cover-branches=1
6+
cover-xml=1
7+
cover-xml-file=./coverage.xml
8+
cover-min-percentage=50
9+
10+
11+
with-xunit=1

.travis.yml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,62 @@ cache:
33
language: python
44
python:
55
- 2.7
6+
- 3.4
7+
- 3.5
68
env:
79
- INSTALL_DEB_DEPENDECIES=true
810
- INSTALL_DEB_DEPENDECIES=false
911
before_install:
10-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
11-
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh
12+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
13+
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
1214
-O miniconda.sh; fi
1315
- chmod +x miniconda.sh
1416
- "./miniconda.sh -b"
15-
- export PATH=/home/travis/miniconda/bin:$PATH
17+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda2/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
1618
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
1719
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
18-
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh);
19-
fi
20+
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
21+
- sudo apt-get update
22+
- sudo apt-get install xvfb
2023
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends
2124
fsl afni elastix; fi
2225
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
2326
fi
2427
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
28+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
29+
- export FSLOUTPUTTYPE=NIFTI_GZ
30+
# Install vtk and fix numpy installation problem
31+
# Fix numpy problem: https://github.com/enthought/enable/issues/34#issuecomment-2029381
32+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then travis_retry sudo apt-get install -qq libx11-dev swig;
33+
echo '[x11]' >> $HOME/.numpy-site.cfg;
34+
echo 'library_dirs = /usr/lib64:/usr/lib:/usr/lib/x86_64-linux-gnu' >> $HOME/.numpy-site.cfg;
35+
echo 'include_dirs = /usr/include:/usr/include/X11' >> $HOME/.numpy-site.cfg;
36+
fi
2537
install:
38+
- sudo apt-get install fusefat
2639
- conda update --yes conda
2740
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
2841
- source activate testenv
2942
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
30-
- conda install --yes numpy scipy nose traits networkx dateutil
31-
- pip install nibabel
43+
- conda install --yes numpy scipy nose networkx python-dateutil
44+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
45+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
3246
- pip install python-coveralls
3347
- pip install nose-cov
34-
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
35-
- pip install https://github.com/trungdong/prov/archive/rdf.zip
48+
# Add tvtk (PIL is required by blockcanvas)
49+
# Install mayavi (see https://github.com/enthought/mayavi/issues/271)
50+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
51+
pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz;
52+
pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools;
53+
pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas;
54+
pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy;
55+
pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip;
56+
pip install -e git+https://github.com/enthought/ets.git#egg=ets;
57+
fi
58+
- pip install -r requirements.txt # finish remaining requirements
3659
- python setup.py install
3760
script:
38-
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
61+
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-cov --cover-package nipype --cov-config .coveragerc --logging-level=DEBUG --verbosity=3
3962
after_success:
4063
- coveralls --config_file .coveragerc
4164
deploy:

CHANGES

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
1-
Next Release
1+
Release 0.12.0-rc1 (April 20, 2016)
22
============
33

4+
* ENH: ResourceMultiProc plugin to support resource allocation (https://github.com/nipy/nipype/pull/1372)
5+
* ENH: Added dcm2niix interface (https://github.com/nipy/nipype/pull/1435)
6+
* ENH: Add nipype_crash_search command (https://github.com/nipy/nipype/pull/1422)
7+
* ENH: Created interface for BrainSuite Cortical Surface Extraction command line tools (https://github.com/nipy/nipype/pull/1305)
8+
* FIX: job execution on systems/approaches where locale is undefined (https://github.com/nipy/nipype/pull/1401)
9+
* FIX: Clean up byte/unicode issues using subprocess (https://github.com/nipy/nipype/pull/1394)
10+
* FIX: Prevent crash when tvtk is loaded - ETS_TOOLKIT=null (https://github.com/nipy/nipype/pull/973)
11+
* ENH: New interfaces in dipy: RESTORE, EstimateResponseSH, CSD and StreamlineTractography
12+
(https://github.com/nipy/nipype/pull/1090)
13+
* ENH: Added interfaces of AFNI (https://github.com/nipy/nipype/pull/1360,
14+
https://github.com/nipy/nipype/pull/1361, https://github.com/nipy/nipype/pull/1382)
15+
* ENH: Provides a Nipype wrapper for antsJointFusion (https://github.com/nipy/nipype/pull/1351)
16+
* ENH: Added support for PETPVC (https://github.com/nipy/nipype/pull/1335)
17+
* ENH: Merge S3DataSink into DataSink, added AWS documentation (https://github.com/nipy/nipype/pull/1316)
18+
* TST: Cache APT in CircleCI (https://github.com/nipy/nipype/pull/1333)
19+
* ENH: Add new flags to the BRAINSABC for new features (https://github.com/nipy/nipype/pull/1322)
20+
* ENH: Provides a Nipype wrapper for ANTs DenoiseImage (https://github.com/nipy/nipype/pull/1291)
21+
* FIX: Minor bugfix logging hash differences (https://github.com/nipy/nipype/pull/1298)
22+
* FIX: Use released Prov python library (https://github.com/nipy/nipype/pull/1279)
23+
* ENH: Support for Python 3 (https://github.com/nipy/nipype/pull/1221)
24+
* FIX: VTK version check missing when using tvtk (https://github.com/nipy/nipype/pull/1219)
25+
* ENH: Added an OAR scheduler plugin (https://github.com/nipy/nipype/pull/1259)
26+
* ENH: New ANTs interface: antsBrainExtraction (https://github.com/nipy/nipype/pull/1231)
27+
* API: Default model level for the bedpostx workflow has been set to "2" following FSL 5.0.9 lead
28+
* ENH: New interfaces for interacting with AWS S3: S3DataSink and S3DataGrabber (https://github.com/nipy/nipype/pull/1201)
29+
* ENH: Interfaces for MINC tools (https://github.com/nipy/nipype/pull/1304)
30+
* FIX: Use realpath to determine hard link source (https://github.com/nipy/nipype/pull/1388)
31+
* FIX: Correct linking/copying fallback behavior (https://github.com/nipy/nipype/pull/1391)
32+
* ENH: Nipype workflow and interfaces for FreeSurfer's recon-all (https://github.com/nipy/nipype/pull/1326)
33+
* FIX: Permit relative path for concatenated_file input to Concatenate() (https://github.com/nipy/nipype/pull/1411)
34+
* ENH: Makes ReconAll workflow backwards compatible with FreeSurfer 5.3.0 (https://github.com/nipy/nipype/pull/1434)
35+
* ENH: Added interfaces for AFNI 3dDegreeCentrality, 3dECM, 3dLFCD, 3dClipLevel, 3dmask_tool, and 3dSeg
36+
(https://github.com/nipy/nipype/pull/1460)
37+
438
Release 0.11.0 (September 15, 2015)
539
============
640

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
When opening a new Issue, please take the following steps:
2121

22-
1. Search GitHub and/or [Neurostars](neurostars.org) for your issue to avoid duplicate reports.
22+
1. Search GitHub and/or [Neurostars](http://neurostars.org) for your issue to avoid duplicate reports.
2323
Keyword searches for your error messages are most helpful.
2424
2. If possible, try updating to master and reproducing your issue,
2525
because we may have already fixed it.

LICENSE

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
1-
Copyright (c) 2009-2014, NIPY Developers
2-
All rights reserved.
1+
Copyright (c) 2009-2016, Nipype developers
32

4-
Redistribution and use in source and binary forms, with or without
5-
modification, are permitted provided that the following conditions are
6-
met:
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
76

8-
* Redistributions of source code must retain the above copyright
9-
notice, this list of conditions and the following disclaimer.
7+
http://www.apache.org/licenses/LICENSE-2.0
108

11-
* Redistributions in binary form must reproduce the above
12-
copyright notice, this list of conditions and the following
13-
disclaimer in the documentation and/or other materials provided
14-
with the distribution.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
1514

16-
* Neither the name of the NIPY Developers nor the names of any
17-
contributors may be used to endorse or promote products derived
18-
from this software without specific prior written permission.
19-
20-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
Prior to release 0.12, Nipype was licensed under a BSD license.

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ sdist: zipdoc
1515
python setup.py sdist
1616
@echo "Done building source distribution."
1717
# XXX copy documentation.zip to dist directory.
18-
# XXX Somewhere the doc/_build directory is removed and causes
19-
# this script to fail.
2018

2119
egg: zipdoc
2220
@echo "Building egg..."
@@ -45,7 +43,10 @@ clean-build:
4543
clean-ctags:
4644
rm -f tags
4745

48-
clean: clean-build clean-pyc clean-so clean-ctags
46+
clean-doc:
47+
rm -rf doc/_build
48+
49+
clean: clean-build clean-pyc clean-so clean-ctags clean-doc
4950

5051
in: inplace # just a shortcut
5152
inplace:
@@ -66,7 +67,7 @@ test: clean test-code
6667

6768
html:
6869
@echo "building docs"
69-
make -C doc clean html
70+
make -C doc clean htmlonly
7071

7172
specs:
7273
@echo "Checking specs and autogenerating spec tests"

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ NIPYPE: Neuroimaging in Python: Pipelines and Interfaces
3434
:target: https://pypi.python.org/pypi/nipype/
3535
:alt: License
3636

37+
.. image:: https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat
38+
:target: http://gitter.im/nipy/nipype
39+
:alt: Chat
40+
3741
Current neuroimaging software offer users an incredible opportunity to
3842
analyze data using a variety of different algorithms. However, this has
3943
resulted in a heterogeneous collection of specialized applications

THANKS.rst

Lines changed: 10 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,22 @@
11
.. -*- mode: rst -*-
22
3-
43
Code contributors
54
-----------------
6-
Contributors to Nipype include but are not limited to:
7-
8-
.. hlist::
95

10-
* Aimi Watanabe
11-
* Alexander Schaefer
12-
* Alexandre Gramfort
13-
* Anisha Keshavan
14-
* Ariel Rokem
15-
* Ben Acland
16-
* Basile Pinsard
17-
* Brendan Moloney
18-
* Brian Cheung
19-
* Charl Linssen
20-
* Chris Filo Gorgolewski
21-
* Chris Steele
22-
* Christian Haselgrove
23-
* Christopher Burns
24-
* Cindee Madison
25-
* Claire Tarbert
26-
* Colin Buchanan
27-
* Daniel Ginsburg
28-
* Daniel Haehn
29-
* Daniel Margulies
30-
* Dav Clark
31-
* David Welch
32-
* Drew Erickson
33-
* Erik Kastman
34-
* Félix C. Morency
35-
* Gael Varoquaux
36-
* Hans Johnson
37-
* Janosch Linkersdörfer
38-
* Januzz
39-
* Jarrod Millman
40-
* Jeff Lai
41-
* Jessica Forbes
42-
* John Salvatore
43-
* Lijie Huang
44-
* Michael Hallquist
45-
* Michael Hanke
46-
* Michael Notter
47-
* Michael Waskom
48-
* Nolan Nichols
49-
* Oliver Hinds
50-
* Oscar Esteban
51-
* Rosalia Tungaraza
52-
* Satrajit Ghosh
53-
* Sharad Sikka
54-
* Stephan Gerhard
55-
* Erik Ziegler
56-
* Valentin Haenel
57-
* Xiangzhen Kong
58-
* Xu Wang
59-
* Yannick Schwartz
60-
* Yaroslav O. Halchenko
6+
See `Github contributors list <https://github.com/nipy/nipype/graphs/contributors>`__.
617

62-
For full most up to date list see `Ohloh <https://www.ohloh.net/p/nipype/contributors>`__.
8+
Funding
9+
-------
6310

64-
Other contributors
65-
------------------
11+
Nipype is currently supported by `1R01EB020740-01A1 Nipype: Dataflows for Reproducible Biomedical Research <https://projectreporter.nih.gov/project_info_description.cfm?aid=9053094>`__.
6612

67-
.. hlist::
13+
Satrajit Ghosh work on this project was partially funded by NIBIB `R03EB008673 <https://projectreporter.nih.gov/project_info_description.cfm?aid=7501200>`__ and by the `INCF <http://www.incf.org>`__ through a contract with TankThink Labs, LLC.
14+
Chris Burns was supported by NIMH grant `5R01MH081909-02 Continued Development and Maintenance of the Neuroimaging in Python Project <https://projectreporter.nih.gov/project_info_description.cfm?aid=7288112>`__. Hans Jonson was supported by
15+
`2 U54 EB005149 - 06 Core 2b Huntington's Disease - Driving Biological Project <http://projectreporter.nih.gov/project_info_description.cfm?aid=8153616>`__,
16+
`S10 RR023392 Enterprise Storage In A Collaborative Neuroimaging Environment <http://projectreporter.nih.gov/project_info_description.cfm?aid=7209718>`__,
17+
`R01 NS040068 Neurobiological Predictors of Huntington's Disease <http://projectreporter.nih.gov/project_info_description.cfm?aid=6266377>`__,
18+
and `UL1 TR000442 University of Iowa Clinical and Translational Science Program <http://projectreporter.nih.gov/project_info_description.cfm?aid=8467220>`__.
6819

69-
* Matthew Brett
70-
* Michael Castelle
71-
* Philippe Ciuciu
72-
* Yann Cointepas
73-
* Mark D'Esposito
74-
* Susan Gabrieli
75-
* Brian Hawthorne
76-
* Tim Leslie
77-
* Fernando Perez
78-
* Tyler Perrachione
79-
* Jean-Baptiste Poline
80-
* Alexis Roche
81-
* Denis Riviere
82-
* Gretchen Reynolds
83-
* Jonathan Taylor
84-
* Bertrand Thirion
85-
* Bernjamin Thyreau
86-
* Mike Trumpis
87-
* Karl Young
88-
* Tom Waite
8920

9021
We would also like to thank `JetBrains <http://www.jetbrains.com/>`__ for providing `Pycharm <http://www.jetbrains.com/pycharm/>`__ licenses.
9122

92-
Funding
93-
-------
94-
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>`__,
99-
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>`__.
100-

Vagrantfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,20 @@ $script = <<SCRIPT
2020
# qconf -aattr queue slots "2, [neuro=3]" main.q
2121
2222
# install anaconda
23-
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
23+
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
2424
chmod +x miniconda.sh
2525
./miniconda.sh -b
26-
echo "export PATH=$HOME/miniconda/bin:\\$PATH" >> .bashrc
26+
echo "export PATH=$HOME/miniconda3/bin:\\$PATH" >> .bashrc
2727
2828
# install nipype dependencies
29-
$HOME/miniconda/bin/conda update --yes conda
30-
$HOME/miniconda/bin/conda install --yes pip numpy scipy nose traits networkx
31-
$HOME/miniconda/bin/conda install --yes dateutil ipython-notebook matplotlib
32-
$HOME/miniconda/bin/pip install nibabel --use-mirrors
33-
$HOME/miniconda/bin/pip install https://github.com/RDFLib/rdflib/archive/master.zip
34-
$HOME/miniconda/bin/pip install https://github.com/trungdong/prov/archive/rdf.zip
35-
$HOME/miniconda/bin/pip install https://github.com/nipy/nipype/archive/master.zip
29+
$HOME/miniconda3/bin/conda update --yes conda
30+
$HOME/miniconda3/bin/conda install --yes pip scipy nose networkx lxml future simplejson
31+
$HOME/miniconda3/bin/conda install --yes python-dateutil jupyter matplotlib
32+
$HOME/miniconda3/bin/pip install nibabel
33+
$HOME/miniconda3/bin/pip install prov
34+
$HOME/miniconda3/bin/pip install xvfbwrapper
35+
$HOME/miniconda3/bin/pip install traits
36+
$HOME/miniconda3/bin/pip install https://github.com/nipy/nipype/archive/master.zip
3637
SCRIPT
3738

3839
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

0 commit comments

Comments
 (0)