Skip to content

Commit 16ed327

Browse files
committed
Merge branch 'master' into ants_regsynquick
2 parents fbf24fa + cc750f4 commit 16ed327

File tree

7 files changed

+77
-35
lines changed

7 files changed

+77
-35
lines changed

.circleci/config.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,28 @@ jobs:
183183
- run: *_run_codecov_coverage
184184
- store_artifacts: *store_artifacts_kwds
185185
- store_test_results: *store_artifacts_kwds
186+
- run:
187+
name: Build docs (py36)
188+
no_output_timeout: 30m
189+
environment: *test_environment
190+
command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh
191+
- store_artifacts:
192+
path: /home/circleci/work/docs
193+
- run:
194+
name: Save Docker images to workspace if on master
195+
no_output_timeout: 60m
196+
command: |
197+
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
198+
docker save nipype/nipype:base \
199+
nipype/nipype:latest \
200+
nipype/nipype:py27 \
201+
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
202+
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
203+
fi
204+
- persist_to_workspace:
205+
root: /tmp
206+
paths:
207+
- docker
186208

187209
test_py3_fmri_fsl_spm:
188210
machine: *machine_kwds
@@ -200,11 +222,6 @@ jobs:
200222
- run: *_get_codecov
201223
- run: *_download_test_data
202224
- run: *prepare_working_directory
203-
- run:
204-
name: Run FSL FEEDS pipeline (py36)
205-
no_output_timeout: 40m
206-
environment: *test_environment
207-
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
208225
- run:
209226
name: Run FSL reuse pipeline (py36)
210227
no_output_timeout: 40m
@@ -252,7 +269,7 @@ jobs:
252269
- run: *_run_codecov_smoke
253270
- store_artifacts: *store_artifacts_kwds
254271

255-
test_fmri_spm_nested_multiproc:
272+
test_fmri_spm_nested_fsl_feeds:
256273
machine: *machine_kwds
257274
working_directory: /home/circleci/nipype
258275
steps:
@@ -279,30 +296,13 @@ jobs:
279296
no_output_timeout: 30m
280297
environment: *test_environment
281298
command: bash -ux /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
282-
- run: *_run_codecov_smoke
283-
- store_artifacts: *store_artifacts_kwds
284299
- run:
285-
name: Build docs (py36)
286-
no_output_timeout: 30m
300+
name: Run FSL FEEDS pipeline (py36)
301+
no_output_timeout: 40m
287302
environment: *test_environment
288-
command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh
289-
- store_artifacts:
290-
path: /home/circleci/work/docs
291-
- run:
292-
name: Save Docker images to workspace if on master
293-
no_output_timeout: 60m
294-
command: |
295-
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
296-
docker save nipype/nipype:base \
297-
nipype/nipype:latest \
298-
nipype/nipype:py27 \
299-
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
300-
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
301-
fi
302-
- persist_to_workspace:
303-
root: /tmp
304-
paths:
305-
- docker
303+
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
304+
- run: *_run_codecov_smoke
305+
- store_artifacts: *store_artifacts_kwds
306306

307307
deploy:
308308
docker:
@@ -350,7 +350,7 @@ workflows:
350350
- test_py3_fmri_spm_dartel_multiproc:
351351
requires:
352352
- compare_base_dockerfiles
353-
- test_fmri_spm_nested_multiproc:
353+
- test_fmri_spm_nested_fsl_feeds:
354354
requires:
355355
- compare_base_dockerfiles
356356
- deploy:
@@ -359,6 +359,6 @@ workflows:
359359
only: master
360360
requires:
361361
- test_pytest
362-
- test_fmri_spm_nested_multiproc
362+
- test_fmri_spm_nested_fsl_feeds
363363
- test_py3_fmri_fsl_spm
364364
- test_py3_fmri_spm_dartel_multiproc

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ before_install:
4040
fi;
4141

4242
# handle python operations separately to reduce timeouts
43-
- wget https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
43+
- wget https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.31-Linux-x86_64.sh
4444
-O /home/travis/.cache/conda.sh
4545
- bash ${HOME}/.cache/conda.sh -b -p ${HOME}/conda
4646
- export PATH=${HOME}/conda/bin:$PATH

.zenodo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,10 @@
605605
"affiliation": "MIT, HMS",
606606
"name": "Ghosh, Satrajit",
607607
"orcid": "0000-0002-5312-6729"
608+
},
609+
{
610+
"affiliation": "Vrije Universiteit Amsterdam",
611+
"name": "Ort, Eduard"
608612
}
609613
],
610614
"keywords": [

CHANGES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
Upcoming release
2-
================
3-
41
1.0.0 (January 24, 2018)
52
========================
63

docker/generate_dockerfiles.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function generate_main_dockerfile() {
8888
--user neuro \
8989
--miniconda env_name=neuro \
9090
activate=true \
91+
miniconda_version=4.3.31 \
9192
--copy docker/files/run_builddocs.sh docker/files/run_examples.sh \
9293
docker/files/run_pytests.sh nipype/external/fsl_imglob.py /usr/bin/ \
9394
--copy . /src/nipype \

nipype/algorithms/confounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def _run_interface(self, runtime):
532532
# Derive TR from NIfTI header, if possible
533533
try:
534534
TR = imgseries.header.get_zooms()[3]
535-
if imgseries.get_xyzt_units()[1] == 'msec':
535+
if imgseries.header.get_xyzt_units()[1] == 'msec':
536536
TR /= 1000
537537
except (AttributeError, IndexError):
538538
TR = 0

tools/update_changes.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/bin/bash
2+
#
3+
# Collects the pull-requests since the latest release and
4+
# aranges them in the CHANGES.txt file.
5+
#
6+
# This is a script to be run before releasing a new version.
7+
#
8+
# Usage /bin/bash update_changes.sh 1.0.1
9+
#
10+
11+
# Setting # $ help set
12+
set -u # Treat unset variables as an error when substituting.
13+
set -x # Print command traces before executing command.
14+
15+
# Check whether the Upcoming release header is present
16+
head -1 CHANGES | grep -q Upcoming
17+
UPCOMING=$?
18+
19+
# Elaborate today's release header
20+
HEADER="$1 ($(date '+%B %d, %Y'))"
21+
echo $HEADER >> newchanges
22+
echo $( printf "%${#HEADER}s" | tr " " "=" ) >> newchanges
23+
echo "" >> newchanges
24+
25+
# Search for PRs since previous release
26+
git log --grep="Merge pull request" `git describe --tags --abbrev=0`..HEAD --pretty='format: * %b %s' | sed 's+Merge pull request \#\([^\d]*\)\ from\ .*+(https://github.com/nipy/nipype/pull/\1)+' >> newchanges
27+
echo "" >> newchanges
28+
echo "" >> newchanges
29+
30+
# Append old CHANGES
31+
if [[ "$UPCOMING" == "0" ]]; then
32+
# Drop the Upcoming title if present
33+
tail -n+4 CHANGES >> newchanges
34+
else
35+
cat CHANGES >> newchanges
36+
fi
37+
38+
# Replace old CHANGES with new file
39+
mv newchanges CHANGES
40+

0 commit comments

Comments
 (0)