Skip to content

Commit e373173

Browse files
authored
Merge branch 'nipy:master' into master
2 parents b897c1e + f756b71 commit e373173

Some content is hidden

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

52 files changed

+1013
-234
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_machine_kwds: &machine_kwds
2-
image: circleci/classic:201808-01
2+
image: ubuntu-2004:202107-02
33

44
_store_artifacts_kwds: &store_artifacts_kwds
55
path: /home/circleci/work/tests
@@ -43,15 +43,15 @@ _get_base_image: &get_base_image
4343
exit 1
4444
fi
4545
46-
_build_main_image_py36: &build_main_image_py36
47-
name: Build main image (py36)
46+
_build_main_image_py38: &build_main_image_py38
47+
name: Build main image (py38)
4848
no_output_timeout: 60m
4949
command: |
5050
tools/retry_cmd.sh -n 5 -s 15 \
5151
docker build \
5252
--rm=false \
5353
--tag nipype/nipype:latest \
54-
--tag nipype/nipype:py36 \
54+
--tag nipype/nipype:py38 \
5555
$(test -z "${CIRCLE_TAG}" || echo --tag nipype/nipype:"${CIRCLE_TAG}") \
5656
--build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \
5757
--build-arg VCS_REF="$(git rev-parse --short HEAD)" \
@@ -146,7 +146,7 @@ jobs:
146146
- run: *generate_dockerfiles
147147
- run: *modify_nipype_version
148148
- run: *get_base_image
149-
- run: *build_main_image_py36
149+
- run: *build_main_image_py38
150150
- run: *_get_codecov
151151
- run: *_download_test_data
152152
- run: *prepare_working_directory
@@ -165,8 +165,8 @@ jobs:
165165
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
166166
docker save nipype/nipype:base \
167167
nipype/nipype:latest \
168-
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36.tar.gz \
169-
&& du -h /tmp/docker/nipype-base-latest-py36.tar.gz
168+
nipype/nipype:py38 | gzip -1 > /tmp/docker/nipype-base-latest-py38.tar.gz \
169+
&& du -h /tmp/docker/nipype-base-latest-py38.tar.gz
170170
fi
171171
- persist_to_workspace:
172172
root: /tmp
@@ -184,15 +184,15 @@ jobs:
184184
name: Load saved Docker images.
185185
no_output_timeout: 60m
186186
command: |
187-
docker load < /tmp/docker/nipype-base-latest-py36.tar.gz
187+
docker load < /tmp/docker/nipype-base-latest-py38.tar.gz
188188
- run:
189189
name: Push to DockerHub
190190
no_output_timeout: 120m
191191
command: |
192192
echo "$DOCKER_PASS" | docker login -u "$DOCKER_USER" --password-stdin
193193
docker push nipype/nipype:base
194194
docker push nipype/nipype:latest
195-
docker push nipype/nipype:py36
195+
docker push nipype/nipype:py38
196196
test -z "${CIRCLE_TAG}" || docker push nipype/nipype:"${CIRCLE_TAG}"
197197
- run:
198198
name: Move pruned Dockerfile to /tmp/docker/cache directory

.circleci/test_pytest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker run --rm=false -t -v $WORKDIR:/work -v $HOME/examples:/data/examples:ro -w /work -e CI_SKIP_TEST=1 -e NIPYPE_RESOURCE_MONITOR=1 "${DOCKER_IMAGE}:py36" /usr/bin/run_pytests.sh
3+
docker run --rm=false -t -v $WORKDIR:/work -v $HOME/examples:/data/examples:ro -w /work -e CI_SKIP_TEST=1 -e NIPYPE_RESOURCE_MONITOR=1 "${DOCKER_IMAGE}:py38" /usr/bin/run_pytests.sh

