Skip to content

Commit e8d5aa6

Browse files
committed
Merge branch 'master' into fix_freesurfer_abspath
2 parents 3ae42b9 + 9a82862 commit e8d5aa6

File tree

814 files changed

+61931
-8453
lines changed

Some content is hidden

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

814 files changed

+61931
-8453
lines changed

.coveragerc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[run]
2+
branch = True
3+
source = nipype
4+
include = */nipype/*
5+
omit =
6+
*/nipype/external/*
7+
*/nipype/workflows/*
8+
*/nipype/fixes/*
9+
*/setup.py

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
.project
1313
.settings
1414
.pydevproject
15+
.idea/

.travis.yml

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,43 @@
1+
cache:
2+
- apt
13
language: python
24
python:
3-
- "2.7"
5+
- 2.6
6+
- 2.7
7+
env:
8+
- INSTALL_DEB_DEPENDECIES=true
9+
- INSTALL_DEB_DEPENDECIES=false
10+
# Setup anaconda
411
before_install:
5-
- deactivate
6-
- sudo rmdir /dev/shm
7-
- sudo ln -Tsf /{run,dev}/shm
8-
- sudo apt-get update -qq
9-
- sudo apt-get install lsb-release
10-
- source /etc/lsb-release
11-
- echo ${DISTRIB_CODENAME}
12-
- wget -O- http://neuro.debian.net/lists/${DISTRIB_CODENAME}.us-nh.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
13-
- sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
14-
- sudo apt-get update -qq
15-
- sudo apt-get install -qq python-scipy python-nose
16-
- sudo apt-get install -qq python-networkx python-traits python-setuptools
17-
- sudo apt-get install -qq python-nibabel
18-
- sudo apt-get install -qq --no-install-recommends fsl afni
19-
- sudo apt-get install -qq fsl-atlases
20-
- source /etc/fsl/fsl.sh
21-
- virtualenv --system-site-packages ~/virtualenv/this
22-
- source ~/virtualenv/this/bin/activate
23-
install: python setup.py build_ext --inplace
24-
script: make test
12+
- 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
13+
- chmod +x miniconda.sh
14+
- ./miniconda.sh -b
15+
- export PATH=/home/travis/miniconda/bin:$PATH
16+
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
17+
- 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); fi
19+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends fsl afni elastix; fi
20+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases; fi
21+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
22+
23+
# Install packages
24+
install:
25+
- conda update --yes conda
26+
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
27+
- source activate testenv
28+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
29+
- conda install --yes numpy scipy nose traits networkx dateutil
30+
- pip install nibabel --use-mirrors
31+
- pip install python-coveralls --use-mirrors
32+
- pip install nose-cov --use-mirrors
33+
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
34+
- pip install https://github.com/trungdong/prov/archive/rdf.zip
35+
- python setup.py install
36+
37+
# Run test
38+
script:
39+
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
40+
41+
# Calculate coverage
42+
after_success:
43+
- coveralls --config_file .coveragerc

CHANGES

Lines changed: 131 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,126 @@ Next release
22
============
33

44

