Skip to content

Commit 02761c9

Browse files
DOC: Fix typos newly found by codespell
1 parent 661dd1d commit 02761c9

File tree

14 files changed

+23
-23
lines changed

14 files changed

+23
-23
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The current list of issue labels are [here][link_labels] and include:
4141
* [![Orphaned](https://img.shields.io/badge/-orphaned-9baddd.svg)][link_orphaned] *These pull requests have been closed for inactivity.*
4242

4343
Before proposing a new pull request, browse through the "orphaned" pull requests.
44-
You may find that someone has already made significant progress toward your goal, and you can re-use their
44+
You may find that someone has already made significant progress toward your goal, and you can reuse their
4545
unfinished work.
4646
An adopted PR should be updated to merge or rebase the current master, and a new PR should be created (see
4747
below) that references the original PR.

nipype/interfaces/afni/preprocess.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ class AutoTcorrelateInputSpec(AFNICommandInputSpec):
621621
copyfile=False,
622622
)
623623
polort = traits.Int(
624-
desc="Remove polynomical trend of order m or -1 for no detrending",
624+
desc="Remove polynomial trend of order m or -1 for no detrending",
625625
argstr="-polort %d",
626626
)
627627
eta2 = traits.Bool(desc="eta^2 similarity", argstr="-eta2")
@@ -2774,7 +2774,7 @@ class TCorrelateInputSpec(AFNICommandInputSpec):
27742774
desc="Correlation is the normal Pearson correlation coefficient",
27752775
argstr="-pearson",
27762776
)
2777-
polort = traits.Int(desc="Remove polynomical trend of order m", argstr="-polort %d")
2777+
polort = traits.Int(desc="Remove polynomial trend of order m", argstr="-polort %d")
27782778

27792779

27802780
class TCorrelate(AFNICommand):

nipype/interfaces/dcmstack.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class DcmStackInputSpec(NiftiGeneratorBaseInputSpec):
100100
)
101101
embed_meta = traits.Bool(desc="Embed DICOM meta data into result")
102102
exclude_regexes = traits.List(
103-
desc="Meta data to exclude, suplementing any default exclude filters"
103+
desc="Meta data to exclude, supplementing any default exclude filters"
104104
)
105105
include_regexes = traits.List(
106106
desc="Meta data to include, overriding any exclude filters"

nipype/interfaces/dipy/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def dipy_to_nipype_interface(cls_name, dipy_flow, BaseClass=DipyBaseInterface):
188188
cls_name: string
189189
new class name
190190
dipy_flow: Workflow class type.
191-
It should be any children class of `dipy.workflows.workflow.Worflow`
191+
It should be any children class of `dipy.workflows.workflow.Workflow`
192192
BaseClass: object
193193
nipype instance object
194194

nipype/interfaces/freesurfer/preprocess.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2688,7 +2688,7 @@ class MNIBiasCorrectionOutputSpec(TraitedSpec):
26882688

26892689

26902690
class MNIBiasCorrection(FSCommand):
2691-
"""Wrapper for nu_correct, a program from the Montreal Neurological Insitute (MNI)
2691+
"""Wrapper for nu_correct, a program from the Montreal Neurological Institute (MNI)
26922692
used for correcting intensity non-uniformity (ie, bias fields). You must have the
26932693
MNI software installed on your system to run this. See [www.bic.mni.mcgill.ca/software/N3]
26942694
for more info.
@@ -3292,7 +3292,7 @@ class SegmentCCInputSpec(FSTraitedSpec):
32923292

32933293

32943294
class SegmentCCOutputSpec(TraitedSpec):
3295-
out_file = File(exists=False, desc="Output segmentation uncluding corpus collosum")
3295+
out_file = File(exists=False, desc="Output segmentation including corpus collosum")
32963296
out_rotation = File(exists=False, desc="Output lta rotation file")
32973297

32983298

nipype/interfaces/freesurfer/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@ class Tkregister2InputSpec(FSTraitedSpec):
19061906
desc="freesurfer-style registration file",
19071907
)
19081908
reg_header = traits.Bool(
1909-
False, argstr="--regheader", desc="compute regstration from headers"
1909+
False, argstr="--regheader", desc="compute registration from headers"
19101910
)
19111911
fstal = traits.Bool(
19121912
False,

nipype/interfaces/io.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def _add_output_traits(self, base):
163163
# Class to track percentage of S3 file upload
164164
class ProgressPercentage:
165165
"""
166-
Callable class instsance (via __call__ method) that displays
166+
Callable class instance (via __call__ method) that displays
167167
upload percentage of a file to S3
168168
"""
169169

nipype/interfaces/semtools/brains/utilities.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class HistogramMatchingFilterInputSpec(CommandLineInputSpec):
5757
argstr="--histogramAlgorithm %s",
5858
)
5959
verbose = traits.Bool(
60-
desc=" verbose mode running for debbuging", argstr="--verbose "
60+
desc=" verbose mode running for debugging", argstr="--verbose "
6161
)
6262