.mailmap

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Alexander Schaefer <alexschaefer83@gmail.com> <aschaefer@melisse.cbs.mpg.de>
1010
Alexander Schaefer <alexschaefer83@gmail.com> <aschaefer@aschaefer-U36SD.(none)>
1111
Alexandre M. Savio <alexsavio@gmail.com>
1212
Alexandre M. Savio <alexsavio@gmail.com> <alexsavio@users.noreply.github.com>
13+
Andrea Dell'Orco <orco@paranoici.org>
1314
Andrew Floren <andrewfloren@gmail.com>
1415
Andrey Chetverikov <stop.psy@gmail.com>
1516
Andrey Chetverikov <stop.psy@gmail.com> <achetverikov@users.noreply.github.com>
@@ -144,6 +145,7 @@ Michael Waskom <michael.l.waskom@gmail.com> <mwaskom@stanford.edu>
144145
Miguel Molina-Romero <miguel.molina.romero@gmail.com>
145146
Murat Bilgel <bilgelm@gmail.com> <murat.bilgel@nih.gov>
146147
Nat Lee <vip3268@gmail.com>
148+
Ole Numssen <numssen@cbs.mpg.de>
147149
Oliver Contier <o.contier@gmail.com> <oliver.contier@ovgu.de>
148150
Olivia Stanley <oliviawstanley@gmail.com>
149151
Oscar Esteban <code@oscaresteban.es>

.zenodo.json

+34-9
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@
148148
"name": "Visconti di Oleggio Castello, Matteo",
149149
"orcid": "0000-0001-7931-5272"
150150
},
151-
{
152-
"affiliation": "Shattuck Lab, UCLA Brain Mapping Center",
153-
"name": "Wong, Jason"
154-
},
155151
{
156152
"affiliation": "University of Texas at Austin",
157153
"name": "De La Vega, Alejandro",
158154
"orcid": "0000-0001-9062-3778"
159155
},
156+
{
157+
"affiliation": "Shattuck Lab, UCLA Brain Mapping Center",
158+
"name": "Wong, Jason"
159+
},
160160
{
161161
"affiliation": "MIT",
162162
"name": "Kaczmarzyk, Jakub",
@@ -217,6 +217,11 @@
217217
"name": "de Hollander, Gilles",
218218
"orcid": "0000-0003-1988-5091"
219219
},
220+
{
221+
"affiliation": "Charit\u00e8 Universit\u00e4tsmedizin Berlin, Germany",
222+
"name": "Dell'Orco, Andrea",
223+
"orcid": "0000-0002-3964-8360"
224+
},
220225
{
221226
"affiliation": "University College London",
222227
"name": "Eshaghi, Arman",
@@ -251,6 +256,11 @@
251256
{
252257
"name": "Mordom, David"
253258
},
259+
{
260+
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
261+
"name": "Waller, Lea",
262+
"orcid": "0000-0002-3239-6957"
263+
},
254264
{
255265
"affiliation": "CIBIT, UC",
256266
"name": "Machado, F\u00e1tima",
@@ -261,11 +271,6 @@
261271
"name": "Guillon, Je\u0301re\u0301my",
262272
"orcid": "0000-0002-2672-7510"
263273
},
264-
{
265-
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
266-
"name": "Waller, Lea",
267-
"orcid": "0000-0002-3239-6957"
268-
},
269274
{
270275
"affiliation": "Indiana University, IN, USA",
271276
"name": "Koudoro, Serge"
@@ -313,6 +318,11 @@
313318
"name": "Geisler, Daniel",
314319
"orcid": "0000-0003-2076-5329"
315320
},
321+
{
322+
"affiliation": "Division of Psychological and Social Medicine and Developmental Neuroscience, Faculty of Medicine, Technische Universit\u00e4t Dresden, Dresden, Germany",
323+
"name": "Bernardoni, Fabio",
324+
"orcid": "0000-0002-5112-405X"
325+
},
316326
{
317327
"name": "Salvatore, John"
318328
},
@@ -726,6 +736,11 @@
726736
"affiliation": "Universidad de Guadalajara",
727737
"name": "Gonz\u00e1lez Orozco, Abel A."
728738
},
739+
{
740+
"affiliation": "ARAMIS Lab",
741+
"name": "Routier, Alexandre",
742+
"orcid": "0000-0003-1603-8049"
743+
},
729744
{
730745
"name": "Marina, Ana"
731746
},
@@ -794,9 +809,19 @@
794809
"name": "Pannetier, Nicolas",
795810
"orcid": "0000-0002-0744-5155"
796811
},
812+
{
813+
"affiliation": "Max Planck Institute for Human Cognitive and Brain Sciences",
814+
"name": "Numssen, Ole",
815+
"orcid": "0000-0001-7164-2682"
816+
},
797817
{
798818
"name": "Khanuja, Ranjeet"
799819
},
820+
{
821+
"affiliation": "University of Waterloo",
822+
"name": "Mukhometzianov, Rinat",
823+
"orcid": "0000-0003-1274-4827"
824+
},
800825
{
801826
"name": "Urchs, Sebastian"
802827
},

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Python 2 Statement
8282

