Skip to content

Commit ffed595

Browse files
committed
Merge remote-tracking branch 'upstream/master' into enh/workflow_syntax
2 parents 3339337 + 04cfa7a commit ffed595

File tree

895 files changed

+973
-7177
lines changed

Some content is hidden

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

895 files changed

+973
-7177
lines changed

.circleci/config.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,19 @@ jobs:
330330
- /tmp/docker/cache/Dockerfile.base-pruned
331331
key: dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
332332

333+
pypi_precheck:
334+
machine: *machine_kwds
335+
working_directory: /home/circleci/nipype
336+
steps:
337+
- checkout:
338+
path: /home/circleci/nipype
339+
- run:
340+
name: Check pypi preconditions
341+
command: |
342+
pip install twine future wheel readme_renderer
343+
python setup.py check -r -s
344+
python setup.py sdist bdist_wheel
345+
333346
deploy_pypi:
334347
machine: *machine_kwds
335348
working_directory: /home/circleci/nipype
@@ -339,7 +352,8 @@ jobs:
339352
- run:
340353
name: Deploy to PyPI
341354
command: |
342-
pip install twine future wheel
355+
pip install twine future wheel readme_renderer
356+
python setup.py check -r -s
343357
python setup.py sdist bdist_wheel
344358
twine upload dist/*
345359
@@ -422,3 +436,7 @@ workflows:
422436
only: /rel\/.*/
423437
tags:
424438
only: /.*/
439+
- pypi_precheck:
440+
filters:
441+
branches:
442+
only: /rel\/.*/

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
Pull-request guidelines (Remove this section after reading):
1+
<!--
2+
3+
Pull-request guidelines
4+
-----------------------
25
36
1. If you would like to list yourself as a Nipype contributor and your name is not mentioned please modify .zenodo.json file.
47
2. By submitting this request you acknowledge that your contributions are available under the Apache 2 license.
58
3. Use a descriptive prefix for your PR: ENH (enhancement), FIX, TST, DOC, STY, REF (refactor), WIP (Work in progress)
6-
4. The person who accepts/merges your PR will include an update to the CHANGES file: prefix: description (URL of pull request)
7-
5. Run `make check-before-commit` before submitting the PR.
9+
4. Run `make check-before-commit` before submitting the PR.
810
9-
----- REMOVE TILL HERE -----
11+
-->
12+
## Summary
13+
<!-- Please reference any related issue and use fixes/close to automatically
14+
close them, if pertinent -->
1015

1116
Fixes # .
1217

13-
Changes proposed in this pull request
14-
-
15-
-
18+
## List of changes proposed in this PR (pull-request)
19+
<!-- We suggest using bullets (indicated by * or -) and filled checkboxes [x] here -->
20+
21+
## Acknowledgment
22+
23+
- [ ] \(Mandatory\) I acknowledge that this contribution will be available under the Apache 2 license.

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ before_install:
5454
fi;
5555

5656
- travis_retry pip install -r requirements.txt
57+
- travis_retry pip install grabbit==0.1.2
5758
- travis_retry git clone https://github.com/INCF/pybids.git ${HOME}/pybids &&
5859
pip install -e ${HOME}/pybids
5960

