Skip to content

Commit 4227937

Browse files
Merge branch 'master' into enh-mrtrix3
2 parents bb9f5b4 + 98cffc7 commit 4227937

File tree

8 files changed

+44
-25
lines changed

8 files changed

+44
-25
lines changed

.mailmap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Aimi Watanabe <[email protected]> stymy <[email protected]>
22
Aimi Watanabe <[email protected]> stymy <[email protected]>
3+
Alejandro de la Vega <[email protected]> adelavega <[email protected]>
34
Alexander Schaefer <[email protected]> Alexander Schaefer <[email protected]>
45
Alexander Schaefer <[email protected]> alexschaefer83 <[email protected]>
56
Alexander Schaefer <[email protected]> aschaefer <aschaefer@aschaefer-U36SD.(none)>
@@ -56,11 +57,13 @@ Franz Liem <[email protected]> fliem <franz.liem>
5657
Gael Varoquaux <[email protected]> GaelVaroquaux
5758
Gael Varoquaux <[email protected]> GaelVaroquaux <[email protected]>
5859
Gavin Cooper <[email protected]> gjcooper <[email protected]>
60+
Gilles de Hollander <[email protected]> Gilles86 <[email protected]>
5961
Hans Johnson <[email protected]> Hans Johnson <[email protected]>
6062
Hans Johnson <[email protected]> hjmjohnson <[email protected]>
6163
Horea Christian <[email protected]> Horea Christian <[email protected]>
6264
Isaac Schwabacher <[email protected]> ischwabacher <[email protected]>
6365
66+
Jakub Kaczmarzyk <[email protected]> kaczmarj <[email protected]>
6467
6568
6669
Jason Wong <[email protected]> Jason W <[email protected]>
@@ -72,7 +75,9 @@ Joerg Stadler <[email protected]> Jörg Stadler <Stadler@lin-magdeb
7275
Joke Durnez <[email protected]> jokedurnez <[email protected]>
7376
Josh Warner <[email protected]> Josh Warner (Mac) <[email protected]>
7477
Kai Schlamp <[email protected]> medihack <[email protected]>Jessica Forbes <[email protected]> jessicaforbes <[email protected]>
78+
7579
Leonie Lampe <[email protected]> Leonie Lmape <[email protected]>
80+
Lukas Snoek <[email protected]> Lukas Snoek <[email protected]>
7681
Mathias Goncalves <[email protected]> mathiasg <[email protected]>
7782
Michael Dayan <[email protected]> Michael <[email protected]>
7883
Michael Dayan <[email protected]> Michael <[email protected]>
@@ -102,5 +107,6 @@ Steven Giavasis <[email protected]> sgiavasis <[email protected]>
102107
Tristan Glatard <[email protected]> Tristan Glatard <[email protected]>
103108
Victor Saase <[email protected]> vsaase <[email protected]>
104109
William Triplett <[email protected]> William Triplett <[email protected]>
110+
Wolfgang Pauli <[email protected]> Wolfgang Pauli <[email protected]>
105111
Yaroslav Halchenko <[email protected]> Yaroslav Halchenko <[email protected]>
106112

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ deploy:
5959
tags: true
6060
repo: nipy/nipype
6161
branch: master
62-
distributions: "sdist"
62+
distributions: "sdist bdist_wheel"