8383
Python 2.7 reaches its end-of-life in January 2020, which means it will
8484
*no longer be maintained* by Python developers. `Many projects
85-
<https://python3statement.org/`__ are removing support in advance of this
85+
<https://python3statement.org/>`__ are removing support in advance of this
8686
deadline, which will make it increasingly untenable to try to support
8787
Python 2, even if we wanted to.
8888

doc/_static/nipype.css

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ body {
55
min-width: 70em;
66
}
77

8+
div.sphinxsidebar {
9+
position: relative;
10+
}
11+
812
div.sphinxsidebar h4, div.sphinxsidebar h3 {
913
background-color: #2F83C8;
1014
}

doc/_templates/layout.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
{% set title = 'Neuroimaging in Python - Pipelines and Interfaces' %}
33
{% set short_title = 'Nipype' %}
44

5+
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
6+
{% block sidebar2 %}{% endblock %}
7+
58
{% block extrahead %}
69
{{ super() }}
710
<meta name="keywords" content="nipype, neuroimaging, pipeline, workflow, parallel, python, neuroscience">
@@ -42,8 +45,6 @@
4245

4346
{% block relbar1 %}{% endblock %}
4447
{% block relbar2 %}{% endblock %}
45-
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
46-
{% block sidebar2 %}{% endblock %}
4748

4849
{% block footer %}
4950
{{ super() }}

doc/_templates/navbar.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<link rel="stylesheet" href="https://www.google.com/cse/style/look/default.css" type="text/css" />
22
<style type="text/css">
33
a.navbar {
4-
color: {{ theme_linkcolor }};
54
letter-spacing: .05em;
65
font-weight: bold;
76
}

