Skip to content

Commit bd6f17f

Browse files
oestebanarokem
andauthored
Apply suggestions from code review [skip ci]
Co-Authored-By: Ariel Rokem <[email protected]>
1 parent 42a4326 commit bd6f17f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dmriprep/cli/parser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _bids_filter(value):
131131
colon-separated parameters. \
132132
Non-standard spaces imply specific orientations and sampling grids. \
133133
Important to note, the ``res-*`` modifier does not define the resolution used for \
134-
the spatial normalization. To generate no BOLD outputs, use this option without specifying \
134+
the spatial normalization. To generate no DWI outputs, use this option without specifying \
135135
any spatial references. For further details, please check out \
136136
https://www.nipreps.org/dmriprep/%s/spaces.html""" % (currentv.base_version
137137
if is_release else 'latest'))
@@ -205,8 +205,8 @@ def _bids_filter(value):
205205
' was specified.')
206206
g_other.add_argument('--notrack', action='store_true', default=False,
207207
help='Opt-out of sending tracking information of this run to '
208-
'the FMRIPREP developers. This information helps to '
209-
'improve FMRIPREP and provides an indicator of real '
208+
'the dMRIPREP developers. This information helps to '
209+
'improve dMRIPREP and provides an indicator of real '
210210
'world usage crucial for obtaining funding.')
211211
g_other.add_argument('--sloppy', dest='debug', action='store_true', default=False,
212212
help='Use low-quality tools for speed - TESTING ONLY')

dmriprep/cli/run.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def main():
2727
# CRITICAL Save the config to a file. This is necessary because the execution graph
2828
# is built as a separate process to keep the memory footprint low. The most
2929
# straightforward way to communicate with the child process is via the filesystem.
30-
config_file = config.execution.work_dir / '.fmriprep.toml'
30+
config_file = config.execution.work_dir / '.dmriprep.toml'
3131
config.to_filename(config_file)
3232

3333
# CRITICAL Call build_workflow(config_file, retval) in a subprocess.
@@ -45,7 +45,7 @@ def main():
4545

4646
# CRITICAL Load the config from the file. This is necessary because the ``build_workflow``
4747
# function executed constrained in a process may change the config (and thus the global
48-
# state of fMRIPrep).
48+
# state of dMRIPrep).
4949
config.load(config_file)
5050

5151
if config.execution.reports_only:
@@ -85,15 +85,15 @@ def main():
8585
except Exception as e:
8686
if not config.execution.notrack:
8787
popylar.track_event(__ga_id__, 'run', 'error')
88-
config.loggers.workflow.critical('fMRIPrep failed: %s', e)
88+
config.loggers.workflow.critical('dMRIPrep failed: %s', e)
8989
raise
9090
else:
9191
config.loggers.workflow.log(25, 'dMRIPrep finished successfully!')
9292

9393
# Bother users with the boilerplate only iff the workflow went okay.
9494
if (config.execution.output_dir / 'dmriprep' / 'logs' / 'CITATION.md').exists():
9595
config.loggers.workflow.log(
96-
25, 'Works derived from this fMRIPrep execution should '
96+
25, 'Works derived from this dMRIPrep execution should '
9797
'include the following boilerplate:\n\n%s',
9898
(config.execution.output_dir / 'dmriprep' / 'logs' / 'CITATION.md').read_text()
9999
)

dmriprep/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5959
Other responsibilities
6060
----------------------
61-
The :py:mod:`config` is responsible for other conveniency actions.
61+
The :py:mod:`config` is responsible for other convenience actions.
6262
6363
* Switching Python's :obj:`multiprocessing` to *forkserver* mode.
6464
* Set up a filter for warnings as early as possible.

0 commit comments

Comments
 (0)