Skip to content

Commit c92bf83

Browse files
authored
Merge pull request #1445 from oesteban/docs/update-natmeth-references
[MAINT/DOC] Clean-up ``__about__``, update with Nat Meth
2 parents 9da9b22 + bd97e5c commit c92bf83

File tree

6 files changed

+61
-69
lines changed

6 files changed

+61
-69
lines changed

docs/citing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ we recommend to include in your paper.
149149
<p>
150150
1. Esteban O, Markiewicz CJ, Blair RW, Moodie CA, Isik AI, Erramuzpe A, Kent JD, Goncalves M,
151151
DuPre E, Snyder M, Oya H, Ghosh SS, Wright J, Durnez J, Poldrack RA, Gorgolewski KJ.
152-
FMRIPrep: a robust preprocessing pipeline for functional MRI.
153-
bioRxiv. 2018. 306951; doi:<a href="https://doi.org/10.1101/306951">10.1101/306951</a>
152+
fMRIPrep: a robust preprocessing pipeline for functional MRI.
153+
Nat Meth. 2018; doi:<a href="https://doi.org/10.1038/s41592-018-0235-4">10.1038/s41592-018-0235-4</a>
154154
</p>
155155
<p>
156-
2. <span id="fmriprep_citation">FMRIPREP</span> Available from: <a id="fmriprep_doi_url" href="https://doi.org/10.5281/zenodo.852659">10.5281/zenodo.852659</a>.
156+
2. <span id="fmriprep_citation">fMRIPrep</span> Available from: <a id="fmriprep_doi_url" href="https://doi.org/10.5281/zenodo.852659">10.5281/zenodo.852659</a>.
157157
<img src onerror='fillCitation()' alt="" />
158158
</p>
159159
<p>

docs/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ dependencies:
2929
- svgutils
3030
- nitime
3131
- nilearn
32-
- niworkflows==0.5.1
32+
- niworkflows>=0.5.1,<0.5.2
3333
- tedana>=0.0.5

fmriprep/__about__.py

Lines changed: 46 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,41 @@
44
"""
55
Base module variables
66
"""
7-
87
from ._version import get_versions
98
__version__ = get_versions()['version']
109
del get_versions
1110

