Skip to content

Commit f464954

Browse files
committed
Merge remote-tracking branch 'upstream/master' into dev/2.0
Reviewed by CJM
2 parents 08cd3d3 + e7ab9cb commit f464954

File tree

830 files changed

+9799
-3577
lines changed

Some content is hidden

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

830 files changed

+9799
-3577
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,14 @@ jobs:
317317
name: Check pypi preconditions
318318
command: |
319319
pyenv local 3.5.2
320-
pip install --upgrade twine wheel readme_renderer setuptools
320+
pip install --upgrade pip twine future wheel readme_renderer setuptools
321321
python setup.py check -r -s
322322
python setup.py sdist bdist_wheel
323323
- run:
324324
name: Validate Python 3 installation
325325
command: |
326326
pyenv local 3.5.2
327+
pip install --upgrade pip
327328
pip install dist/nipype-*-py3-none-any.whl
328329
- run:
329330
name: Validate Python 3.7 installation

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Basille Pinsard <[email protected]> bpinsard <basile.pinsard@umontreal
2626
Basille Pinsard <[email protected]> bpinsard <[email protected]>
2727
Ben Cipollini <[email protected]> Ben Cipollini <[email protected]>
2828
Benjamin Acland <[email protected]> Ben Acland <[email protected]>
29+
Benjamin Meyers <[email protected]> BenjaminMey <[email protected]>
2930
Benjamin Yvernault <[email protected]> Benjamin Yvernault <[email protected]>
3031
Benjamin Yvernault <[email protected]> byvernault <[email protected]>
3132
Blake Dewey <[email protected]> Blake Dewey <[email protected]>
@@ -138,6 +139,9 @@ Michael Clark <[email protected]> Clark <[email protected]>
138139
Michael Dayan <[email protected]> Michael <[email protected]>
139140
Michael Dayan <[email protected]> Michael <[email protected]>
140141
Michael Dayan <[email protected]> mick-d <mid2021@CHUCK.(none)>
142+
Michael Dayan <[email protected]> Michael <[email protected]>
143+
Michael Joseph <[email protected]> mjoseph <[email protected]>
144+
Michael Joseph <[email protected]> Michael Joseph <[email protected]>
141145
Michael Philipp Notter <[email protected]> Michael Notter <[email protected]>
142146
Michael Philipp Notter <[email protected]> miykael <[email protected]>
143147
Michael Waskom <[email protected]> Michael Waskom <[email protected]>

.zenodo.json

