Skip to content

Commit bf48f77

Browse files
authored
Merge pull request #3516 from DimitriPapadopoulos/doc
DOC: Fix a few more typos
2 parents c634f29 + 223e69d commit bf48f77

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed

doc/devel/interface_specs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ base class down to subclasses).:
148148

149149
``SlicerCommandLineInputSpec``: Defines inputs common to all Slicer classes (``module``)
150150

151-
Most developers will only need to code at the the interface-level (i.e. implementing custom class inheriting from one of the above classes).
151+
Most developers will only need to code at the interface-level (i.e. implementing custom class inheriting from one of the above classes).
152152

153153
Output Specs
154154
^^^^^^^^^^^^
@@ -519,7 +519,7 @@ SPM
519519

520520
For SPM-mediated interfaces:
521521

522-
* ``_jobtype`` and ``_jobname``: special names used used by the SPM job manager. You can find them by saving your batch job as an .m file and looking up the code.
522+
* ``_jobtype`` and ``_jobname``: special names used by the SPM job manager. You can find them by saving your batch job as an .m file and looking up the code.
523523

524524
And optionally:
525525

doc/devel/provenance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ W3C PROV support
55
Overview
66
--------
77

8-
We're using the the `W3C PROV data model <http://www.w3.org/TR/prov-dm/>`_ to
8+
We're using the `W3C PROV data model <http://www.w3.org/TR/prov-dm/>`_ to
99
capture and represent provenance in Nipype.
1010

1111
For an overview see:

nipype/interfaces/afni/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,7 @@ class NwarpCatInputSpec(AFNICommandInputSpec):
21512151
usedefault=True,
21522152
)
21532153
expad = traits.Int(
2154-
desc="Pad the nonlinear warps by the given number of voxels voxels in "
2154+
desc="Pad the nonlinear warps by the given number of voxels in "
21552155
"all directions. The warp displacements are extended by linear "
21562156
"extrapolation from the faces of the input grid..",
21572157
argstr="-expad %d",

nipype/interfaces/diffusion_toolkit/dti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class DTITrackerInputSpec(CommandLineInputSpec):
208208
desc="set angle threshold. default value is 35 degree", argstr="-at %f"
209209
)
210210
angle_threshold_weight = traits.Float(
211-
desc="set angle threshold weighting factor. weighting will be be applied "
211+
desc="set angle threshold weighting factor. weighting will be applied "
212212
"on top of the angle_threshold",
213213
argstr="-atw %f",
214214
)

nipype/interfaces/dtitk/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class TVResampleInputSpec(CommandLineInputSpec):
161161
desc="how to align output volume to input volume",
162162
)
163163
interpolation = traits.Enum(
164-
"LEI", "EI", argstr="-interp %s", desc="Log Euclidean Euclidean Interpolation"
164+
"LEI", "EI", argstr="-interp %s", desc="Log Euclidean Interpolation"
165165
)
166166
array_size = traits.Tuple(
167167
(traits.Int(), traits.Int(), traits.Int()),

nipype/interfaces/minc/minc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ class BeastInputSpec(CommandLineInputSpec):
12851285
-positive: Specify mask of positive segmentation (inside mask) instead of the default mask.
12861286
-output_selection: Specify file to output selected files.
12871287
-count: Specify file to output the patch count.
1288-
-mask: Specify a segmentation mask instead of the the default mask.
1288+
-mask: Specify a segmentation mask instead of the default mask.
12891289
-no_mask: Do not apply a segmentation mask. Perform the segmentation over the entire image.
12901290
-no_positive: Do not apply a positive mask.
12911291
Generic options for all commands:

nipype/interfaces/mipav/developer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ class MedicAlgorithmSPECTRE2010InputSpec(CommandLineInputSpec):
12531253
traits.Bool,
12541254
File(),
12551255
hash_files=False,
1256-
desc="Tissue classification of of the whole input volume.",
1256+
desc="Tissue classification of the whole input volume.",
12571257
argstr="--outFANTASM %s",
12581258
)
12591259
outd0 = traits.Either(
@@ -1310,7 +1310,7 @@ class MedicAlgorithmSPECTRE2010OutputSpec(TraitedSpec):
13101310
)
13111311
outPrior = File(desc="Probability prior from the atlas registrations", exists=True)
13121312
outFANTASM = File(
1313-
desc="Tissue classification of of the whole input volume.", exists=True
1313+
desc="Tissue classification of the whole input volume.", exists=True
13141314
)
13151315
outd0 = File(desc="Initial Brainmask", exists=True)
13161316
outMidsagittal = File(desc="Plane dividing the brain hemispheres", exists=True)

