Skip to content

Commit 6c7f3b3

Browse files
DOC: Fix typos found by copdespell
1 parent 8f405f6 commit 6c7f3b3

Some content is hidden

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

68 files changed

+126
-126
lines changed

doc/changelog/1.X.X-changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ graph nodes might conflict with pydot parsing.
4747
Bug-fix release in the 1.8.x series.
4848

4949
The previous release vendored ``distutils.version.LooseVersion``, and the vendored objects did not
50-
preserve compatiblity with the ``distutils`` objects. This release switches to the
51-
``looseversion`` package that ensures compatiblity.
50+
preserve compatibility with the ``distutils`` objects. This release switches to the
51+
``looseversion`` package that ensures compatibility.
5252

5353

5454
1.8.0 (May 10, 2022)

doc/devel/cmd_interface_devel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extra inputs: environ (a dictionary of environmental variables), and args (a
6565
string defining extra flags). In addition input spec can define the relation
6666
between the inputs and the generated command line. To achieve this we have
6767
added two metadata: ``argstr`` (string defining how the argument should be
68-
formated) and ``position`` (number defining the order of the arguments).
68+
formatted) and ``position`` (number defining the order of the arguments).
6969
For example
7070

7171
.. testcode::
@@ -204,7 +204,7 @@ keep_extension (optional)
204204

205205
In addition one can add functionality to your class or base class, to allow
206206
changing extensions specific to package or interface. This overload function is
207-
trigerred only if keep_extension is not defined.
207+
triggered only if keep_extension is not defined.
208208

209209
.. testcode::
210210

doc/devel/filename_generation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ case?
148148
Out[115]: 'bet foo.nii /Users/cburns/tmp/junk/not_bar.nii'
149149

150150

151-
In this case we provide ``outfile`` but not as an absolue path, so the
152-
absolue path is generated and used for the ``cmdline`` when run, but
151+
In this case we provide ``outfile`` but not as an absolute path, so the
152+
absolute path is generated and used for the ``cmdline`` when run, but
153153
``mybet.inputs.outfile`` is not updated with the absolute path.
154154

155155
.. sourcecode:: ipython

doc/devel/interface_specs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ SPM
437437
^^^
438438

439439
``field``
440-
name of the structure refered by the SPM job manager
440+
name of the structure referred by the SPM job manager
441441

442442
**Required:** This metadata is required by all SPM-mediated
443443
interface classes.

doc/devel/matlab_interface_devel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Example 1
99
+++++++++
1010

1111
This is a minimal script for wrapping MATLAB code. You should replace the MATLAB
12-
code template, and define approriate inputs and outputs.
12+
code template, and define appropriate inputs and outputs.
1313

1414
.. literalinclude:: matlab_example1.py
1515

nipype/algorithms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""
55
Package contains pure python neuroimaging algorithms
66
7-
Exaples: artifactdetect
7+
Examples: artifactdetect
88
99
"""
1010
__docformat__ = "restructuredtext"

nipype/algorithms/confounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ def is_outlier(points, thresh=3.5):
11521152
a modified z-score (based on the median absolute deviation) greater
11531153
than this value will be classified as outliers.
11541154
1155-
:return: A bolean mask, of size numobservations-length array.
1155+
:return: A boolean mask, of size numobservations-length array.
11561156
11571157
.. note:: References
11581158

nipype/algorithms/metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ class DistanceInputSpec(BaseInterfaceInputSpec):
4242
"eucl_wmean",
4343
"eucl_max",
4444
desc='""eucl_min": Euclidean distance between two closest points\
45-
"eucl_cog": mean Euclidian distance between the Center of Gravity\
45+
"eucl_cog": mean Euclidean distance between the Center of Gravity\
4646
of volume1 and CoGs of volume2\
47-
"eucl_mean": mean Euclidian minimum distance of all volume2 voxels\
47+
"eucl_mean": mean Euclidean minimum distance of all volume2 voxels\
4848
to volume1\
49-
"eucl_wmean": mean Euclidian minimum distance of all volume2 voxels\
49+
"eucl_wmean": mean Euclidean minimum distance of all volume2 voxels\
5050
to volume1 weighted by their values\
51-
"eucl_max": maximum over minimum Euclidian distances of all volume2\
51+
"eucl_max": maximum over minimum Euclidean distances of all volume2\
5252
voxels to volume1 (also known as the Hausdorff distance)',
5353
usedefault=True,
5454
)

nipype/algorithms/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ def _list_outputs(self):
11781178

11791179

11801180
class SplitROIsInputSpec(TraitedSpec):
1181-
in_file = File(exists=True, mandatory=True, desc="file to be splitted")
1181+
in_file = File(exists=True, mandatory=True, desc="file to be split")
11821182
in_mask = File(exists=True, desc="only process files inside mask")
11831183
roi_size = traits.Tuple(traits.Int, traits.Int, traits.Int, desc="desired ROI size")
11841184

nipype/algorithms/rapidart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
def _get_affine_matrix(params, source):
3939
"""Return affine matrix given a set of translation and rotation parameters
4040
41-
params : np.array (upto 12 long) in native package format
41+
params : np.array (up to 12 long) in native package format
4242
source : the package that generated the parameters
4343
supports SPM, AFNI, FSFAST, FSL, NIPY
4444
"""

0 commit comments

Comments
 (0)