Skip to content

Commit 7727620

Browse files
committed
Merge remote-tracking branch 'upstream/master' into rf/upstream_tshift
2 parents 78b9c66 + 65078c9 commit 7727620

Some content is hidden

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

50 files changed

+1259
-218
lines changed

.circleci/config.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,8 @@ jobs:
202202
no_output_timeout: 2h
203203
command: |
204204
docker run -ti --rm=false \
205-
--entrypoint="/usr/local/miniconda/bin/py.test" \
206-
poldracklab/fmriprep:latest . \
207-
--doctest-modules --ignore=docs --ignore=setup.py
205+
--entrypoint="py.test" poldracklab/fmriprep:latest \
206+
/root/src/fmriprep/ --doctest-modules --ignore=docs --ignore=setup.py
208207
- run:
209208
name: Test fmriprep-wrapper (Python 2)
210209
command: |
@@ -268,7 +267,7 @@ jobs:
268267
docker run -ti --rm=false -v $PWD:/_build_html \
269268
--entrypoint=sphinx-build poldracklab/fmriprep:latest \
270269
-T -E -b html -d _build/doctrees-readthedocs -W -D \
271-
language=en docs/ /_build_html 2>&1 \
270+
language=en /root/src/fmriprep/docs/ /_build_html 2>&1 \
272271
| tee $PWD/builddocs.log
273272
cat $PWD/builddocs.log
274273
grep -qv "ERROR" $PWD/builddocs.log
@@ -327,7 +326,7 @@ jobs:
327326
sudo setfacl -d -m group:$(id -gn):rwx /tmp/ds005/work && \
328327
sudo setfacl -m group:$(id -gn):rwx /tmp/ds005/work
329328
fmriprep-docker -i poldracklab/fmriprep:latest \
330-
-e FMRIPREP_DEV 1 \
329+
-e FMRIPREP_DEV 1 -u $(id -u) \
331330
--config $PWD/nipype.cfg -w /tmp/ds005/work \
332331
/tmp/data/ds005 /tmp/ds005/derivatives participant \
333332
--debug --write-graph --mem_mb 4096 \
@@ -347,7 +346,7 @@ jobs:
347346
sudo setfacl -d -m group:$(id -gn):rwx /tmp/ds005/work && \
348347
sudo setfacl -m group:$(id -gn):rwx /tmp/ds005/work
349348
fmriprep-docker -i poldracklab/fmriprep:latest \
350-
-e FMRIPREP_DEV 1 \
349+
-e FMRIPREP_DEV 1 -u $(id -u) \
351350
--config $PWD/nipype.cfg -w /tmp/ds005/work \
352351
/tmp/data/ds005 /tmp/ds005/derivatives participant \
353352
--debug --write-graph --use-syn-sdc --mem_mb 4096 \
@@ -374,7 +373,7 @@ jobs:
374373
command: |
375374
rm /tmp/data/ds005/sub-01/func/*_run-02_*
376375
fmriprep-docker -i poldracklab/fmriprep:latest \
377-
-e FMRIPREP_DEV 1 \
376+
-e FMRIPREP_DEV 1 -u $(id -u) \
378377
--config $PWD/nipype.cfg -w /tmp/ds005/work \
379378
/tmp/data/ds005 /tmp/ds005/derivatives_partial participant \
380379
--debug --write-graph --use-syn-sdc --mem_mb 4096 \

.circleci/ds005_outputs.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
fmriprep
22
fmriprep/logs
3+
fmriprep/logs/CITATION.html
4+
fmriprep/logs/CITATION.md
5+
fmriprep/logs/CITATION.tex
36
fmriprep/sub-01
47
fmriprep/sub-01/anat
58
fmriprep/sub-01/anat/sub-01_T1w_brainmask.nii.gz

.circleci/ds005_partial_outputs.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
fmriprep
22
fmriprep/logs
3+
fmriprep/logs/CITATION.html
4+
fmriprep/logs/CITATION.md
5+
fmriprep/logs/CITATION.tex
36
fmriprep/sub-01
47
fmriprep/sub-01/anat
58
fmriprep/sub-01/anat/sub-01_T1w_brainmask.nii.gz

.circleci/ds054_outputs.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
fmriprep
22
fmriprep/logs
3+
fmriprep/logs/CITATION.html
4+
fmriprep/logs/CITATION.md
5+
fmriprep/logs/CITATION.tex
36
fmriprep/sub-100185
47
fmriprep/sub-100185/anat
58
fmriprep/sub-100185/anat/sub-100185_T1w_brainmask.nii.gz

.circleci/ds210_outputs.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
fmriprep
22
fmriprep/logs
3+
fmriprep/logs/CITATION.html
4+
fmriprep/logs/CITATION.md
5+
fmriprep/logs/CITATION.tex
36
fmriprep/sub-02
47
fmriprep/sub-02/anat
58
fmriprep/sub-02/anat/sub-02_T1w_brainmask.nii.gz

CHANGES.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
1.1.2 (July 6, 2018)
2+
====================
3+
4+
This release incorporates Nipype improvements that should reduce the
5+
chance of hanging if tasks are killed for excessive resource consumption.
6+
7+
Thanks to Elizabeth DuPre for documentation updates.
8+
9+
* [DOC] Clarify how to reuse FreeSurfer derivatives (#1189)
10+
* [DOC] Improve command line option documentation (#1186, #1080)
11+
* [MAINT] Update core dependencies (#1179, #1180)
12+
113
1.1.1 (June 7, 2018)
214
====================
315

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Contributing to FMRIPREP
1+
# Contributing to fMRIPrep
22

3-
Welcome to the FMRIPREP repository! We're excited you're here and want to contribute.
3+
Welcome to the fMRIPrep repository! We're excited you're here and want to contribute.
4+
5+
## Practical guide to submitting your contribution
46

57
These guidelines are designed to make it as easy as possible to get involved. If you have any questions that aren't discussed below, please let us know by opening an [issue][link_issues]!
68

@@ -30,7 +32,9 @@ We appreciate all contributions to FMRIPREP, but those accepted fastest will fol
3032

3133
**1. Comment on an existing issue or open a new issue referencing your addition.**
3234

33-
This allows other members of the FMRIPREP development team to confirm that you aren't overlapping with work that's currently underway and that everyone is on the same page with the goal of the work you're going to carry out.
35+
This allows other members of the FMRIPREP development team to confirm that you aren't
36+
overlapping with work that's currently underway and that everyone is on the same page
37+
with the goal of the work you're going to carry out.
3438

3539
[This blog][link_pushpullblog] is a nice explanation of why putting this work in up front is so useful to everyone involved.
3640

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ RUN conda install -y mkl=2018.0.3 mkl-service; sync &&\
113113
matplotlib=2.2.0 \
114114
pandas=0.23.0 \
115115
libxml2=2.9.4 \
116-
libxslt=1.1.29\
116+
libxslt=1.1.29 \
117117
traits=4.6.0; sync && \
118118
chmod -R a+rX /usr/local/miniconda; sync && \
119119
chmod +x /usr/local/miniconda/bin/*; sync && \
@@ -131,6 +131,11 @@ RUN apt-get update && \
131131
graphviz=2.38.0-12ubuntu2 && \
132132
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
133133

134+
# Install latest pandoc
135+
RUN curl -o pandoc-2.2.2.1-1-amd64.deb -sSL "https://github.com/jgm/pandoc/releases/download/2.2.2.1/pandoc-2.2.2.1-1-amd64.deb" && \
136+
dpkg -i pandoc-2.2.2.1-1-amd64.deb && \
137+
rm pandoc-2.2.2.1-1-amd64.deb
138+
134139
# Unless otherwise specified each process should only use one thread - nipype
135140
# will handle parallelization
136141
ENV MKL_NUM_THREADS=1 \
@@ -160,9 +165,7 @@ RUN echo "${VERSION}" > /root/src/fmriprep/fmriprep/VERSION && \
160165
rm -rf ~/.cache/pip
161166

162167
RUN ldconfig
163-
164-
WORKDIR /root/src/fmriprep
165-
168+
WORKDIR /tmp/
166169
ENTRYPOINT ["/usr/local/miniconda/bin/fmriprep"]
167170

168171
ARG BUILD_DATE
@@ -171,8 +174,9 @@ ARG VERSION
171174
LABEL org.label-schema.build-date=$BUILD_DATE \
172175
org.label-schema.name="FMRIPREP" \
173176
org.label-schema.description="FMRIPREP - robust fMRI preprocessing tool" \
174-
org.label-schema.url="http://fmriprep.readthedocs.io" \
177+
org.label-schema.url="http://fmriprep.org" \
175178
org.label-schema.vcs-ref=$VCS_REF \
176179
org.label-schema.vcs-url="https://github.com/poldracklab/fmriprep" \
177180
org.label-schema.version=$VERSION \
178181
org.label-schema.schema-version="1.0"
182+

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2017, the CRN developers team.
1+
Copyright (c) 2015-2018, the CRN developers team.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,30 @@ Principles
9090
the process and decide which subjects should be kept for the group level
9191
analysis.
9292

93+
94+
Limitations and reasons not to use ``fmriprep``
95+
-----------------------------------------------
96+
97+
1. Very narrow :abbr:`FoV (field-of-view)` images oftentimes do not contain
98+
enough information for standard image registration methods to work correctly.
99+
Also, problems may arise when extracting the brain from these data.
100+
Supporting these particular images is already a future line of the development
101+
road-map.
102+
2. ``fmriprep`` may also underperform for particular populations (e.g. infants) and
103+
non-human brains, although appropriate templates can be provided to overcome the
104+
issue.
105+
3. The "EPInorm" approach is currently not supported, although we plan to implement
106+
this feature (see `#857 <https://github.com/poldracklab/fmriprep/issues/857>`_).
107+
4. If you really want unlimited flexibility (which is obviously a double-edged sword).
108+
5. If you want students to suffer through implementing each step for didactic purposes,
109+
or to learn shell-scripting or Python along the way.
110+
6. If you are trying to reproduce some *in-house* lab pipeline.
111+
112+
(Reasons 4-6 were kindly provided by S. Nastase in his
113+
`open review <http://academickarma.org/review/j7d5501n779n>`__
114+
of our `pre-print <https://www.biorxiv.org/content/early/2018/05/06/306951>`__).
115+
116+
93117
Acknowledgements
94118
----------------
95119

0 commit comments

Comments
 (0)