5+
Release 0.10.0 (October 10, 2014)
6+
============
7+
8+
* ENH: New miscelaneous interfaces: SplitROIs (mapper), MergeROIs (reducer)
9+
to enable parallel processing of very large images.
10+
* ENH: Updated FSL interfaces: BEDPOSTX and XFibres, former interfaces are still
11+
available with the version suffix: BEDPOSTX4 and XFibres4. Added gpu
12+
versions of BEDPOSTX: BEDPOSTXGPU, BEDPOSTX5GPU, and BEDPOSTX4GPU
13+
* ENH: Added experimental support for MIPAV algorithms thorugh JIST plugins
14+
* ENH: New dipy interfaces: Denoise, Resample
15+
* ENH: New Freesurfer interfaces: Tkregister2 (for conversion of fsl style matrices to freesurfer format), MRIPretess
16+
* ENH: New FSL interfaces: WarpPoints, WarpPointsToStd, EpiReg, ProbTrackX2, WarpUtils, ConvertWarp
17+
* ENH: New miscelaneous interfaces: AddCSVRow, NormalizeProbabilityMapSet, AddNoise
18+
* ENH: New AFNI interfaces: Eval, Means, SVMTest, SVMTrain
19+
* ENH: FUGUE interface has been refactored to use the name_template system, 3 examples
20+
added to doctests, some bugs solved.
21+
* API: Interfaces to external packages are no longer available in the top-level
22+
``nipype`` namespace, and must be imported directly (e.g.
23+
``from nipype.interfaces import fsl``).
24+
* ENH: Support for elastix via a set of new interfaces: Registration, ApplyWarp,
25+
AnalyzeWarp, PointsWarp, and EditTransform
26+
* ENH: New ANTs interface: ApplyTransformsToPoints, LaplacianThickness
27+
* ENH: New Diffusion Toolkit interface: TrackMerge
28+
* ENH: New MRtrix interface: FilterTracks
29+
* ENH: New metrics group in algorithms. Now Distance, Overlap, and FuzzyOverlap
30+
are found in nipype.algorithms.metrics instead of misc. Overlap interface
31+
extended to allow files containing multiple ROIs and volume physical units.
32+
* ENH: New interface in algorithms.metrics: ErrorMap (a voxel-wise diff map).
33+
* ENH: New FreeSurfer workflow: create_skullstripped_recon_flow()
34+
* ENH: Deep revision of workflows for correction of dMRI artifacts. New dmri_preprocessing
35+
example.
36+
* ENH: New data grabbing interface that works over SSH connections, SSHDataGrabber
37+
* ENH: New color mode for write_graph
38+
* ENH: You can now force MapNodes to be run serially
39+
* ENH: Added ANTS based openfmri workflow
40+
* ENH: MapNode now supports flattening of nested lists
41+
* ENH: Support for headless mode using Xvfb
42+
* ENH: nipype_display_crash has a debugging mode
43+
* FIX: MRTrix tracking algorithms were ignoring mask parameters.
44+
* FIX: FNIRT registration pathway and associated OpenFMRI example script
45+
* FIX: spm12b compatibility for Model estimate
46+
* FIX: Batch scheduler controls the number of maximum jobs properly
47+
* FIX: Update for FSL 5.0.7 which deprecated Contrast Manager
48+
49+
Release 0.9.2 (January 31, 2014)
50+
============
51+
52+
* FIX: DataFinder was broken due to a typo
53+
* FIX: Order of DataFinder outputs was not guaranteed, it's human sorted now
54+
* ENH: New interfaces: Vnifti2Image, VtoMat
55+
56+
Release 0.9.1 (December 25, 2013)
57+
============
58+
59+
* FIX: installation issues
60+
61+
Release 0.9.0 (December 20, 2013)
62+
============
63+
64+
* ENH: SelectFiles: a streamlined version of DataGrabber
65+
* ENH: new tools for defining workflows: JoinNode, synchronize and itersource
66+
* ENH: W3C PROV support with optional RDF export built into Nipype
67+
* ENH: Added support for Simple Linux Utility Resource Management (SLURM)
68+
* ENH: AFNI interfaces refactor, prefix, suffix are replaced by
69+
"flexible_%s_templates"
70+
* ENH: New SPM interfaces:
71+
- spm.ResliceToReference,
72+
- spm.DicomImport
73+
* ENH: New AFNI interfaces:
74+
- afni.AFNItoNIFTI
75+
- afni.TCorr1D
76+
* ENH: Several new interfaces related to Camino were added:
77+
- camino.SFPICOCalibData
78+
- camino.Conmat
79+
- camino.QBallMX
80+
- camino.LinRecon
81+
- camino.SFPeaks
82+
One outdated interface no longer part of Camino was removed:
83+
- camino.Conmap
84+
* ENH: Three new mrtrix interfaces were added:
85+
- mrtrix.GenerateDirections
86+
- mrtrix.FindShPeaks
87+
- mrtrix.Directions2Amplitude
88+
* ENH: New FSL interfaces:
89+
- fsl.PrepareFieldmap
90+
- fsl.TOPUP
91+
- fsl.ApplyTOPUP
92+
- fsl.Eddy
93+
* ENH: New misc interfaces:
94+
- FuzzyOverlap,
95+
- P2PDistance
96+
* ENH: New workflows: nipype.workflows.dmri.fsl.epi.[fieldmap_correction&topup_correction]
97+
* ENH: Added simplified outputname generation for command line interfaces.
98+
* ENH: Allow ants use a single mask image
99+
* ENH: Create configuration option for parameterizing directories with hashes
100+
* ENH: arrange nodes by topological sort with disconnected subgraphs
101+
* ENH: uses the nidm iri namespace for uuids
102+
* ENH: remove old reporting webpage
103+
* ENH: Added support for Vagrant
104+
105+
* API: 'name' is now a positional argument for Workflow, Node, and MapNode constructors
106+
* API: SPM now defaults to SPM8 or SPM12b job format
107+
* API: DataGrabber and SelectFiles use human (or natural) sort now
108+
109+
* FIX: Several fixes related to Camino interfaces:
110+
- ProcStreamlines would ignore many arguments silently (target, waypoint, exclusion ROIS, etc.)
111+
- DTLUTGen would silently round the "step", "snr" and "trace" parameters to integers
112+
- PicoPDFs would not accept more than one lookup table
113+
- PicoPDFs default pdf did not correspond to Camino default
114+
- Track input model names were outdated (and would generate an error)
115+
- Track numpds parameter could not be set for deterministic tractography
116+
- FA created output files with erroneous extension
117+
* FIX: Deals properly with 3d files in SPM Realign
118+
* FIX: SPM with MCR fixed
119+
* FIX: Cleaned up input and output spec metadata
120+
* FIX: example openfmri script now makes the contrast spec a hashed input
121+
* FIX: FILMGLS compatibility with FSL 5.0.5
122+
* FIX: Freesurfer recon-all resume now avoids setting inputs
123+
* FIX: File removal from node respects file associations img/hdr/mat, BRIK/HEAD
124+
5125
Release 0.8.0 (May 8, 2013)
6126
===========================
7127