doc/changelog/1.X.X-changelog.rst

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
1.7.0 (October 20, 2021)
2+
========================
3+
4+
(`Full changelog <https://github.com/nipy/nipype/milestone/1.7.0?closed=1>`__)
5+
6+
* FIX: Make ants.LaplacianThickness output_image a string, not file (https://github.com/nipy/nipype/pull/3393)
7+
* FIX: coord for mrconvert (https://github.com/nipy/nipype/pull/3369)
8+
* FIX: ``antsRegistration`` allows the ``restrict_deformation`` to be float (https://github.com/nipy/nipype/pull/3387)
9+
* FIX: Also allow `errno.EBUSY` during `emptydirs` on NFS (https://github.com/nipy/nipype/pull/3357)
10+
* FIX: Removed exists=True from MathsOutput (https://github.com/nipy/nipype/pull/3385)
11+
* FIX: Extension not extensions, after pybids v0.9 (https://github.com/nipy/nipype/pull/3380)
12+
* ENH: Add CAT12 SANLM denoising filter (https://github.com/nipy/nipype/pull/3374)
13+
* ENH: Add expected steps for FreeSurfer 7 recon-all (https://github.com/nipy/nipype/pull/3389)
14+
* ENH: Stop printing false positive differences when logging cached nodes (https://github.com/nipy/nipype/pull/3376)
15+
* ENH: Add new flags to MRtrix/preprocess.py (DWI2Tensor, MRtransform) (https://github.com/nipy/nipype/pull/3365)
16+
* ENH: ``verbose`` input should not be hashed in ``ants.Registration`` (https://github.com/nipy/nipype/pull/3377)
17+
* REF: Clean-up the BaseInterface ``run()`` function using context (https://github.com/nipy/nipype/pull/3347)
18+
* DOC: Fix typo in README (https://github.com/nipy/nipype/pull/3386)
19+
* STY: Make private member name consistent with the rest of them (https://github.com/nipy/nipype/pull/3346)
20+
* MNT: Simplify interface execution and better error handling of ``Node`` (https://github.com/nipy/nipype/pull/3349)
21+
* MNT: Add user name and email to Docker to appease git/annex/datalad (https://github.com/nipy/nipype/pull/3378)
22+
* CI: Update CircleCI machine image (https://github.com/nipy/nipype/pull/3391)
23+
124
1.6.1 (June 16, 2021)
225
=====================
326

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152

153153
# General information about the project.
154154
project = u"nipype"
155-
copyright = u"2009-20, Neuroimaging in Python team"
155+
copyright = u"2009-21, Neuroimaging in Python team"
156156

157157
# The version info for the project you're documenting, acts as replacement for
158158
# |version| and |release|, also used in various other places throughout the

doc/devel/testing_nipype.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,15 @@ Testing Nipype using Docker
9090
Nipype is tested inside Docker containers and users can use nipype images to test local versions.
9191
First, install the `Docker Engine <https://docs.docker.com/engine/installation/>`_.
9292
Nipype has one base docker image called nipype/nipype:base, that contains several useful tools
93-
(FreeSurfer, AFNI, FSL, ANTs, etc.), and additional test images
94-
for specific Python versions: py27 for Python 2.7 and py36 for Python 3.6.
93+
(FreeSurfer, AFNI, FSL, ANTs, etc.), and an additional test image for Python 3.8:
9594

96-
Users can pull the nipype image for Python 3.6 as follows::
95+
Users can pull the nipype image for Python 3.8 as follows::
9796

98-
docker pull nipype/nipype:py36
97+
docker pull nipype/nipype:py38
9998

10099
In order to test a local version of nipype you can run test within container as follows::
101100

102-
docker run -it -v $PWD:/src/nipype --rm nipype/nipype:py36 py.test -v --doctest-modules /src/nipype/nipype
101+
docker run -it -v $PWD:/src/nipype --rm nipype/nipype:py38 py.test -v --doctest-modules /src/nipype/nipype
103102

104103

105104
Additional comments

doc/interfaces.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Interfaces and Workflows
88
:Release: |version|
99
:Date: |today|
1010

11-
Previous versions: `1.6.0 <http://nipype.readthedocs.io/en/1.6.0/>`_ `1.5.1 <http://nipype.readthedocs.io/en/1.5.1/>`_
11+
Previous versions: `1.7.0 <http://nipype.readthedocs.io/en/1.7.0/>`_ `1.6.1 <http://nipype.readthedocs.io/en/1.6.1/>`_
1212

1313
Workflows
1414
---------

docker/generate_dockerfiles.sh

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ function generate_main_dockerfile() {
8989
OMP_NUM_THREADS=1 \
9090
--arg PYTHON_VERSION_MAJOR=3 PYTHON_VERSION_MINOR=8 BUILD_DATE VCS_REF VERSION \
9191
--user neuro \
92+
--run 'git config --global user.name nipybot
93+
&& git config --global user.email "nipybot@gmail.com"' \
9294
--workdir /home/neuro \
9395
--miniconda create_env=neuro \
9496
conda_install='python=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}

0 commit comments

Comments
 (0)