Skip to content

Commit fc34144

Browse files
committed
FIX: Conflict correction after merge with master
2 parents 0d00610 + 5e381b4 commit fc34144

File tree

14 files changed

+494
-44
lines changed

14 files changed

+494
-44
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ env:
88
- INSTALL_DEB_DEPENDECIES=true
99
- INSTALL_DEB_DEPENDECIES=false
1010
before_install:
11-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
11+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
1212
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
1313
-O miniconda.sh; fi
1414
- chmod +x miniconda.sh
1515
- "./miniconda.sh -b"
16-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
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
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
1919
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh);

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Next Release
22
============
3+
4+
* ENH: Added an OAR scheduler plugin (https://github.com/nipy/nipype/pull/1259)
5+
* ENH: New ANTs interface: antsBrainExtraction (https://github.com/nipy/nipype/pull/1231)
36
* API: Default model level for the bedpostx workflow has been set to "2" following FSL 5.0.9 lead
47
* ENH: New interfaces for interacting with AWS S3: S3DataSink and S3DataGrabber (https://github.com/nipy/nipype/pull/1201)
58

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- if [[ ! -d ~/fsl ]]; then wget "http://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.9-centos6_64.tar.gz"; tar zxvf fsl-5.0.9-centos6_64.tar.gz; mv fsl ~/fsl; fi
1616
- 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; mkdir ~/examples; mv nipype-tutorial/* ~/examples/; fi
1717
# we download this manually because CircleCI does not cache apt
18-
- if [[ ! -d ~/examples/feeds ]]; then wget "http://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.8-feeds.tar.gz"; tar zxvf fsl-5.0.8-feeds.tar.gz; mv feeds ~/examples/; fi
18+
- if [[ ! -d ~/examples/feeds ]]; then wget "http://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5.0.9-feeds.tar.gz"; tar zxvf fsl-5.0.8-feeds.tar.gz; mv feeds ~/examples/; fi
1919
- 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
2020
- bash ~/nipype/tools/install_spm_mcr.sh
2121
- mkdir -p ~/.nipype && echo "[logging]" > ~/.nipype/nipype.cfg && echo "workflow_level = DEBUG" >> ~/.nipype/nipype.cfg && echo "interface_level = DEBUG" >> ~/.nipype/nipype.cfg && echo "filemanip_level = DEBUG" >> ~/.nipype/nipype.cfg

doc/users/plugins.rst

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ available plugins allow local and distributed execution of workflows and
99
debugging. Each available plugin is described below.
1010

1111
Current plugins are available for Linear, Multiprocessing, IPython_ distributed
12-
processing platforms and for direct processing on SGE_, PBS_, HTCondor_, LSF_, and SLURM_. We
12+
processing platforms and for direct processing on SGE_, PBS_, HTCondor_, LSF_, OAR_, and SLURM_. We
1313
anticipate future plugins for the Soma_ workflow.
1414

1515
.. note::
@@ -276,6 +276,34 @@ for all nodes could look like this::
276276
wrapper_args=shim_args)
277277
)
278278

279+
OAR
280+
---
281+
282+
In order to use nipype with OAR_ you simply need to call::
283+
284+
workflow.run(plugin='OAR')
285+
286+
Optional arguments::
287+
288+
template: custom template file to use
289+
oar_args: any other command line args to be passed to qsub.
290+
max_jobname_len: (PBS only) maximum length of the job name. Default 15.
291+
292+
For example, the following snippet executes the workflow on myqueue with
293+
a custom template::
294+
295+
workflow.run(plugin='oar',
296+
plugin_args=dict(template='mytemplate.sh', oarsub_args='-q myqueue')
297+
298+
In addition to overall workflow configuration, you can use node level
299+
configuration for OAR::
300+
301+
node.plugin_args = {'oarsub_args': '-l "nodes=1/cores=3"'}
302+
303+
this would apply only to the node and is useful in situations, where a
304+
particular node might use more resources than other nodes in a workflow.
305+
306+
279307
``qsub`` emulation
280308
~~~~~~~~~~~~~~~~~~
281309

nipype/interfaces/ants/__init__.py

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

1212

1313
# Segmentation Programs
14-
from .segmentation import Atropos, LaplacianThickness, N4BiasFieldCorrection, JointFusion
14+
from .segmentation import Atropos, LaplacianThickness, N4BiasFieldCorrection, JointFusion, antsCorticalThickness, antsBrainExtraction
1515

1616
# Visualization Programs
1717
from .visualization import ConvertScalarImageToRGB, CreateTiledMosaic

0 commit comments

Comments
 (0)