1211
__author__ = 'The CRN developers'
1312
__copyright__ = 'Copyright 2018, Center for Reproducible Neuroscience, Stanford University'
14-
__credits__ = ['Craig Moodie', 'Ross Blair', 'Oscar Esteban', 'Chris Gorgolewski',
15-
'Shoshana Berleant', 'Christopher J. Markiewicz', 'Russell A. Poldrack']
13+
__credits__ = ('Contributors: please check the ``.zenodo.json`` file at the top-level folder'
14+
'of the repository')
1615
__license__ = '3-clause BSD'
17-
__maintainer__ = 'Ross Blair'
18-
__email__ = '[email protected]'
16+
__maintainer__ = 'Oscar Esteban'
17+
__email__ = '[email protected]'
1918
__status__ = 'Prototype'
2019
__url__ = 'https://github.com/poldracklab/fmriprep'
2120
__packagename__ = 'fmriprep'
22-
__description__ = ("FMRIprep is a functional magnetic resonance image pre-processing pipeline "
23-
"that is designed to provide an easily accessible, state-of-the-art interface "
24-
"that is robust to differences in scan acquisition protocols and that requires "
25-
"minimal user input, while providing easily interpretable and comprehensive "
26-
"error and output reporting.")
21+
__description__ = """\
22+
fMRIPrep is a robust and easy-to-use pipeline for preprocessing of diverse fMRI data.
23+
The transparent workflow dispenses of manual intervention, thereby ensuring the reproducibility
24+
of the results"""
2725
__longdesc__ = """\
2826
Preprocessing of functional MRI (fMRI) involves numerous steps to clean and standardize
29-
data before statistical analysis.
30-
Generally, researchers create ad hoc preprocessing workflows for each new dataset,
31-
building upon a large inventory of tools available for each step.
32-
The complexity of these workflows has snowballed with rapid advances in MR data
33-
acquisition and image processing techniques.
34-
FMRIPrep is an analysis-agnostic tool that addresses the challenge of robust and
27+
the data before statistical analysis.
28+
Generally, researchers create ad hoc preprocessing workflows for each dataset,
29+
building upon a large inventory of available tools.
30+
The complexity of these workflows has snowballed with rapid advances in
31+
acquisition and processing.
32+
fMRIPrep is an analysis-agnostic tool that addresses the challenge of robust and
3533
reproducible preprocessing for task-based and resting fMRI data.
36-
FMRIPrep automatically adapts a best-in-breed workflow to the idiosyncrasies of
37-
virtually any dataset, ensuring high-quality preprocessing with no manual intervention,
38-
while providing easily interpretable and comprehensive error and output reporting.
39-
It performs basic preprocessing steps (coregistration, normalization, unwarping, noise
40-
component extraction, segmentation, skullstripping etc.) providing outputs that can be
41-
easily submitted to a variety of group level analyses, including task-based or resting-state
42-
fMRI, graph theory measures, surface or volume-based statistics, etc.
34+
fMRIPrep automatically adapts a best-in-breed workflow to the idiosyncrasies of
35+
virtually any dataset, ensuring high-quality preprocessing without manual intervention.
36+
fMRIPrep robustly produces high-quality results on diverse fMRI data.
37+
Additionally, fMRIPrep introduces less uncontrolled spatial smoothness than observed
38+
with commonly used preprocessing tools.
39+
fMRIPrep equips neuroscientists with an easy-to-use and transparent preprocessing
40+
workflow, which can help ensure the validity of inference and the interpretability
41+
of results.
4342
4443
The workflow is based on `Nipype <https://nipype.readthedocs.io>`_ and encompases a large
4544
set of tools from well-known neuroimaging packages, including
@@ -52,7 +51,11 @@
5251
preprocessing, and will be updated as newer and better neuroimaging software becomes
5352
available.
5453
55-
This tool allows you to easily do the following:
54+
fMRIPrep performs basic preprocessing steps (coregistration, normalization, unwarping, noise
55+
component extraction, segmentation, skullstripping etc.) providing outputs that can be
56+
easily submitted to a variety of group level analyses, including task-based or resting-state
57+
fMRI, graph theory measures, surface or volume-based statistics, etc.
58+
fMRIPrep allows you to easily do the following:
5659
5760
* Take fMRI data from *unprocessed* (only reconstructed) to ready for analysis.
5861
* Implement tools from different software packages.
@@ -63,11 +66,7 @@
6366
* Automate and parallelize processing steps, which provides a significant speed-up from
6467
typical linear, manual processing.
6568
66-
FMRIPrep has the potential to transform fMRI research by equipping
67-
neuroscientists with a high-quality, robust, easy-to-use and transparent preprocessing workflow
68-
which can help ensure the validity of inference and the interpretability of their results.
69-
70-
[Pre-print doi:`10.1101/306951 <https://doi.org/10.1101/306951>`_]
69+
[Nat Meth doi:`10.1038/s41592-018-0235-4 <https://doi.org/10.1038/s41592-018-0235-4>`_]
7170
[Documentation `fmriprep.org <https://fmriprep.readthedocs.io>`_]
7271
[Software doi:`10.5281/zenodo.852659 <https://doi.org/10.5281/zenodo.852659>`_]
7372
[Support `neurostars.org <https://neurostars.org/tags/fmriprep>`_]
@@ -85,53 +84,46 @@
8584
]
8685

8786
REQUIRES = [
88-
'numpy',
89-
'lockfile',
90-
'future',
91-
'scikit-learn',
92-
'matplotlib>=2.2.0',
93-
'nilearn',
94-
'sklearn',
87+
'grabbit==0.2.3',
88+
'indexed_gzip>=0.8.8',
9589
'nibabel>=2.2.1',
90+
'nilearn',
91+
'nipype>=1.1.6',
92+
'nitime',
93+
'niworkflows>=0.5.1,<0.5.2',
94+
'numpy',
9695
'pandas',
97-
'grabbit==0.2.3',
9896
'pybids==0.6.5',
99-
'nitime',
100-
'nipype>=1.1.6',
101-
'niworkflows==0.5.1',
102-
'tedana>=0.0.5',
103-
'statsmodels',
104-
'seaborn',
105-
'indexed_gzip>=0.8.8',
106-
'scikit-image',
107-
'versioneer',
10897
'pyyaml',
98+
'scikit-image',
99+
'statsmodels',
100+
'tedana>=0.0.5',
109101
]
110102

103+
111104
LINKS_REQUIRES = [
112105
]
113106

114107
TESTS_REQUIRES = [
115-
"mock",
116108
"codecov",
117109
"pytest",
118110
]
119111

120112
EXTRA_REQUIRES = {
113+
'datalad': ['datalad'],
121114
'doc': [
115+
'nbsphinx',
116+
'packaging',
117+
'pydot>=1.2.3',
118+
'pydotplus',
122119
'sphinx>=1.5.3',
123-
'sphinx_rtd_theme',
124120
'sphinx-argparse',
125-
'pydotplus',
126-
'pydot>=1.2.3',
127-
'packaging',
128-
'nbsphinx',
121+
'sphinx_rtd_theme',
129122
],
130-
'tests': TESTS_REQUIRES,
131123
'duecredit': ['duecredit'],
132-
'datalad': ['datalad'],
133124
'resmon': ['psutil>=5.4.0'],
134125
'sentry': ['sentry-sdk>=0.5.3'],
126+
'tests': TESTS_REQUIRES,
135127
}
136128
EXTRA_REQUIRES['docs'] = EXTRA_REQUIRES['doc']
137129

fmriprep/data/boilerplate.bib

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@article{fmriprep1,
22
author = {Esteban, Oscar and Markiewicz, Christopher and Blair, Ross W and Moodie, Craig and Isik, Ayse Ilkay and Erramuzpe Aliaga, Asier and Kent, James and Goncalves, Mathias and DuPre, Elizabeth and Snyder, Madeleine and Oya, Hiroyuki and Ghosh, Satrajit and Wright, Jessey and Durnez, Joke and Poldrack, Russell and Gorgolewski, Krzysztof Jacek},
3-
title = {FMRIPrep: a robust preprocessing pipeline for functional {MRI}},
3+
title = {{fMRIPrep}: a robust preprocessing pipeline for functional {MRI}},
44
year = {2018},
5-
doi = {10.1101/306951},
6-
journal = {bioRxiv}
5+
doi = {10.1038/s41592-018-0235-4},
6+
journal = {Nature Methods}
77
}
88

99
@article{fmriprep2,
1010
author = {Esteban, Oscar and Blair, Ross and Markiewicz, Christopher J. and Berleant, Shoshana L. and Moodie, Craig and Ma, Feilong and Isik, Ayse Ilkay and Erramuzpe, Asier and Kent, James D. andGoncalves, Mathias and DuPre, Elizabeth and Sitek, Kevin R. and Gomez, Daniel E. P. and Lurie, Daniel J. and Ye, Zhifang and Poldrack, Russell A. and Gorgolewski, Krzysztof J.},
11-
title = {FMRIPrep},
11+
title = {fMRIPrep},
1212
year = 2018,
1313
doi = {10.5281/zenodo.852659},
1414
publisher = {Zenodo},

fmriprep/utils/bids.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def collect_participants(bids_dir, participant_label=None, strict=False):
8585
raise BIDSError(
8686
'Could not find participants. Please make sure the BIDS data '
8787
'structure is present and correct. Datasets can be validated online '
88-
'using the BIDS Validator (http://incf.github.io/bids-validator/).\n'
88+
'using the BIDS Validator (http://bids-standard.github.io/bids-validator/).\n'
8989
'If you are using Docker for Mac or Docker for Windows, you '
9090
'may need to adjust your "File sharing" preferences.', bids_dir)
9191

@@ -210,13 +210,13 @@ def write_derivative_description(bids_dir, deriv_dir):
210210
'Name': 'fMRIPrep',
211211
'Version': __version__,
212212
'CodeURL': DOWNLOAD_URL,
213-
},
213+
},
214214
'CodeURL': 'https://github.com/poldracklab/fmriprep',
215215
'HowToAcknowledge':
216-
'Please cite our paper (https://doi.org/10.1101/306951), and '
217-
'include the generated citation boilerplate within the Methods '
216+
'Please cite our paper (https://doi.org/10.1038/s41592-018-0235-4), '
217+
'and include the generated citation boilerplate within the Methods '
218218
'section of the text.',
219-
}
219+
}
220220

221221
# Keys that can only be set by environment
222222
if 'FMRIPREP_DOCKER_TAG' in os.environ:
@@ -239,7 +239,7 @@ def write_derivative_description(bids_dir, deriv_dir):
239239

240240
if 'DatasetDOI' in orig_desc:
241241
desc['SourceDatasetsURLs'] = ['https://doi.org/{}'.format(
242-
orig_desc['DatasetDOI'])]
242+
orig_desc['DatasetDOI'])]
243243
if 'License' in orig_desc:
244244
desc['License'] = orig_desc['License']
245245

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
niworkflows==0.5.1
1+
niworkflows>=0.5.1,<0.5.2
22
grabbit==0.2.3
33
pybids==0.6.5
44
versioneer

0 commit comments

Comments
 (0)