6363

nipype/interfaces/semtools/diffusion/gtract.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1194,15 +1194,15 @@ class gtractCoRegAnatomyInputSpec(CommandLineInputSpec):
11941194
argstr="--samplingPercentage %f",
11951195
)
11961196
useMomentsAlign = traits.Bool(
1197-
desc="MomentsAlign assumes that the center of mass of the images represent similar structures. Perform a MomentsAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either CenterOfHeadLAlign, GeometryAlign, or initialTransform file. This family of options superceeds the use of transformType if any of them are set.",
1197+
desc="MomentsAlign assumes that the center of mass of the images represent similar structures. Perform a MomentsAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either CenterOfHeadLAlign, GeometryAlign, or initialTransform file. This family of options supersedes the use of transformType if any of them are set.",
11981198
argstr="--useMomentsAlign ",
11991199
)
12001200
useGeometryAlign = traits.Bool(
1201-
desc="GeometryAlign on assumes that the center of the voxel lattice of the images represent similar structures. Perform a GeometryCenterAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either MomentsAlign, CenterOfHeadAlign, or initialTransform file. This family of options superceeds the use of transformType if any of them are set.",
1201+
desc="GeometryAlign on assumes that the center of the voxel lattice of the images represent similar structures. Perform a GeometryCenterAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either MomentsAlign, CenterOfHeadAlign, or initialTransform file. This family of options supersedes the use of transformType if any of them are set.",
12021202
argstr="--useGeometryAlign ",
12031203
)
12041204
useCenterOfHeadAlign = traits.Bool(
1205-
desc="CenterOfHeadAlign attempts to find a hemisphere full of foreground voxels from the superior direction as an estimate of where the center of a head shape would be to drive a center of mass estimate. Perform a CenterOfHeadAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either MomentsAlign, GeometryAlign, or initialTransform file. This family of options superceeds the use of transformType if any of them are set.",
1205+
desc="CenterOfHeadAlign attempts to find a hemisphere full of foreground voxels from the superior direction as an estimate of where the center of a head shape would be to drive a center of mass estimate. Perform a CenterOfHeadAlign registration as part of the sequential registration steps. This option MUST come first, and CAN NOT be used with either MomentsAlign, GeometryAlign, or initialTransform file. This family of options supersedes the use of transformType if any of them are set.",
12061206
argstr="--useCenterOfHeadAlign ",
12071207
)
12081208
numberOfThreads = traits.Int(
@@ -1370,7 +1370,7 @@ class gtractCostFastMarchingInputSpec(CommandLineInputSpec):
13701370
argstr="--anisotropyWeight %f",
13711371
)
13721372
stoppingValue = traits.Float(
1373-
desc="Terminiating value for vcl_cost function estimation",
1373+
desc="Terminating value for vcl_cost function estimation",
13741374
argstr="--stoppingValue %f",
13751375
)
13761376
seedThreshold = traits.Float(

nipype/interfaces/semtools/diffusion/tractography/ukftractography.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class UKFTractographyInputSpec(CommandLineInputSpec):
5555
"1", "2", desc="Number of tensors used", argstr="--numTensor %s"
5656
)
5757
freeWater = traits.Bool(
58-
desc="Adds a term for free water difusion to the model. (Note for experts: if checked, the 1T simple model is forced) ",
58+
desc="Adds a term for free water diffusion to the model. (Note for experts: if checked, the 1T simple model is forced) ",
5959
argstr="--freeWater ",
6060
)
6161
recordFA = traits.Bool(

nipype/interfaces/semtools/segmentation/specialized.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class BinaryMaskEditorBasedOnLandmarksInputSpec(CommandLineInputSpec):
587587
)
588588
setCutDirectionForObliquePlane = InputMultiPath(
589589
traits.Str,
590-
desc="If this is true, the mask will be thresholded out to the direction of inferior, posterior, and/or left. Default behavrior is that cutting out to the direction of superior, anterior and/or right. ",
590+
desc="If this is true, the mask will be thresholded out to the direction of inferior, posterior, and/or left. Default behavior is that cutting out to the direction of superior, anterior and/or right. ",
591591
sep=",",
592592
argstr="--setCutDirectionForObliquePlane %s",
593593
)