.zenodo.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,6 @@
514514
{
515515
"name": "Shachnev, Dmitry"
516516
},
517-
{
518-
"affiliation": "MIT, HMS",
519-
"name": "Ghosh, Satrajit",
520-
"orcid": "0000-0002-5312-6729"
521-
},
522517
{
523518
"affiliation": "University of Amsterdam",
524519
"name": "Lukas Snoek",
@@ -540,8 +535,14 @@
540535
"orcid": "0000-0002-5544-7577"
541536
},
542537
{
543-
"affiliation": "University College London"
544-
"name": "Mancini, Matteo"
538+
"affiliation": "MIT, HMS",
539+
"name": "Ghosh, Satrajit",
540+
"orcid": "0000-0002-5312-6729"
541+
},
542+
{
543+
"affiliation": "University College London",
544+
"name": "Mancini, Matteo",
545+
"orcid": "0000-0001-7194-4568"
545546
}
546547
],
547548
"keywords": [

CHANGES

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
Upcoming release (0.14.0)
1+
Upcoming release
22
================
33

4+
0.14.0 (November 21, 2017)
5+
==========================
6+
7+
###### [Full changelog](https://github.com/nipy/nipype/milestone/13)
8+
9+
* ENH: Generate Dockerfiles with neurodocker (https://github.com/nipy/nipype/pull/2202)
10+
* ENH: FLAIR options for recon-all (https://github.com/nipy/nipype/pull/2279)
11+
* ENH: Config option for setting maxtasksperchild when multiprocessing (https://github.com/nipy/nipype/pull/2284)
412
* FIX: Testing maintainance and improvements (https://github.com/nipy/nipype/pull/2252)
513
* ENH: Add elapsed_time and final metric_value to ants.Registration (https://github.com/nipy/nipype/pull/1985)
614
* ENH: Improve terminal_output feature (https://github.com/nipy/nipype/pull/2209)
@@ -17,7 +25,7 @@ Upcoming release (0.14.0)
1725
* MAINT: Additional Windows support (https://github.com/nipy/nipype/pull/2085)
1826
* ENH: Output realignment matrices from TOPUP (https://github.com/nipy/nipype/pull/2084)
1927
* ENH: Additional AFNI interfaces: 3dZcat, 3dZeropad, 3dedge3, 3dDeconvolve, 3dQwarp, 1dCat, 3dNwarpApply, 3daxialize,
20-
3dREMLfit, 3dUndump, 3dCM, 3dSynthesize + more (https://github.com/nipy/nipype/pull/2087, https://github.com/nipy/nipype/pull/2090,
28+
3dREMLfit, 3dUndump, 3dCM, 3dSynthesize + more (https://github.com/nipy/nipype/pull/2087, https://github.com/nipy/nipype/pull/2090,
2129
https://github.com/nipy/nipype/pull/2095, https://github.com/nipy/nipype/pull/2099, https://github.com/nipy/nipype/pull/2103,
2230
https://github.com/nipy/nipype/pull/2114, https://github.com/nipy/nipype/pull/2135, https://github.com/nipy/nipype/pull/2186,
2331
https://github.com/nipy/nipype/pull/2201, https://github.com/nipy/nipype/pull/2210)

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# The short X.Y version.
8383
version = nipype.__version__
8484
# The full version, including alpha/beta/rc tags.
85-
release = "0.13.1"
85+
release = "0.14.0-rc1"
8686

8787
# The language for content autogenerated by Sphinx. Refer to documentation
8888
# for a list of supported languages.

nipype/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# full release. '.dev' as a version_extra string means this is a development
1111
# version
1212
# Remove -dev for release
13-
__version__ = '1.0.0-dev'
13+
__version__ = '0.14.0-rc1'
1414

1515

1616
def get_nipype_gitversion():

nipype/interfaces/ants/segmentation.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -720,17 +720,19 @@ class BrainExtraction(ANTSCommand):
720720
def _run_interface(self, runtime, correct_return_codes=(0,)):
721721
# antsBrainExtraction.sh requires ANTSPATH to be defined
722722
out_environ = self._get_environ()
723-
if out_environ.get('ANTSPATH') is None:
724-
runtime.environ.update(out_environ)
725-
executable_name = self.cmd.split()[0]
726-
exist_val, cmd_path = _exists_in_path(executable_name, runtime.environ)
727-
if not exist_val:
728-
raise IOError("command '%s' could not be found on host %s" %
729-
(self.cmd.split()[0], runtime.hostname))
730-
731-
# Set the environment variable if found
732-
runtime.environ.update({'ANTSPATH': os.path.dirname(cmd_path)})
733-
723+
ants_path = out_environ.get('ANTSPATH', None) or os.getenv('ANTSPATH', None)
724+
if ants_path is None:
725+
# Check for antsRegistration, which is under bin/ (the $ANTSPATH) instead of
726+
# checking for antsBrainExtraction.sh which is under script/
727+
_, cmd_path = _exists_in_path('antsRegistration', runtime.environ)
728+
if not cmd_path:
729+
raise RuntimeError(
730+
'The environment variable $ANTSPATH is not defined in host "%s", '
731+
'and Nipype could not determine it automatically.' % runtime.hostname)
732+
ants_path = os.path.dirname(cmd_path)
733+
734+
self.inputs.environ.update({'ANTSPATH': ants_path})
735+
runtime.environ.update({'ANTSPATH': ants_path})
734736
runtime = super(BrainExtraction, self)._run_interface(runtime)
735737

736738
# Still, double-check if it didn't found N4
@@ -740,8 +742,8 @@ def _run_interface(self, runtime, correct_return_codes=(0,)):
740742
tool = line.strip().replace('we cant find the', '').split(' ')[0]
741743
break
742744

743-
errmsg = ('antsBrainExtraction.sh requires %s the environment variable '
744-
'ANTSPATH to be defined' % tool)
745+
errmsg = ('antsBrainExtraction.sh requires "%s" to be found in $ANTSPATH '
746+
'($ANTSPATH="%s").') % (tool, ants_path)
745747
if runtime.stderr is None:
746748
runtime.stderr = errmsg
747749
else:

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

0 commit comments

Comments
 (0)