doc/changelog/1.X.X-changelog

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
1.1.0 (July 04, 2018)
2+
=====================
3+
4+
###### [Full changelog](https://github.com/nipy/nipype/milestone/21?closed=1)
5+
6+
* RF: Futures-based MultiProc (https://github.com/nipy/nipype/pull/2598)
7+
* FIX: Avoid closing file descriptors on Windows (https://github.com/nipy/nipype/pull/2617)
8+
* MAINT: Play nice with external logging (https://github.com/nipy/nipype/pull/2611)
9+
* MAINT: Remove ignore_exception and terminal_output traits from input specs (https://github.com/nipy/nipype/pull/2618)
10+
* MAINT: Converge autotest names (https://github.com/nipy/nipype/pull/2610)
11+
* ENH: Add versioning metadata to crash files (https://github.com/nipy/nipype/pull/2626)
12+
* ENH add -dsort option to TProject (https://github.com/nipy/nipype/pull/2623)
13+
* ENH: Add Rescale interface (https://github.com/nipy/nipype/pull/2599)
14+
* DOC: Improve documentation for ANTs/FSL interfaces (https://github.com/nipy/nipype/pull/2593)
15+
* CI: Stop using Miniconda on Travis (https://github.com/nipy/nipype/pull/2600)
16+
* CI: Add PyPI validation on rel/* branches (https://github.com/nipy/nipype/pull/2603)
17+
118
1.0.4 (May 29, 2018)
219
====================
320

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.0.4"
85+
release = "1.1.0"
8686

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

docker/generate_dockerfiles.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ function generate_main_dockerfile() {
106106
pandas psutil scikit-learn scipy traits=4.6.0' \
107107
pip_opts="-e" \
108108
pip_install="/src/nipype[all]" \
109+
--miniconda env_name=neuro \
110+
pip_install="grabbit==0.1.2" \
109111
--run-bash "mkdir -p /src/pybids
110-
&& curl -sSL --retry 5 https://github.com/INCF/pybids/tarball/master
112+
&& curl -sSL --retry 5 https://github.com/INCF/pybids/tarball/0.5.1
111113
| tar -xz -C /src/pybids --strip-components 1
112114
&& source activate neuro
113115
&& pip install --no-cache-dir -e /src/pybids" \

nipype/algorithms/confounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..utils import NUMPY_MMAP
2525
from ..utils.misc import normalize_mc_params
2626

27-
IFLOGGER = logging.getLogger('interface')
27+
IFLOGGER = logging.getLogger('nipype.interface')
2828

2929

3030
class ComputeDVARSInputSpec(BaseInterfaceInputSpec):

nipype/algorithms/mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
BaseInterfaceInputSpec)
1818
from ..interfaces.vtkbase import tvtk
1919
from ..interfaces import vtkbase as VTKInfo
20-
IFLOGGER = logging.getLogger('interface')
20+
IFLOGGER = logging.getLogger('nipype.interface')
2121

2222

2323
class TVTKBaseInterface(BaseInterface):

nipype/algorithms/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
isdefined)
2727
from ..interfaces.nipy.base import NipyBaseInterface
2828

29-
iflogger = logging.getLogger('interface')
29+
iflogger = logging.getLogger('nipype.interface')
3030

3131

3232
class DistanceInputSpec(BaseInterfaceInputSpec):

nipype/algorithms/misc.py

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

3232
from . import confounds
3333

34-
iflogger = logging.getLogger('interface')
34+
iflogger = logging.getLogger('nipype.interface')
3535

3636

3737
class PickAtlasInputSpec(BaseInterfaceInputSpec):

nipype/algorithms/modelgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from ..utils.filemanip import ensure_list
3030
from ..utils.misc import normalize_mc_params
3131
from .. import config, logging
32-
iflogger = logging.getLogger('interface')
32+
iflogger = logging.getLogger('nipype.interface')
3333

3434

3535
def gcd(a, b):

nipype/algorithms/rapidart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from ..utils.filemanip import ensure_list, save_json, split_filename
3232
from ..utils.misc import find_indices, normalize_mc_params
3333
from .. import logging, config
34-
iflogger = logging.getLogger('interface')
34+
iflogger = logging.getLogger('nipype.interface')
3535

3636

3737
def _get_affine_matrix(params, source):

nipype/algorithms/tests/test_auto_ACompCor.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_ACompCor_inputs():
88
components_file=dict(usedefault=True, ),
99
header_prefix=dict(),
1010
high_pass_cutoff=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
ignore_initial_volumes=dict(usedefault=True, ),
1712
mask_files=dict(),
1813
mask_index=dict(

nipype/algorithms/tests/test_auto_ActivationCount.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ActivationCount_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_files=dict(mandatory=True, ),
149
threshold=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_AddCSVRow.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
def test_AddCSVRow_inputs():
77
input_map = dict(
88
_outputs=dict(usedefault=True, ),
9-
ignore_exception=dict(
10-
deprecated='1.0.0',
11-
nohash=True,
12-
usedefault=True,
13-
),
149
in_file=dict(mandatory=True, ),
1510
)
1611
inputs = AddCSVRow.input_spec()

nipype/algorithms/tests/test_auto_ArtifactDetect.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ def test_ArtifactDetect_inputs():
77
input_map = dict(
88
bound_by_brainmask=dict(usedefault=True, ),
99
global_threshold=dict(usedefault=True, ),
10-
ignore_exception=dict(
11-
deprecated='1.0.0',
12-
nohash=True,
13-
usedefault=True,
14-
),
1510
intersect_mask=dict(usedefault=True, ),
1611
mask_file=dict(),
1712
mask_threshold=dict(),

nipype/algorithms/tests/test_auto_CalculateMedian.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_CalculateMedian_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_files=dict(),
149
median_file=dict(),
1510
median_per_file=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_ComputeDVARS.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_ComputeDVARS_inputs():
88
figdpi=dict(usedefault=True, ),
99
figformat=dict(usedefault=True, ),
1010
figsize=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
in_file=dict(mandatory=True, ),
1712
in_mask=dict(mandatory=True, ),
1813
intensity_normalization=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_ComputeMeshWarp.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ComputeMeshWarp_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
metric=dict(usedefault=True, ),
149
out_file=dict(usedefault=True, ),
1510
out_warp=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_CreateNifti.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_CreateNifti_inputs():
88
affine=dict(),
99
data_file=dict(mandatory=True, ),
1010
header_file=dict(mandatory=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
)
1712
inputs = CreateNifti.input_spec()
1813

nipype/algorithms/tests/test_auto_Distance.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_Distance_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
mask_volume=dict(),
149
method=dict(usedefault=True, ),
1510
volume1=dict(mandatory=True, ),

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ def test_FramewiseDisplacement_inputs():
77
input_map = dict(
88
figdpi=dict(usedefault=True, ),
99
figsize=dict(usedefault=True, ),
10-
ignore_exception=dict(
11-
deprecated='1.0.0',
12-
nohash=True,
13-
usedefault=True,
14-
),
1510
in_file=dict(mandatory=True, ),
1611
normalize=dict(usedefault=True, ),
1712
out_figure=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_FuzzyOverlap.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_FuzzyOverlap_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
in_mask=dict(),
149
in_ref=dict(mandatory=True, ),
1510
in_tst=dict(mandatory=True, ),

nipype/algorithms/tests/test_auto_Gunzip.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55

66
def test_Gunzip_inputs():
7-
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
13-
in_file=dict(mandatory=True, ),
14-
)
7+
input_map = dict(in_file=dict(mandatory=True, ), )
158
inputs = Gunzip.input_spec()
169

1710
for key, metadata in list(input_map.items()):

nipype/algorithms/tests/test_auto_ICC.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ICC_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
mask=dict(mandatory=True, ),
149
subjects_sessions=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_MeshWarpMaths.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
def test_MeshWarpMaths_inputs():
77
input_map = dict(
88
float_trait=dict(),
9-
ignore_exception=dict(
10-
deprecated='1.0.0',
11-
nohash=True,
12-
usedefault=True,
13-
),
149
in_surf=dict(mandatory=True, ),
1510
operation=dict(usedefault=True, ),
1611
operator=dict(

nipype/algorithms/tests/test_auto_ModifyAffine.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_ModifyAffine_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
transformation_matrix=dict(usedefault=True, ),
149
volumes=dict(mandatory=True, ),
1510
)

nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55

66
def test_NonSteadyStateDetector_inputs():
7-
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
13-
in_file=dict(mandatory=True, ),
14-
)
7+
input_map = dict(in_file=dict(mandatory=True, ), )
158
inputs = NonSteadyStateDetector.input_spec()
169

1710
for key, metadata in list(input_map.items()):

nipype/algorithms/tests/test_auto_P2PDistance.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55

66
def test_P2PDistance_inputs():
77
input_map = dict(
8-
ignore_exception=dict(
9-
deprecated='1.0.0',
10-
nohash=True,
11-
usedefault=True,
12-
),
138
metric=dict(usedefault=True, ),
149
out_file=dict(usedefault=True, ),
1510
out_warp=dict(usedefault=True, ),

nipype/algorithms/tests/test_auto_PickAtlas.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ def test_PickAtlas_inputs():
88
atlas=dict(mandatory=True, ),
99
dilation_size=dict(usedefault=True, ),
1010
hemi=dict(usedefault=True, ),
11-
ignore_exception=dict(
12-
deprecated='1.0.0',
13-
nohash=True,
14-
usedefault=True,
15-
),
1611
labels=dict(mandatory=True, ),
1712
output_file=dict(),
1813
)

0 commit comments

Comments
 (0)