Skip to content

Commit 0a89257

Browse files
committed
Merge pull request #2 from nipy/master
Update nipype fork.
2 parents 054d62d + ac774ea commit 0a89257

File tree

548 files changed

+28382
-4908
lines changed

Some content is hidden

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

548 files changed

+28382
-4908
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

.travis.yml

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,40 @@
11
language: python
22
python:
3-
- "2.7"
3+
- 2.7
4+
# Setup anaconda
45
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-
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
24-
- pip install https://github.com/satra/prov/archive/enh/rdf.zip
6+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-2.0.3-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-2.0.3-Linux-x86_64.sh -O miniconda.sh; fi
7+
- chmod +x miniconda.sh
8+
- ./miniconda.sh -b
9+
- export PATH=/home/travis/anaconda/bin:$PATH
10+
# The next couple lines fix a crash with multiprocessing on Travis
11+
- sudo rm -rf /dev/shm
12+
- sudo ln -s /run/shm /dev/shm
13+
- sudo apt-get update -qq
14+
- sudo apt-get install lsb-release
15+
- source /etc/lsb-release
16+
- echo ${DISTRIB_CODENAME}
17+
- wget -O- http://neuro.debian.net/lists/${DISTRIB_CODENAME}.us-nh.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
18+
- sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
19+
- sudo apt-get update -qq
20+
- sudo apt-get install -qq --no-install-recommends fsl afni
21+
- sudo apt-get install -qq fsl-atlases
22+
- source /etc/fsl/fsl.sh
23+
24+
# Install packages
2525
install:
26-
- source ~/virtualenv/this/bin/activate
27-
- python setup.py build_ext --inplace
26+
- conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy nose traits networkx dateutil
27+
- pip install nibabel --use-mirrors
28+
- pip install python-coveralls --use-mirrors
29+
- pip install nose-cov --use-mirrors
30+
- pip install https://github.com/RDFLib/rdflib/archive/master.zip
31+
- pip install https://github.com/satra/prov/archive/enh/rdf.zip
32+
- python setup.py install
33+
34+
# Run test
2835
script:
29-
- source ~/virtualenv/this/bin/activate
30-
- make test
36+
- nosetests --with-doctest --with-cov --cov nipype --cov-config .coveragerc --logging-level=INFO
3137

38+
# Calculate coverage
39+
after_success:
40+
- coveralls --config_file .coveragerc

CHANGES

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,52 @@ Next release
33

44
* ENH: SelectFiles: a streamlined version of DataGrabber
55
* ENH: New interfaces: spm.ResliceToReference, FuzzyOverlap, afni.AFNItoNIFTI
6+
spm.DicomImport, P2PDistance
67
* ENH: W3C PROV support with optional RDF export built into Nipype
7-
8+
* ENH: Added support for Simple Linux Utility Resource Management (SLURM)
9+
* ENHL AFNI interfaces refactor, prefix, suffix are replaced by "flexible_%s_templates"
10+
11+
* ENH: Several new interfaces related to Camino were added:
12+
- camino.SFPICOCalibData
13+
- camino.Conmat
14+
- camino.QBallMX
15+
- camino.LinRecon
16+
- camino.SFPeaks
17+
One outdated interface no longer part of Camino was removed:
18+
- camino.Conmap
19+
20+
* FIX: Several fixes related to Camino interfaces:
21+
- ProcStreamlines would ignore many arguments silently (target, waypoint, exclusion ROIS, etc.)
22+
- DTLUTGen would silently round the "step", "snr" and "trace" parameters to integers
23+
- PicoPDFs would not accept more than one lookup table
24+
- PicoPDFs default pdf did not correspond to Camino default
25+
- Track input model names were outdated (and would generate an error)
26+
- Track numpds parameter could not be set for deterministic tractography
27+
- FA created output files with erroneous extension
28+
829
* FIX: Deals properly with 3d files in SPM Realign
30+
* FIX: SPM with MCR fixed
931

1032
* API: 'name' is now a positional argument for Workflow, Node, and MapNode constructors
33+
* API: SPM now defaults to SPM8 or SPM12b job format
34+
35+
* ENH: New FSL interfaces: fsl.PrepareFieldmap, fsl.TOPUP, fsl.ApplyTOPUP, fsl.Eddy
36+
* ENH: New workflows: nipype.workflows.dmri.fsl.epi.[fieldmap_correction&topup_correction]
37+
38+
* ENH: Added simplified outputname generation for command line interfaces.
39+
* FIX: Cleaned up input and output spec metadata
40+
41+
* ENH: Allow ants use a single mask image
42+
* ENH: Create configuration option for parameterizing directories with hashes
43+
* ENH: arrange nodes by topological sort with disconnected subgraphs
44+
* ENH: uses the nidm iri namespace for uuids
45+
* ENH: remove old reporting webpage (this is a WIP i hope to finish in a day or two)
46+
47+
* FIX: example openfmri script now makes the contrast spec a hashed input
48+
* FIX: FILMGLS compatibility with FSL 5.0.5
49+
* FIX: Freesurfer recon-all resume now avoids setting inputs
50+
51+
* FIX: File removal from node respects file associations img/hdr/mat, BRIK/HEAD
1152

1253
Release 0.8.0 (May 8, 2013)
1354
===========================

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: trailing-spaces html test specs
7074
@echo "removed spaces"
7175
@echo "built docs"
7276
@echo "ran test"
77+
@echo "generated spec tests"

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
NIPYPE: Neuroimaging in Python: Pipelines and Interfaces
33
========================================================
44

5+
.. image:: https://travis-ci.org/nipy/nipype.png?branch=master
6+
:target: https://travis-ci.org/nipy/nipype
7+
8+
.. image:: https://coveralls.io/repos/nipy/nipype/badge.png
9+
:target: https://coveralls.io/r/nipy/nipype
10+
511

612
Current neuroimaging software offer users an incredible opportunity to
713
analyze data using a variety of different algorithms. However, this has

doc/_templates/indexsidebar.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +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://groups.google.com/group/nipy-user">User</a> · <a href="http://projects.scipy.org/mailman/listinfo/nipy-devel">Developer</a></li>
88
<li>Info: <a href="http://nipy.org/software/license/index.html">License</a> · <a href="http://nipy.org/about/funding.html">Funding</a></li>
9+
<li><a href="https://travis-ci.org/nipy/nipy"><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>
910
</ul>
1011

1112
{% endblock %}

doc/_templates/layout.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
<script type="text/javascript">
99

1010
var _gaq = _gaq || [];
11+
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
12+
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
1113
_gaq.push(['_setAccount', 'UA-339450-7']);
1214
_gaq.push(['_setDomainName', 'none']);
1315
_gaq.push(['_setAllowLinker', true]);
1416
_gaq.push(['_trackPageview']);
1517

1618
(function() {
1719
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
18-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
20+
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
1921
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
2022
})();
2123

doc/conf.py

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

5656
# General information about the project.
5757
project = u'nipype'
58-
copyright = u'2009-12, Neuroimaging in Python team'
58+
copyright = u'2009-13, Neuroimaging in Python team'
5959

6060
# The version info for the project you're documenting, acts as replacement for
6161
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)