Skip to content

Commit 3edced6

Browse files
oestebanmgxd
andauthored
Apply suggestions from code review
Co-Authored-By: Mathias Goncalves <[email protected]>
1 parent ea4e7b4 commit 3edced6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Reusing precomputed derivatives
105105
-------------------------------
106106
Reusing a previous, partial execution of *fMRIPrep*
107107
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108-
*fMRIPrep* will pick up where it left off a previous execution, so long the work directory
108+
*fMRIPrep* will pick up where it left off a previous execution, so long as the work directory
109109
points to the same location, and this directory has not been changed/manipulated.
110110

111111
Using a previous run of *FreeSurfer*

wrapper/fmriprep_docker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ def merge_help(wrapper_help, target_help):
164164

165165
# Make sure we're not clobbering options we don't mean to
166166
overlap = set(w_flags).intersection(t_flags)
167-
expected_overlap = set([
167+
expected_overlap = {
168168
'anat-derivatives',
169169
'fs-license-file',
170170
'fs-subjects-dir',
171171
'h',
172172
'use-plugin',
173173
'version',
174174
'w',
175-
])
175+
}
176176

177177
assert overlap == expected_overlap, "Clobbering options: {}".format(
178178
', '.join(overlap - expected_overlap))

0 commit comments

Comments
 (0)