Skip to content

Commit 3fdd693

Browse files
committed
Merge branch 'master' into enh/FSLb0calc
2 parents 4fb327c + cb207f8 commit 3fdd693

File tree

1,245 files changed

+163831
-21499
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,245 files changed

+163831
-21499
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
@@ -13,3 +14,10 @@
1314
.settings
1415
.pydevproject
1516
.idea/
17+
/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 <[email protected]> cindeem
44
Chris Filo Gorgolewski <[email protected]> filo <filo@filo-Precision-M6500>
55
Chris Filo Gorgolewski <[email protected]> Krzysztof Gorgolewski <[email protected]>
66
Erik Ziegler <[email protected]> erikz <[email protected]>
7-
Michael Waskom <[email protected]> mwaskom <[email protected]> Michael Waskom <[email protected]> mwaskom <[email protected]>
7+
Michael Waskom <[email protected]> mwaskom <[email protected]> Michael Waskom <[email protected]> mwaskom <[email protected]>
88
Gael Varoquaux <[email protected]> GaelVaroquaux
99
Gael Varoquaux <[email protected]> GaelVaroquaux <[email protected]>
1010
Daniel Ginsburg <[email protected]> danginsburg <[email protected]>

.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: 65 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,71 @@
1+
cache:
2+
- apt
13
language: python
24
python:
3-
- 2.6
4-
- 2.7
5-
# Setup anaconda
5+
- 2.7
6+
- 3.4
7+
env:
8+
- INSTALL_DEB_DEPENDECIES=true
9+
- INSTALL_DEB_DEPENDECIES=false
610
before_install:
7-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh -O miniconda.sh; fi
8-
- chmod +x miniconda.sh
9-
- ./miniconda.sh -b
10-
- export PATH=/home/travis/miniconda/bin:$PATH
11-
# The next couple lines fix a crash with multiprocessing on Travis
12-
- sudo rm -rf /dev/shm
13-
- sudo ln -s /run/shm /dev/shm
14-
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
15-
- travis_retry sudo apt-get install -qq --no-install-recommends fsl afni
16-
- travis_retry sudo apt-get install -qq fsl-atlases
17-
- source /etc/fsl/fsl.sh
18-
19-
# 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+
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
20+
- sudo apt-get update
21+
- sudo apt-get install xvfb
22+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends
23+
fsl afni elastix; fi
24+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
25+
fi
26+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
27+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
28+
- export FSLOUTPUTTYPE=NIFTI_GZ
29+
# Install vtk and fix numpy installation problem
30+
# Fix numpy problem: https://github.com/enthought/enable/issues/34#issuecomment-2029381
31+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then travis_retry sudo apt-get install -qq libx11-dev swig;
32+
echo '[x11]' >> $HOME/.numpy-site.cfg;
33+
echo 'library_dirs = /usr/lib64:/usr/lib:/usr/lib/x86_64-linux-gnu' >> $HOME/.numpy-site.cfg;
34+
echo 'include_dirs = /usr/include:/usr/include/X11' >> $HOME/.numpy-site.cfg;
35+
fi
2036
install:
21-
- conda update --yes conda
22-
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
23-
- source activate testenv
24-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
25-
- conda install --yes numpy scipy nose traits networkx dateutil
26-
- pip install nibabel --use-mirrors
27-
- pip install python-coveralls --use-mirrors
28-
- pip install nose-cov --use-mirrors
29-
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
30-
- pip install https://github.com/trungdong/prov/archive/rdf.zip
31-
- python setup.py install
32-
33-
# Run test
37+
- conda update --yes conda
38+
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
39+
- source activate testenv
40+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
41+
- conda install --yes numpy scipy nose networkx dateutil
42+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
43+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
44+
- pip install python-coveralls
45+
- pip install nose-cov
46+
# Add tvtk (PIL is required by blockcanvas)
47+
# Install mayavi (see https://github.com/enthought/mayavi/issues/271)
48+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
49+
pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz;
50+
pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools;
51+
pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas;
52+
pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy;
53+
pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip;
54+
pip install -e git+https://github.com/enthought/ets.git#egg=ets;
55+
fi
56+
- pip install -r requirements.txt # finish remaining requirements
57+
- python setup.py install
3458
script:
35-
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
36-
37-
# Calculate coverage
59+
- python -W once:FSL:UserWarning:nipype `which nosetests` --with-doctest --with-cov --cover-package nipype --cov-config .coveragerc --logging-level=INFO
3860
after_success:
39-
- coveralls --config_file .coveragerc
61+
- coveralls --config_file .coveragerc
62+
deploy:
63+
provider: pypi
64+
user: satra
65+
password:
66+
secure: OCO0FXb4f+pH4Uw7zWCIRp3qOJ1t7rhky4K8MjNU8tyVCJgd6O/Bv8GJgceS0LktPodlAAjB8SxAhTORPAQZ1D/44PJYy3NQIisvej1zjLpaA9TEGfl6W7MqhDpRyMHW+cnSi/n84SAmdr+Z4vOxScDHdwr13EPmGyOIlHMAGnE=
67+
on:
68+
tags: true
69+
repo: nipy/nipype
70+
branch: master
71+
distributions: "sdist bdist_wheel"