@@ -29,7 +149,7 @@ Release 0.7.0 (Dec 18, 2012)
29149
* ENH: New interfaces: ICC, Meshfix, ants.Register, C3dAffineTool, ants.JacobianDeterminant,
30150
afni.AutoTcorrelate, DcmStack
31151
* ENH: New workflows: ants template building (both using 'ANTS' and the new 'antsRegistration')
32-
* ENH: New examples: how to use ANTS template building workflows (smri_ants_build_tmeplate),
152+
* ENH: New examples: how to use ANTS template building workflows (smri_ants_build_tmeplate),
33153
how to set SGE specific options (smri_ants_build_template_new)
34154
* ENH: added no_flatten option to Merge
35155
* ENH: added versioning option and checking to traits
@@ -91,11 +211,11 @@ Release 0.5 (Mar 10, 2012)
91211
* API: IPython plugin now invokes IPython 0.11 or greater
92212
* API: Canned workflows are now all under a different package structure
93213
* API: SpecifyModel event_info renamed to event_files
94-
* API: DataGrabber is always being rerun (unless overwrite is set to False on
214+
* API: DataGrabber is always being rerun (unless overwrite is set to False on
95215
Node level)
96-
* API: "stop_on_first_rerun" does not stop for DataGrabber (unless overwrite is
216+
* API: "stop_on_first_rerun" does not stop for DataGrabber (unless overwrite is
97217
set to True on Node level)
98-
* API: Output prefix can be set for spm nodes (SliceTiming, Realign, Coregister,
218+
* API: Output prefix can be set for spm nodes (SliceTiming, Realign, Coregister,
99219
Normalize, Smooth)
100220

101221
* ENH: Added fsl resting state workflow based on behzadi 2007 CompCorr method.
@@ -115,7 +235,7 @@ Release 0.5 (Mar 10, 2012)
115235
* ENH: IdentityNode with iterable expansion takes place after remaining Identity
116236
Node removal
117237
* ENH: Crashfile display script added
118-
* ENH: Added FmriRealign4d node wrapped from nipy
238+
* ENH: Added FmriRealign4d node wrapped from nipy
119239
* ENH: Added TBSS workflows and examples
120240
* ENH: Support for openfmri data processing
121241
* ENH: Package version check
@@ -148,8 +268,8 @@ Release 0.4 (Jun 11, 2011)
148268

149269
* API: Timestamp hashing does not use ctime anymore. Please update your hashes by
150270
running workflows with updatehash=True option
151-
NOTE: THIS IS THE DEFAULT CONFIG NOW, so unless you updatehash, workflows will
152-
rerun
271+
NOTE: THIS IS THE DEFAULT CONFIG NOW, so unless you updatehash, workflows will
272+
rerun
153273
* API: Workflow run function no longer supports (inseries, createdirsonly).
154274
Functions used in connect string must be pickleable
155275
* API: SPM EstimateContrast: ignore_derivs replaced by use_derivs
@@ -184,7 +304,7 @@ Release 0.4 (Jun 11, 2011)
184304
- ChangeDataType, Threshold, MeanImage, IsotropicSmooth, ApplyMask, TemporalFilter
185305
DilateImage, ErodeImage, SpatialFilter, UnaryMaths, BinaryMaths, MultiImageMaths
186306
* ENH: added support for networx 1.4 and improved iterable expansion
187-
* ENH: Replaced BEDPOSTX and EddyCurrent with nipype pipelines
307+
* ENH: Replaced BEDPOSTX and EddyCurrent with nipype pipelines
188308
* ENH: Ability to create a hierarchical dot file
189309
* ENH: Improved debugging information for rerunning nodes
190310
* ENH: Added 'stop_on_first_rerun' option
@@ -220,15 +340,15 @@ Release 0.3.4 (Jan 12, 2011)
220340
* ENH: Added SPM node for calculating various threshold statistics
221341
* ENH: Added distance and dissimilarity measurements
222342

223-
* BF: Diffusion toolkit gets installed
343+
* BF: Diffusion toolkit gets installed
224344
* BF: Changed FNIRT interface to accept flexible lists (rather than 4-tuples)
225345
on all options specific to different subsampling levels
226346

227347
Release 0.3.3 (Sep 16, 2010)
228348
============================
229349

230350
* API: subject_id in ModelSpec is now deprecated
231-
* API: spm.Threshold
351+
* API: spm.Threshold
232352
- does not need mask, beta, RPV anymore
233353
- takes only one image (stat_image - mind the name change)
234354
- works with SPM2 SPM.mat
@@ -243,7 +363,7 @@ Release 0.3.3 (Sep 16, 2010)
243363
* BF: Traits logic for 'requires' metadata
244364
* BF: allows workflows to be relocatable
245365
* BF: nested workflows with connections don't raise connection not found error
246-
* BF: multiple workflows with identical nodenames and iterables do not create nestsed workflows
366+
* BF: multiple workflows with identical nodenames and iterables do not create nestsed workflows
247367

248368
Release 0.3.2 (Aug 03, 2010)
249369
============================

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2009-2013, NIPY Developers
1+
Copyright (c) 2009-2014, NIPY Developers
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,21 @@ test-doc:
5757
--doctest-fixtures=_fixture doc/
5858

5959
test-coverage:
60-
$(NOSETESTS) -s --with-doctest --with-coverage --cover-erase --cover-html \
61-
--cover-html-dir=coverage --cover-package=nipype nipype
60+
$(NOSETESTS) -s --with-doctest --with-coverage --cover-package=nipype \
61+
--config=.coveragerc
6262

6363
test: clean test-code
6464

6565
html:
6666
@echo "building docs"
6767
make -C doc clean html
6868

69-
check-before-commit: trailing-spaces html test
69+
specs:
70+
@echo "Checking specs and autogenerating spec tests"
71+
python tools/checkspecs.py
72+
73+
check-before-commit: specs trailing-spaces html test
7074
@echo "removed spaces"
7175
@echo "built docs"
7276
@echo "ran test"
77+
@echo "generated spec tests"

0 commit comments

Comments
 (0)