Skip to content

Commit b567e0a

Browse files
committed
Merge remote-tracking branch 'upstream/master' into dtitk
2 parents 80a4262 + 157d3bd commit b567e0a

File tree

1,257 files changed

+83109
-64757
lines changed

Some content is hidden

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

1,257 files changed

+83109
-64757
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Vagrantfile
3434
.mailmap
3535

3636
# Previous coverage results
37-
.coverage
37+
.coverage

.zenodo.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,16 @@
563563
"affiliation": "MIT, HMS",
564564
"name": "Ghosh, Satrajit",
565565
"orcid": "0000-0002-5312-6729"
566+
},
567+
{
568+
"affiliation": "University College London",
569+
"name": "Mancini, Matteo",
570+
"orcid": "0000-0001-7194-4568"
571+
},
572+
{
573+
"affiliation": "Donders Institute for Brain, Cognition and Behavior, Center for Cognitive Neuroimaging",
574+
"name": "Chetverikov, Andrey",
575+
"orcid": "0000-0003-2767-6310"
566576
}
567577
],
568578
"keywords": [

CHANGES

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Upcoming release (0.14.1)
2-
================
3-
2+
=========================
3+
4+
* ENH: Add AFNI interface for 3dConvertDset (https://github.com/nipy/nipype/pull/2337)
5+
* MAINT: Cleanup EngineBase (https://github.com/nipy/nipype/pull/2376)
6+
* FIX: Robustly handled outputs of 3dFWHMx across different versions of AFNI (https://github.com/nipy/nipype/pull/2373)
7+
* FIX: Cluster threshold in randomise + change default prefix (https://github.com/nipy/nipype/pull/2369)
8+
* MAINT: Cleaning / simplify ``Node`` (https://github.com/nipy/nipype/pull/2325)
9+
* STY: Cleanup of PEP8 violations (https://github.com/nipy/nipype/pull/2358)
10+
* STY: Cleanup of trailing spaces and adding of missing newlines at end of files (https://github.com/nipy/nipype/pull/2355)
411

512
0.14.0 (November 29, 2017)
613
==========================

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* The person who accepts/merges your PR will include an update to the CHANGES file: prefix: description (URL of pull request)
1717
* Run `make check-before-commit` before submitting the PR.
1818
This will require you to either install or be in developer mode with: `python setup.py install/develop`.
19-
* In general, do not catch exceptions without good reason.
20-
* catching non-fatal exceptions.
19+
* In general, do not catch exceptions without good reason.
20+
* catching non-fatal exceptions.
2121
Log the exception as a warning.
2222
* adding more information about what may have caused the error.
2323
Raise a new exception using ``raise_from(NewException("message"), oldException)`` from ``future``.

build_docs.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
99
python setup.py build_sphinx
1010
"""
11-
from __future__ import print_function, division, unicode_literals, absolute_import
11+
from __future__ import (print_function, division, unicode_literals,
12+
absolute_import)
1213
from builtins import open, str
1314

1415
# Standard library imports
@@ -28,7 +29,7 @@
2829
DOC_BUILD_DIR = os.path.join('doc', '_build', 'html')
2930
DOC_DOCTREES_DIR = os.path.join('doc', '_build', 'doctrees')
3031

31-
################################################################################
32+
###############################################################################
3233
# Distutils Command class for installing nipype to a temporary location.
3334

3435

@@ -63,7 +64,7 @@ def finalize_options(self):
6364
pass
6465

6566

66-
################################################################################
67+
###############################################################################
6768
# Distutils Command class for API generation
6869
class APIDocs(TempInstall):
6970
description = \
@@ -93,7 +94,7 @@ def run(self):
9394
os.chdir('..')
9495

9596

96-
################################################################################
97+
###############################################################################
9798
# Code to copy the sphinx-generated html docs in the distribution.
9899
def relative_path(filename):
99100
""" Return the relative path to the file, assuming the file is
@@ -103,7 +104,7 @@ def relative_path(filename):
103104
return os.path.abspath(filename)[length:]
104105

105106

106-
################################################################################
107+
###############################################################################
107108
# Distutils Command class build the docs
108109
# Sphinx import.
109110
try:
@@ -165,7 +166,7 @@ def finalize_options(self):
165166
self.build_dir = os.path.join(*DOC_BUILD_DIR.split(os.sep)[:-1])
166167
BuildDoc.finalize_options(self)
167168

168-
################################################################################
169+
###############################################################################
169170
# Distutils Command class to clean
170171

171172

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ coverage:
2525
ignore: # files and folders that will be removed during processing
2626
- "nipype/external/*"
2727
- "tools/*"
28-
- "doc/*"
28+
- "doc/*"

doc/_static/nipype.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ div.doc2.container ul{
5757

5858
div.doc2 .reference.internal{
5959
font-size: 14px;
60-
}
60+
}

doc/devel/gitwash/git_links.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
and name substitutions. It may be included in many files,
33
therefore it should only contain link targets and name
44
substitutions. Try grepping for "^\.\. _" to find plausible
5-
candidates for this list.
5+
candidates for this list.
66
77
.. NOTE: reST targets are
88
__not_case_sensitive__, so only one target definition is needed for
@@ -42,7 +42,7 @@
4242
.. _git config: http://www.kernel.org/pub/software/scm/git/docs/git-config.html
4343
.. _why the -a flag?: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
4444
.. _git staging area: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
45-
.. _tangled working copy problem: http://tomayko.com/writings/the-thing-about-git
45+
.. _tangled working copy problem: http://tomayko.com/writings/the-thing-about-git
4646
.. _git management: http://kerneltrap.org/Linux/Git_Management
4747
.. _linux git workflow: http://www.mail-archive.com/[email protected]/msg39091.html
4848
.. _git parable: http://tom.preston-werner.com/2009/05/19/the-git-parable.html

doc/searchresults.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ Search results
170170
.gsc-resultsHeader {
171171
clear: none;
172172
}
173-
</style>
173+
</style>

doc/sphinxext/autosummary_generate.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def main():
3939
help="Phantom import modules from a file")
4040
p.add_option("-o", "--output-dir", action="store", type="string",
4141
dest="output_dir", default=None,
42-
help=("Write all output files to the given directory (instead "
43-
"of writing them as specified in the autosummary:: "
44-
"directives)"))
42+
help=("Write all output files to the given directory "
43+
"(instead of writing them as specified in the "
44+
"autosummary:: directives)"))
4545
options, args = p.parse_args()
4646

4747
if len(args) == 0:
@@ -161,9 +161,12 @@ def get_documented_in_lines(lines, module=None, filename=None):
161161
162162
"""
163163
title_underline_re = re.compile("^[-=*_^#]{3,}\s*$")
164-
autodoc_re = re.compile(".. auto(function|method|attribute|class|exception|module)::\s*([A-Za-z0-9_.]+)\s*$")
164+
autodoc_re = re.compile(
165+
".. auto(function|method|attribute|class|exception|module)::"
166+
"\s*([A-Za-z0-9_.]+)\s*$")
165167
autosummary_re = re.compile(r'^\.\.\s+autosummary::\s*')
166-
module_re = re.compile(r'^\.\.\s+(current)?module::\s*([a-zA-Z0-9_.]+)\s*$')
168+
module_re = re.compile(
169+
r'^\.\.\s+(current)?module::\s*([a-zA-Z0-9_.]+)\s*$')
167170
autosummary_item_re = re.compile(r'^\s+([_a-zA-Z][a-zA-Z0-9_.]*)\s*.*?')
168171
toctree_arg_re = re.compile(r'^\s+:toctree:\s*(.*?)\s*$')
169172

@@ -189,7 +192,8 @@ def get_documented_in_lines(lines, module=None, filename=None):
189192
m = autosummary_item_re.match(line)
190193
if m:
191194
name = m.group(1).strip()
192-
if current_module and not name.startswith(current_module + '.'):
195+
if current_module and not name.startswith(
196+
current_module + '.'):
193197
name = "%s.%s" % (current_module, name)
194198
documented.setdefault(name, []).append(
195199
(filename, current_title, 'autosummary', toctree))
@@ -210,7 +214,8 @@ def get_documented_in_lines(lines, module=None, filename=None):
210214
current_module = name
211215
documented.update(get_documented_in_docstring(
212216
name, filename=filename))
213-
elif current_module and not name.startswith(current_module + '.'):
217+
elif current_module and not name.startswith(
218+
current_module + '.'):
214219
name = "%s.%s" % (current_module, name)
215220
documented.setdefault(name, []).append(
216221
(filename, current_title, "auto" + m.group(1), None))
@@ -230,5 +235,6 @@ def get_documented_in_lines(lines, module=None, filename=None):
230235

231236
return documented
232237

238+
233239
if __name__ == "__main__":
234240
main()

0 commit comments

Comments
 (0)