nipype/interfaces/semtools/diffusion/gtract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ class gtractCoRegAnatomyInputSpec(CommandLineInputSpec):
11191119
argstr="--inputVolume %s",
11201120
)
11211121
inputAnatomicalVolume = File(
1122-
desc="Required: input anatomical image file name. It is recommended that that the input anatomical image has been skull stripped and has the same orientation as the DWI scan.",
1122+
desc="Required: input anatomical image file name. It is recommended that the input anatomical image has been skull stripped and has the same orientation as the DWI scan.",
11231123
exists=True,
11241124
argstr="--inputAnatomicalVolume %s",
11251125
)

nipype/interfaces/slicer/generate_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def generate_class(
196196
if longFlagNode:
197197
# Prefer to use longFlag as name if it is given, rather than the parameter name
198198
longFlagName = longFlagNode[0].firstChild.nodeValue
199-
# SEM automatically strips prefixed "--" or "-" from from xml before processing
199+
# SEM automatically strips prefixed "--" or "-" from xml before processing
200200
# we need to replicate that behavior here The following
201201
# two nodes in xml have the same behavior in the program
202202
# <longflag>--test</longflag>

nipype/interfaces/slicer/registration/brainsfit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class BRAINSFitInputSpec(CommandLineInputSpec):
279279
argstr="--numberOfThreads %d",
280280
)
281281
forceMINumberOfThreads = traits.Int(
282-
desc="Force the the maximum number of threads to use for non thread safe MI metric. CAUTION: Inconsistent results my arise!",
282+
desc="Force the maximum number of threads to use for non thread safe MI metric. CAUTION: Inconsistent results my arise!",
283283
argstr="--forceMINumberOfThreads %d",
284284
)
285285
debugLevel = traits.Int(

nipype/interfaces/slicer/registration/brainsresample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class BRAINSResample(SEMLikeCommandLine):
9494
category: Registration
9595
9696
description:
97-
This program resamples an image image using a deformation field or a transform (BSpline, Affine, Rigid, etc.).
97+
This program resamples an image using a deformation field or a transform (BSpline, Affine, Rigid, etc.).
9898
9999
100100
version: 3.0.0

nipype/interfaces/spm/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ class ThresholdInputSpec(SPMCommandInputSpec):
616616
desc=(
617617
"In case no clusters survive the "
618618
"topological inference step this "
619-
"will pick a culster with the highes "
619+
"will pick a culster with the highest "
620620
"sum of t-values. Use with care."
621621
),
622622
)

nipype/pipeline/engine/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ def generate_expanded_graph(graph_in):
10301030
iterables = {}
10311031
# the source node iterables values
10321032
src_values = [getattr(iter_src.inputs, field) for field in src_fields]
1033-
# if there is one source field, then the key is the the source value,
1033+
# if there is one source field, then the key is the source value,
10341034
# otherwise the key is the tuple of source values
10351035
if len(src_values) == 1:
10361036
key = src_values[0]

nipype/utils/spm_flat_config.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function cfgstruct = spm_flat_config(print_names)
22
% Get a flat spm_config structure, with option to print out names
33
%
4-
% This calls spm_config() to get the the nested configuration
4+
% This calls spm_config() to get the nested configuration
55
% structure from spm. We use this to fetch documentation, the
66
% flattened structure is much easier to search through. If
77
% print_names is true (value of 1) it will print out the configuration

nipype/utils/tests/test_filemanip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ def test_path_strict_resolve(tmpdir):
631631
"""Check the monkeypatch to test strict resolution of Path."""
632632
tmpdir.chdir()
633633

634-
# Default strict=False should work out out of the box
634+
# Default strict=False should work out of the box
635635
testfile = Path("somefile.txt")
636636
resolved = "%s/somefile.txt" % tmpdir
637637
assert str(path_resolve(testfile)) == resolved

0 commit comments

Comments
 (0)