Lines changed: 58 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
"name": "Jarecka, Dorota",
3131
"orcid": "0000-0003-1857-8129"
3232
},
33-
{
34-
"affiliation": "The Laboratory for Investigative Neurophysiology (The LINE), Department of Radiology and Department of Clinical Neurosciences, Lausanne, Switzerland; Center for Biomedical Imaging (CIBM), Lausanne, Switzerland",
35-
"name": "Notter, Michael Philipp",
36-
"orcid": "0000-0002-5866-047X"
37-
},
3833
{
3934
"affiliation": "University of Iowa",
4035
"name": "Johnson, Hans",
4136
"orcid": "0000-0001-9513-2660"
4237
},
38+
{
39+
"affiliation": "The Laboratory for Investigative Neurophysiology (The LINE), Department of Radiology and Department of Clinical Neurosciences, Lausanne, Switzerland; Center for Biomedical Imaging (CIBM), Lausanne, Switzerland",
40+
"name": "Notter, Michael Philipp",
41+
"orcid": "0000-0002-5866-047X"
42+
},
4343
{
4444
"name": "Burns, Christopher"
4545
},
@@ -79,16 +79,20 @@
7979
"name": "Wong, Jason"
8080
},
8181
{
82-
"name": "Modat, Marc"
82+
"affiliation": "Concordia University",
83+
"name": "Benderoff, Erin"
8384
},
8485
{
85-
"name": "Loney, Fred"
86+
"name": "Modat, Marc"
8687
},
8788
{
8889
"affiliation": "Developer",
8990
"name": "Clark, Daniel",
9091
"orcid": "0000-0002-8121-8954"
9192
},
93+
{
94+
"name": "Loney, Fred"
95+
},
9296
{
9397
"affiliation": "Department of Electrical and Computer Engineering, Johns Hopkins University",
9498
"name": "Dewey, Blake E",
@@ -125,16 +129,16 @@
125129
"name": "Clark, Dav",
126130
"orcid": "0000-0002-3982-4416"
127131
},
128-
{
129-
"affiliation": "Dartmouth College",
130-
"name": "Visconti di Oleggio Castello, Matteo",
131-
"orcid": "0000-0001-7931-5272"
132-
},
133132
{
134133
"affiliation": "UC Berkeley - UCSF Graduate Program in Bioengineering",
135134
"name": "Keshavan, Anisha",
136135
"orcid": "0000-0003-3554-043X"
137136
},
137+
{
138+
"affiliation": "Dartmouth College",
139+
"name": "Visconti di Oleggio Castello, Matteo",
140+
"orcid": "0000-0001-7931-5272"
141+
},
138142
{
139143
"name": "Pinsard, Basile"
140144
},
@@ -166,11 +170,6 @@
166170
"name": "Guillon, Je\u0301re\u0301my",
167171
"orcid": "0000-0002-2672-7510"
168172
},
169-
{
170-
"affiliation": "Montreal Neurological Institute and Hospital",
171-
"name": "Markello, Ross",
172-
"orcid": "0000-0003-1057-1336"
173-
},
174173
{
175174
"affiliation": "The University of Washington eScience Institute",
176175
"name": "Rokem, Ariel",
@@ -185,6 +184,11 @@
185184
"name": "DuPre, Elizabeth",
186185
"orcid": "0000-0003-1358-196X"
187186
},
187+
{
188+
"affiliation": "Montreal Neurological Institute and Hospital",
189+
"name": "Markello, Ross",
190+
"orcid": "0000-0003-1057-1336"
191+
},
188192
{
189193
"affiliation": "MIT",
190194
"name": "Kaczmarzyk, Jakub",
@@ -275,10 +279,6 @@
275279
{
276280
"name": "Dubois, Mathieu"
277281
},
278-
{
279-
"name": "Heinsfeld, Anibal S\u00f3lon",
280-
"orcid": "0000-0002-2050-0614"
281-
},
282282
{
283283
"affiliation": "Child Mind Institute",
284284
"name": "Frohlich, Caroline"
@@ -293,12 +293,11 @@
293293
"orcid": "0000-0002-7796-8795"
294294
},
295295
{
296-
"name": "Kent, James"
296+
"name": "Heinsfeld, Anibal S\u00f3lon",
297+
"orcid": "0000-0002-2050-0614"
297298
},
298299
{
299-
"affiliation": "University of Texas at Austin",
300-
"name": "De La Vega, Alejandro",
301-
"orcid": "0000-0001-9062-3778"
300+
"name": "Kent, James"
302301
},
303302
{
304303
"name": "Watanabe, Aimi"
@@ -316,6 +315,11 @@
316315
"name": "Nichols, B. Nolan",
317316
"orcid": "0000-0003-1099-3328"
318317
},
318+
{
319+
"affiliation": "University of Texas at Austin",
320+
"name": "De La Vega, Alejandro",
321+
"orcid": "0000-0001-9062-3778"
322+
},
319323
{
320324
"affiliation": "University College London",
321325
"name": "Eshaghi, Arman",
@@ -389,11 +393,6 @@
389393
{
390394
"name": "Haselgrove, Christian"
391395
},
392-
{
393-
"affiliation": "1 McGill Centre for Integrative Neuroscience (MCIN), Ludmer Centre for Neuroinformatics and Mental Health, Montreal Neurological Institute (MNI), McGill University, Montr\u00e9al, 3801 University Street, WB-208, H3A 2B4, Qu\u00e9bec, Canada. 2 University of Lyon, CNRS, INSERM, CREATIS., Villeurbanne, 7, avenue Jean Capelle, 69621, France.",
394-
"name": "Glatard, Tristan",
395-
"orcid": "0000-0003-2620-5883"
396-
},
397396
{
398397
"name": "Renfro, Mandy"
399398
},
@@ -433,6 +432,11 @@
433432
{
434433
"name": "Hallquist, Michael"
435434
},
435+
{
436+
"affiliation": "Yale University; New Haven, CT, United States",
437+
"name": "Sisk, Lucinda M.",
438+
"orcid": "0000-0003-4900-9770"
439+
},
436440
{
437441
"affiliation": "TIB \u2013 Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany",
438442
"name": "Leinweber, Katrin",
@@ -469,6 +473,11 @@
469473
{
470474
"name": "Park, Anne"
471475
},
476+
{
477+
"affiliation": "1 McGill Centre for Integrative Neuroscience (MCIN), Ludmer Centre for Neuroinformatics and Mental Health, Montreal Neurological Institute (MNI), McGill University, Montr\u00e9al, 3801 University Street, WB-208, H3A 2B4, Qu\u00e9bec, Canada. 2 University of Lyon, CNRS, INSERM, CREATIS., Villeurbanne, 7, avenue Jean Capelle, 69621, France.",
478+
"name": "Glatard, Tristan",
479+
"orcid": "0000-0003-2620-5883"
480+
},
472481
{
473482
"name": "Poldrack, Russell"
474483
},
@@ -485,10 +494,6 @@
485494
"name": "Cooper, Gavin",
486495
"orcid": "0000-0002-7186-5293"
487496
},
488-
{
489-
"affiliation": "Institute of Imaging & Computer Vision, RWTH Aachen University, Germany",
490-
"name": "Weninger, Leon"
491-
},
492497
{
493498
"name": "Inati, Souheil"
494499
},
@@ -501,6 +506,15 @@
501506
"name": "Lukas Snoek",
502507
"orcid": "0000-0001-8972-204X"
503508
},
509+
{
510+
"affiliation": "Institute of Imaging & Computer Vision, RWTH Aachen University, Germany",
511+
"name": "Weninger, Leon"
512+
},
513+
{
514+
"affiliation": "Stanford University",
515+
"name": "Lerma-Usabiaga, Garikoitz",
516+
"orcid": "0000-0001-9800-4816"
517+
},
504518
{
505519
"name": "Marina, Ana"
506520
},
@@ -634,6 +648,16 @@
634648
"name": "McNamee, Daniel",
635649
"orcid": "0000-0001-9928-4960"
636650
},
651+
{
652+
"affiliation": "University of Pittsburgh",
653+
"name": "Meyers, Benjamin",
654+
"orcid": "0000-0001-9137-4363"
655+
},
656+
{
657+
"affiliation": "Washington University in St Louis",
658+
"name": "Van, Andrew",
659+
"orcid": "0000-0002-8787-0943"
660+
},
637661
{
638662
"name": "Davison, Andrew"
639663
},

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ inplace:
5656
$(PYTHON) setup.py build_ext -i
5757

