Skip to content

Commit 3f0470e

Browse files
committed
Merge branch 'sgiavasis-master' into new_interfaces
2 parents c043685 + b978529 commit 3f0470e

Some content is hidden

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

50 files changed

+2609
-546
lines changed

.travis.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,43 @@ before_install:
1616
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda2/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
1717
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
1818
- 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
19+
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
20+
- sudo apt-get update
21+
- sudo apt-get install xvfb
2122
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends
2223
fsl afni elastix; fi
2324
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
2425
fi
2526
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
2627
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
2728
- 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
2836
install:
2937
- conda update --yes conda
3038
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
3139
- source activate testenv
3240
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
3341
- conda install --yes numpy scipy nose networkx dateutil
3442
- 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
3544
- pip install python-coveralls
3645
- 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
3756
- pip install -r requirements.txt # finish remaining requirements
3857
- python setup.py install
3958
script:

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Next release
22
============
33

4+
* FIX: Prevent crash when tvtk is loaded - ETS_TOOLKIT=null (https://github.com/nipy/nipype/pull/973)
5+
* ENH: New interfaces in dipy: RESTORE, EstimateResponseSH, CSD and StreamlineTractography
6+
(https://github.com/nipy/nipype/pull/1090)
7+
* ENH: Added interfaces of AFNI (https://github.com/nipy/nipype/pull/1360,
8+
https://github.com/nipy/nipype/pull/1361)
9+
* ENH: Provides a Nipype wrapper for antsJointFusion (https://github.com/nipy/nipype/pull/1351)
410
* ENH: Added support for PETPVC (https://github.com/nipy/nipype/pull/1335)
511
* ENH: Merge S3DataSink into DataSink, added AWS documentation (https://github.com/nipy/nipype/pull/1316)
612
* TST: Cache APT in CircleCI (https://github.com/nipy/nipype/pull/1333)

circle.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,25 @@ dependencies:
99
pre:
1010
# Let CircleCI cache the apt archive
1111
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
12-
- wget -O- http://neuro.debian.net/lists/precise.us-ca.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
13-
- sudo apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9
14-
- sudo apt-get update
12+
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
1513
override:
1614
# Install apt packages
17-
- sudo apt-get install -y fsl-core fsl-atlases fsl-mni152-templates fsl-feeds afni
18-
- echo "source /etc/fsl/fsl.sh" >> $HOME/.profile
19-
- echo "source /etc/afni/afni.sh" >> $HOME/.profile
15+
- sudo apt-get install -y fsl-core fsl-atlases fsl-mni152-templates fsl-feeds afni swig python-vtk xvfb
16+
- echo 'source /etc/fsl/fsl.sh' >> $HOME/.profile
17+
- echo 'source /etc/afni/afni.sh' >> $HOME/.profile
2018
- mkdir -p ~/examples/ && ln -sf /usr/share/fsl-feeds/ ~/examples/feeds
19+
# Enable system-wide vtk
20+
- ln -sf /usr/lib/pymodules/python2.7/vtk ~/virtualenvs/venv-system/lib/python2.7/site-packages/
2121
# Set up python environment
2222
- pip install --upgrade pip
2323
- pip install -e .
24-
- pip install matplotlib sphinx ipython boto coverage
24+
- pip install matplotlib sphinx ipython boto coverage dipy
25+
# Add tvtk
26+
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
27+
- pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools
28+
- pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas
29+
- pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy
30+
- pip install -e git+https://github.com/enthought/ets.git#egg=ets
2531
- gem install fakes3
2632
- if [[ ! -d ~/examples/data ]]; then wget "http://tcpdiag.dl.sourceforge.net/project/nipy/nipype/nipype-0.2/nipype-tutorial.tar.bz2" && tar jxvf nipype-tutorial.tar.bz2 && mv nipype-tutorial/* ~/examples/; fi
2733
- if [[ ! -d ~/examples/fsl_course_data ]]; then wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt1.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/fdt2.tar.gz" && wget -c "http://fsl.fmrib.ox.ac.uk/fslcourse/tbss.tar.gz" && mkdir ~/examples/fsl_course_data && tar zxvf fdt1.tar.gz -C ~/examples/fsl_course_data && tar zxvf fdt2.tar.gz -C ~/examples/fsl_course_data && tar zxvf tbss.tar.gz -C ~/examples/fsl_course_data; fi

0 commit comments

Comments
 (0)