nipype/interfaces/slicer/registration/brainsfit.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@ class BRAINSFitInputSpec(CommandLineInputSpec):
6363
argstr="--initializeTransformMode %s",
6464
)
6565
useRigid = traits.Bool(
66-
desc="Perform a rigid registration as part of the sequential registration steps. This family of options superceeds the use of transformType if any of them are set.",
66+
desc="Perform a rigid registration as part of the sequential registration steps. This family of options supersedes the use of transformType if any of them are set.",
6767
argstr="--useRigid ",
6868
)
6969
useScaleVersor3D = traits.Bool(
70-
desc="Perform a ScaleVersor3D registration as part of the sequential registration steps. This family of options superceeds the use of transformType if any of them are set.",
70+
desc="Perform a ScaleVersor3D registration as part of the sequential registration steps. This family of options supersedes the use of transformType if any of them are set.",
7171
argstr="--useScaleVersor3D ",
7272
)
7373
useScaleSkewVersor3D = traits.Bool(
74-
desc="Perform a ScaleSkewVersor3D registration as part of the sequential registration steps. This family of options superceeds the use of transformType if any of them are set.",
74+
desc="Perform a ScaleSkewVersor3D registration as part of the sequential registration steps. This family of options supersedes the use of transformType if any of them are set.",
7575
argstr="--useScaleSkewVersor3D ",
7676
)
7777
useAffine = traits.Bool(
78-
desc="Perform an Affine registration as part of the sequential registration steps. This family of options superceeds the use of transformType if any of them are set.",
78+
desc="Perform an Affine registration as part of the sequential registration steps. This family of options supersedes the use of transformType if any of them are set.",
7979
argstr="--useAffine ",
8080
)
8181
useBSpline = traits.Bool(
82-
desc="Perform a BSpline registration as part of the sequential registration steps. This family of options superceeds the use of transformType if any of them are set.",
82+
desc="Perform a BSpline registration as part of the sequential registration steps. This family of options supersedes the use of transformType if any of them are set.",
8383
argstr="--useBSpline ",
8484
)
8585
numberOfSamples = traits.Int(

nipype/pipeline/plugins/sge.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _remove_old_jobs(self):
141141
def add_startup_job(self, taskid, qsub_command_line):
142142
"""
143143
:param taskid: The job id
144-
:param qsub_command_line: When initializing, re-use the job_queue_name
144+
:param qsub_command_line: When initializing, reuse the job_queue_name
145145
:return: NONE
146146
"""
147147
taskid = int(taskid) # Ensure that it is an integer

tools/update_changes.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#
33
# Collects the pull-requests since the latest release and
4-
# aranges them in the CHANGES.txt file.
4+
# arranges them in the CHANGES.txt file.
55
#
66
# This is a script to be run before releasing a new version.
77
#

0 commit comments

Comments
 (0)