5858
test-code: in
59-
py.test --doctest-module nipype
59+
py.test --doctest-modules nipype
6060

6161
test-coverage: clean-tests in
6262
py.test --doctest-modules --cov-config .coveragerc --cov=nipype nipype

doc/changelog/1.X.X-changelog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
1.2.1 (August 19, 2019)
2+
=======================
3+
4+
##### [Full changelog](https://github.com/nipy/nipype/milestone/32?closed=1)
5+
6+
* FIX: Resolve/rebase paths from/to results files (https://github.com/nipy/nipype/pull/2971)
7+
* FIX: Use ``load_resultfile`` when loading a results pickle (https://github.com/nipy/nipype/pull/2985)
8+
* FIX: Incorrect extension identified when checking ``File`` traits (https://github.com/nipy/nipype/pull/2987)
9+
* FIX: Correctly pickle ``OuputMultiObject`` traits (https://github.com/nipy/nipype/pull/2983)
10+
* FIX: Improve output handling in DWIDenoise and DWIBiasCorrect (https://github.com/nipy/nipype/pull/2978)
11+
* FIX: Docker build (https://github.com/nipy/nipype/pull/2963)
12+
* FIX: Remove '=' signs from EddyQuad argument specifications (https://github.com/nipy/nipype/pull/2941)
13+
* FIX: Set input model to bedpostx for camino.TrackBedpostxProba (https://github.com/nipy/nipype/pull/2947)
14+
* FIX: Allow ``max_sh``not to be set (auto mode) (https://github.com/nipy/nipype/pull/2940)
15+
* ENH: Update mrtrix reconst.py EstimateFOD max_sh to be able to accept list (https://github.com/nipy/nipype/pull/2990)
16+
* ENH: Let ``indirectory`` handle ``nipype.utils.filemanip.Path`` (https://github.com/nipy/nipype/pull/2989)
17+
* ENH: Add resolve/rebase ``BasePath`` traits methods & tests (https://github.com/nipy/nipype/pull/2970)
18+
* ENH: Modify ``Directory`` and ``File`` traits to get along with pathlib (https://github.com/nipy/nipype/pull/2962)
19+
* REF: Update nipype2boutiques script (https://github.com/nipy/nipype/pull/2894)
20+
* TST: Parametrize JoinNode expansion tests over config ``needed_outputs`` (https://github.com/nipy/nipype/pull/2981)
21+
* MAINT: Pin lxml<4.4.0 for Python 3.4 (https://github.com/nipy/nipype/pull/2980)
22+
* MAINT: Refactor ``aggregate_outputs`` for readability (https://github.com/nipy/nipype/pull/2969)
23+
* MAINT: Bump neurodocker version (https://github.com/nipy/nipype/pull/2965)
24+
* MAINT: Various minor improvements to complement previous PR (https://github.com/nipy/nipype/pull/2964)
25+
* MAINT: Sort dependencies alphabetically (https://github.com/nipy/nipype/pull/2961)
26+
27+
128
1.2.0 (May 09, 2019)
229
====================
330

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 = "1.2.0"
85+
release = "1.2.1"
8686

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

doc/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Documentation
99
:Release: |version|
1010
:Date: |today|
1111

12-
Previous versions: `1.2.0 <http://nipype.readthedocs.io/en/1.2.0/>`_ `1.1.9 <http://nipype.readthedocs.io/en/1.1.9/>`_
12+
Previous versions: `1.2.1 <http://nipype.readthedocs.io/en/1.2.1/>`_ `1.2.0 <http://nipype.readthedocs.io/en/1.2.0/>`_
1313

1414

1515
.. container:: doc2

docker/generate_dockerfiles.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ do
5252
esac
5353
done
5454

55-
# neurodocker version 0.4.1-22-g7c44e01
56-
NEURODOCKER_IMAGE="kaczmarj/neurodocker:master@sha256:858632a7533cac100f70932749b4cfc77fc40f667f41fca208f406215cff8a27"
55+
# neurodocker version 0.5.0-3-g1788917
56+
NEURODOCKER_IMAGE="kaczmarj/neurodocker:master@sha256:ac2085702daac716481daae5da055e2062be52075f8f3881672e958e0cd53e6b"
5757
# neurodebian:stretch-non-free pulled on September 19, 2018
5858
BASE_IMAGE="neurodebian:stretch-non-free@sha256:7cd978427d7ad215834fee221d0536ed7825b3cddebc481eba2d792dfc2f7332"
5959

@@ -88,6 +88,7 @@ function generate_main_dockerfile() {
8888
OMP_NUM_THREADS=1 \
8989
--arg PYTHON_VERSION_MAJOR=3 PYTHON_VERSION_MINOR=6 BUILD_DATE VCS_REF VERSION \
9090
--user neuro \
91+
--workdir /home/neuro \
9192
--miniconda create_env=neuro \
9293
conda_install='python=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
9394
libxml2 libxslt matplotlib mkl "numpy!=1.16.0" paramiko

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def _list_outputs(self):
722722

723723

724724
class AddCSVRowInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
725-
in_file = traits.File(
725+
in_file = File(
726726
mandatory=True, desc='Input comma-separated value (CSV) files')
727727
_outputs = traits.Dict(traits.Any, value={}, usedefault=True)
728728

nipype/algorithms/tests/test_auto_ACompCor.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ def test_ACompCor_inputs():
2121
),
2222
num_components=dict(xor=['variance_threshold'], ),
2323
pre_filter=dict(usedefault=True, ),
24-
realigned_file=dict(mandatory=True, ),
24+
realigned_file=dict(
25+
extensions=None,
26+
mandatory=True,
27+
),
2528
regress_poly_degree=dict(usedefault=True, ),
2629
repetition_time=dict(),
2730
save_metadata=dict(usedefault=True, ),
@@ -39,9 +42,9 @@ def test_ACompCor_inputs():
3942
assert getattr(inputs.traits()[key], metakey) == value
4043
def test_ACompCor_outputs():
4144
output_map = dict(
42-
components_file=dict(),
43-
metadata_file=dict(),
44-
pre_filter_file=dict(),
45+
components_file=dict(extensions=None, ),
46+
metadata_file=dict(extensions=None, ),
47+
pre_filter_file=dict(extensions=None, ),
4548
)
4649
outputs = ACompCor.output_spec()
4750

nipype/algorithms/tests/test_auto_ActivationCount.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def test_ActivationCount_inputs():
1414
assert getattr(inputs.traits()[key], metakey) == value
1515
def test_ActivationCount_outputs():
1616
output_map = dict(
17-
acm_neg=dict(),
18-
acm_pos=dict(),
19-
out_file=dict(),
17+
acm_neg=dict(extensions=None, ),
18+
acm_pos=dict(extensions=None, ),
19+
out_file=dict(extensions=None, ),
2020
)
2121
outputs = ActivationCount.output_spec()
2222

nipype/algorithms/tests/test_auto_AddCSVColumn.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,22 @@ def test_AddCSVColumn_inputs():
66
input_map = dict(
77
extra_column_heading=dict(),
88
extra_field=dict(),
9-
in_file=dict(mandatory=True, ),
10-
out_file=dict(usedefault=True, ),
9+
in_file=dict(
10+
extensions=None,
11+
mandatory=True,
12+
),
13+
out_file=dict(
14+
extensions=None,
15+
usedefault=True,
16+
),
1117
)
1218
inputs = AddCSVColumn.input_spec()
1319

1420
for key, metadata in list(input_map.items()):
1521
for metakey, value in list(metadata.items()):
1622
assert getattr(inputs.traits()[key], metakey) == value
1723
def test_AddCSVColumn_outputs():
18-
output_map = dict(csv_file=dict(), )
24+
output_map = dict(csv_file=dict(extensions=None, ), )
1925
outputs = AddCSVColumn.output_spec()
2026

2127
for key, metadata in list(output_map.items()):

0 commit comments

Comments
 (0)