CHANGES

Lines changed: 152 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,158 @@
1-
Next Release
1+
Next release
22
============
33

4-
* API: Interfaces to external packages are no longer available in the top-level ``nipype`` namespace, and must be imported directly (e.g. ``from nipype.interfaces import fsl``).
5-
* ENH: New ANTs interface: ApplyTransformsToPoints
4+
* FIX: Clean up byte/unicode issues using subprocess (https://github.com/nipy/nipype/pull/1394)
5+
* FIX: Prevent crash when tvtk is loaded - ETS_TOOLKIT=null (https://github.com/nipy/nipype/pull/973)
6+
* ENH: New interfaces in dipy: RESTORE, EstimateResponseSH, CSD and StreamlineTractography
7+
(https://github.com/nipy/nipype/pull/1090)
8+
* ENH: Added interfaces of AFNI (https://github.com/nipy/nipype/pull/1360,
9+
https://github.com/nipy/nipype/pull/1361, https://github.com/nipy/nipype/pull/1382)
10+
* ENH: Provides a Nipype wrapper for antsJointFusion (https://github.com/nipy/nipype/pull/1351)
11+
* ENH: Added support for PETPVC (https://github.com/nipy/nipype/pull/1335)
12+
* ENH: Merge S3DataSink into DataSink, added AWS documentation (https://github.com/nipy/nipype/pull/1316)
13+
* TST: Cache APT in CircleCI (https://github.com/nipy/nipype/pull/1333)
14+
* ENH: Add new flags to the BRAINSABC for new features (https://github.com/nipy/nipype/pull/1322)
15+
* ENH: Provides a Nipype wrapper for ANTs DenoiseImage (https://github.com/nipy/nipype/pull/1291)
16+
* FIX: Minor bugfix logging hash differences (https://github.com/nipy/nipype/pull/1298)
17+
* FIX: Use released Prov python library (https://github.com/nipy/nipype/pull/1279)
18+
* ENH: Support for Python 3 (https://github.com/nipy/nipype/pull/1221)
19+
* FIX: VTK version check missing when using tvtk (https://github.com/nipy/nipype/pull/1219)
20+
* ENH: Added an OAR scheduler plugin (https://github.com/nipy/nipype/pull/1259)
21+
* ENH: New ANTs interface: antsBrainExtraction (https://github.com/nipy/nipype/pull/1231)
22+
* API: Default model level for the bedpostx workflow has been set to "2" following FSL 5.0.9 lead
23+
* ENH: New interfaces for interacting with AWS S3: S3DataSink and S3DataGrabber (https://github.com/nipy/nipype/pull/1201)
24+
* ENH: Interfaces for MINC tools (https://github.com/nipy/nipype/pull/1304)
25+
* FIX: Use realpath to determine hard link source (https://github.com/nipy/nipype/pull/1388)
26+
27+
Release 0.11.0 (September 15, 2015)
28+
============
29+
30+
* API: Change how hash values are computed (https://github.com/nipy/nipype/pull/1174)
31+
* ENH: New algorithm: mesh.WarpPoints applies displacements fields to point sets
32+
(https://github.com/nipy/nipype/pull/889).
33+
* ENH: New interfaces for MRTrix3 (https://github.com/nipy/nipype/pull/1126)
34+
* ENH: New option in afni.3dRefit - zdel, ydel, zdel etc. (https://github.com/nipy/nipype/pull/1079)
35+
* FIX: ants.Registration composite transform outputs are no longer returned as lists (https://github.com/nipy/nipype/pull/1183)
36+
* BUG: ANTs Registration interface failed with multi-modal inputs
37+
(https://github.com/nipy/nipype/pull/1176) (https://github.com/nipy/nipype/issues/1175)
38+
* ENH: dipy.TrackDensityMap interface now accepts a reference image (https://github.com/nipy/nipype/pull/1091)
39+
* FIX: Bug in XFibres5 (https://github.com/nipy/nipype/pull/1168)
40+
* ENH: Attempt to use hard links for data sink.
41+
(https://github.com/nipy/nipype/pull/1161)
42+
* FIX: Updates to SGE Plugins
43+
(https://github.com/nipy/nipype/pull/1129)
44+
* ENH: Add ants JointFusion() node with testing
45+
(https://github.com/nipy/nipype/pull/1160)
46+
* ENH: Add --float option for antsRegistration calls
47+
(https://github.com/nipy/nipype/pull/1159)
48+
* ENH: Added interface to simulate DWIs using the multi-tensor model
49+
(https://github.com/nipy/nipype/pull/1085)
50+
* ENH: New interface for FSL fslcpgeom utility (https://github.com/nipy/nipype/pull/1152)
51+
* ENH: Added SLURMGraph plugin for submitting jobs to SLURM with dependencies (https://github.com/nipy/nipype/pull/1136)
52+
* FIX: Enable absolute path definitions in DCMStack (https://github.com/nipy/nipype/pull/1089,
53+
replaced by https://github.com/nipy/nipype/pull/1093)
54+
* ENH: New mesh.MeshWarpMaths to operate on surface-defined warpings
55+
(https://github.com/nipy/nipype/pull/1016)
56+
* FIX: Refactor P2PDistance, change name to ComputeMeshWarp, add regression tests,
57+
fix bug in area weighted distance, and added optimizations
58+
(https://github.com/nipy/nipype/pull/1016)
59+
* ENH: Add an option not to resubmit Nodes that finished running when using SGEGraph (https://github.com/nipy/nipype/pull/1002)
60+
* FIX: FUGUE is now properly listing outputs. (https://github.com/nipy/nipype/pull/978)
61+
* ENH: Improved FieldMap-Based (FMB) workflow for correction of susceptibility distortions in EPI seqs.
62+
(https://github.com/nipy/nipype/pull/1019)
63+
* FIX: In the FSLXcommand _list_outputs function fixed for loop range (https://github.com/nipy/nipype/pull/1071)
64+
* ENH: Dropped support for now 7 years old Python 2.6 (https://github.com/nipy/nipype/pull/1069)
65+
* FIX: terminal_output is not mandatory anymore (https://github.com/nipy/nipype/pull/1070)
66+
* ENH: Added "nipype_cmd" tool for running interfaces from the command line (https://github.com/nipy/nipype/pull/795)
67+
* FIX: Fixed Camino output naming (https://github.com/nipy/nipype/pull/1061)
68+
* ENH: Add the average distance to ErrorMap (https://github.com/nipy/nipype/pull/1039)
69+
* ENH: Inputs with name_source can be now chained in cascade (https://github.com/nipy/nipype/pull/938)
70+
* ENH: Improve JSON interfaces: default settings when reading and consistent output creation
71+
when writing (https://github.com/nipy/nipype/pull/1047)
72+
* FIX: AddCSVRow problems when using infields (https://github.com/nipy/nipype/pull/1028)
73+
* FIX: Removed unused ANTS registration flag (https://github.com/nipy/nipype/pull/999)
74+
* FIX: Amend create_tbss_non_fa() workflow to match FSL's tbss_non_fa command. (https://github.com/nipy/nipype/pull/1033)
75+
* FIX: remove unused mandatory flag from spm normalize (https://github.com/nipy/nipype/pull/1048)
76+
* ENH: Update ANTSCorticalThickness interface (https://github.com/nipy/nipype/pull/1013)
77+
* FIX: Edge case with sparsemodels and PEP8 cleanup (https://github.com/nipy/nipype/pull/1046)
78+
* ENH: New io interfaces for JSON files reading/writing (https://github.com/nipy/nipype/pull/1020)
79+
* ENH: Enhanced openfmri script to support freesurfer linkage (https://github.com/nipy/nipype/pull/1037)
80+
* BUG: matplotlib is supposed to be optional (https://github.com/nipy/nipype/pull/1003)
81+
* FIX: Fix split_filename behaviour when path has no file component (https://github.com/nipy/nipype/pull/1035)
82+
* ENH: Updated FSL dtifit to include option for grad non-linearities (https://github.com/nipy/nipype/pull/1032)
83+
* ENH: Updated Camino tracking interfaces, which can now use FSL bedpostx output.
84+
New options also include choice of tracker, interpolator, stepsize and
85+
curveinterval for angle threshold (https://github.com/nipy/nipype/pull/1029)
86+
* FIX: Interfaces redirecting X crashed if $DISPLAY not defined (https://github.com/nipy/nipype/pull/1027)
87+
* FIX: Bug crashed 'make api' (https://github.com/nipy/nipype/pull/1026)
88+
* ENH: Updated antsIntroduction to handle RA and RI registrations (https://github.com/nipy/nipype/pull/1009)
89+
* ENH: Updated N4BiasCorrection input spec to include weight image and spline order. Made
90+
argument formatting consistent. Cleaned ants.segmentation according to PEP8.
91+
(https://github.com/nipy/nipype/pull/990/files)
92+
* ENH: SPM12 Normalize interface (https://github.com/nipy/nipype/pull/986)
93+
* FIX: Utility interface test dir (https://github.com/nipy/nipype/pull/986)
94+
* FIX: IPython engine directory reset after crash (https://github.com/nipy/nipype/pull/987)
95+
* ENH: Resting state fMRI example with NiPy realignment and no SPM (https://github.com/nipy/nipype/pull/992)
96+
* FIX: Corrected Freesurfer SegStats _list_outputs to avoid error if summary_file is
97+
undefined (issue #994)(https://https://github.com/nipy/nipype/pull/996)
98+
* FIX: OpenfMRI support and FSL 5.0.7 changes (https://github.com/nipy/nipype/pull/1006)
99+
* FIX: Output prefix in SPM Normalize with modulation (https://github.com/nipy/nipype/pull/1023)
100+
* ENH: Usability improvements in cluster environments (https://github.com/nipy/nipype/pull/1025)
101+
* ENH: ANTs JointFusion() (https://github.com/nipy/nipype/pull/1042)
102+
* ENH: Added csvReader() utility (https://github.com/nipy/nipype/pull/1044)
103+
* FIX: typo in nipype.interfaces.freesurfer.utils.py Tkregister2 (https://github.com/nipy/nipype/pull/1083)
104+
* FIX: SSHDataGrabber outputs now return full path to the grabbed/downloaded files. (https://github.com/nipy/nipype/pull/1086)
105+
* FIX: Add QA output for TSNR to resting workflow (https://github.com/nipy/nipype/pull/1088)
106+
* FIX: Change N4BiasFieldCorrection to use short tag for dimensionality (backward compatible) (https://github.com/nipy/nipype/pull/1096)
107+
* ENH: Added -newgrid input to Warp in AFNI (3dWarp wrapper) (https://github.com/nipy/nipype/pull/1128)
108+
* FIX: Fixed AFNI Copy interface to use positional inputs as required (https://github.com/nipy/nipype/pull/1131)
109+
* 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)
110+
* ENH: Use a while loop to wait for Xvfb (up to a max wait time "xvfb_max_wait" in config file, default 10)
111+
(https://github.com/nipy/nipype/pull/1142)
112+
113+
Release 0.10.0 (October 10, 2014)
114+
============
115+
116+
* ENH: New miscelaneous interfaces: SplitROIs (mapper), MergeROIs (reducer)
117+
to enable parallel processing of very large images.
118+
* ENH: Updated FSL interfaces: BEDPOSTX and XFibres, former interfaces are still
119+
available with the version suffix: BEDPOSTX4 and XFibres4. Added gpu
120+
versions of BEDPOSTX: BEDPOSTXGPU, BEDPOSTX5GPU, and BEDPOSTX4GPU
121+
* ENH: Added experimental support for MIPAV algorithms thorugh JIST plugins
122+
* ENH: New dipy interfaces: Denoise, Resample
123+
* ENH: New Freesurfer interfaces: Tkregister2 (for conversion of fsl style matrices to freesurfer format), MRIPretess
124+
* ENH: New FSL interfaces: WarpPoints, WarpPointsToStd, EpiReg, ProbTrackX2, WarpUtils, ConvertWarp
125+
* ENH: New miscelaneous interfaces: AddCSVRow, NormalizeProbabilityMapSet, AddNoise
126+
* ENH: New AFNI interfaces: Eval, Means, SVMTest, SVMTrain
127+
* ENH: FUGUE interface has been refactored to use the name_template system, 3 examples
128+
added to doctests, some bugs solved.
129+
* API: Interfaces to external packages are no longer available in the top-level
130+
``nipype`` namespace, and must be imported directly (e.g.
131+
``from nipype.interfaces import fsl``).
132+
* ENH: Support for elastix via a set of new interfaces: Registration, ApplyWarp,
133+
AnalyzeWarp, PointsWarp, and EditTransform
134+
* ENH: New ANTs interface: ApplyTransformsToPoints, LaplacianThickness
135+
* ENH: New Diffusion Toolkit interface: TrackMerge
136+
* ENH: New MRtrix interface: FilterTracks
137+
* ENH: New metrics group in algorithms. Now Distance, Overlap, and FuzzyOverlap
138+
are found in nipype.algorithms.metrics instead of misc. Overlap interface
139+
extended to allow files containing multiple ROIs and volume physical units.
140+
* ENH: New interface in algorithms.metrics: ErrorMap (a voxel-wise diff map).
6141
* ENH: New FreeSurfer workflow: create_skullstripped_recon_flow()
142+
* ENH: Deep revision of workflows for correction of dMRI artifacts. New dmri_preprocessing
143+
example.
7144
* ENH: New data grabbing interface that works over SSH connections, SSHDataGrabber
145+
* ENH: New color mode for write_graph
146+
* ENH: You can now force MapNodes to be run serially
147+
* ENH: Added ANTS based openfmri workflow
148+
* ENH: MapNode now supports flattening of nested lists
149+
* ENH: Support for headless mode using Xvfb
150+
* ENH: nipype_display_crash has a debugging mode
8151
* FIX: MRTrix tracking algorithms were ignoring mask parameters.
152+
* FIX: FNIRT registration pathway and associated OpenFMRI example script
153+
* FIX: spm12b compatibility for Model estimate
154+
* FIX: Batch scheduler controls the number of maximum jobs properly
155+
* FIX: Update for FSL 5.0.7 which deprecated Contrast Manager
9156

10157
Release 0.9.2 (January 31, 2014)
11158
============
@@ -26,7 +173,8 @@ Release 0.9.0 (December 20, 2013)
26173
* ENH: new tools for defining workflows: JoinNode, synchronize and itersource
27174
* ENH: W3C PROV support with optional RDF export built into Nipype
28175
* ENH: Added support for Simple Linux Utility Resource Management (SLURM)
29-
* ENH: AFNI interfaces refactor, prefix, suffix are replaced by "flexible_%s_templates"
176+
* ENH: AFNI interfaces refactor, prefix, suffix are replaced by
177+
"flexible_%s_templates"
30178
* ENH: New SPM interfaces:
31179
- spm.ResliceToReference,
32180
- spm.DicomImport

0 commit comments

Comments
 (0)