Skip to content

Commit 70ba784

Browse files
fixed multiple typos in python files
1 parent 900d20b commit 70ba784

File tree

27 files changed

+40
-40
lines changed

27 files changed

+40
-40
lines changed

package/MDAnalysis/analysis/align.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ def fasta2select(
13931393
substitutes the suffix with '.aln'.
13941394
treefilename: str (optional)
13951395
filename of ClustalW guide tree (Newick format);
1396-
if default ``None`` the the filename is generated from *alnfilename*
1396+
if default ``None`` the filename is generated from *alnfilename*
13971397
with the suffix '.dnd' instead of '.aln'
13981398
clustalw : str (optional)
13991399
path to the ClustalW (or ClustalW2) binary; only

package/MDAnalysis/analysis/dielectric.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@ class DielectricConstant(AnalysisBase):
8686
Attributes
8787
----------
8888
results.M : numpy.ndarray
89-
Directional dependant dipole moment
89+
Directional dependent dipole moment
9090
:math:`\langle \boldsymbol M \rangle` in :math:`eÅ`.
9191
results.M2 : numpy.ndarray
92-
Directional dependant squared dipole moment
92+
Directional dependent squared dipole moment
9393
:math:`\langle \boldsymbol M^2 \rangle` in :math:`(eÅ)^2`
9494
results.fluct : float
95-
Directional dependant dipole moment fluctuation
95+
Directional dependent dipole moment fluctuation
9696
:math:`\langle \boldsymbol M^2 \rangle - \langle \boldsymbol M \rangle^2`
9797
in :math:`(eÅ)^2`
9898
results.eps : numpy.ndarray
99-
Directional dependant static dielectric constant
99+
Directional dependent static dielectric constant
100100
results.eps_mean : float
101101
Static dielectric constant
102102

package/MDAnalysis/analysis/encore/covariance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def ml_covariance_estimator(coordinates, reference_coordinates=None):
4848
----------
4949
5050
coordinates : numpy.array
51-
Flattened array of coordiantes
51+
Flattened array of coordinates
5252
5353
reference_coordinates : numpy.array
5454
Optional reference to use instead of mean

package/MDAnalysis/analysis/encore/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def run(self):
332332

333333
def trm_indices(a, b):
334334
"""
335-
Generate (i,j) indeces of a triangular matrix, between elements a and b.
335+
Generate (i,j) indices of a triangular matrix, between elements a and b.
336336
The matrix size is automatically determined from the number of elements.
337337
For instance: trm_indices((0,0),(2,1)) yields (0,0) (1,0) (1,1) (2,0)
338338
(2,1).
@@ -361,7 +361,7 @@ def trm_indices(a, b):
361361

362362

363363
def trm_indices_nodiag(n):
364-
"""generate (i,j) indeces of a triangular matrix of n rows (or columns),
364+
"""generate (i,j) indices of a triangular matrix of n rows (or columns),
365365
without diagonal (e.g. no elements (0,0),(1,1),...,(n,n))
366366
367367
Parameters
@@ -377,7 +377,7 @@ def trm_indices_nodiag(n):
377377

378378

379379
def trm_indices_diag(n):
380-
"""generate (i,j) indeces of a triangular matrix of n rows (or columns),
380+
"""generate (i,j) indices of a triangular matrix of n rows (or columns),
381381
with diagonal
382382
383383
Parameters

package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ def add_route(result, route):
15831583
if len(route) == 1:
15841584
result["start"][route[0]] = None
15851585
else:
1586-
# exclude the the selection which goes back to itself
1586+
# exclude the selection which goes back to itself
15871587
if sorted(route[0][0:3:2]) == sorted(route[-1][0:3:2]):
15881588
return
15891589

package/MDAnalysis/analysis/legacy/x3dna.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def std(self):
521521
def plot(self, **kwargs):
522522
"""Plot time-averaged base parameters for each basse pair in a 1D graph.
523523
524-
One plot is produced for each parameter. It shows the the mean and
524+
One plot is produced for each parameter. It shows the mean and
525525
standard deviation for each individual base pair. Each plot is saved to
526526
PNG file with name "<parameter_name>.png".
527527

package/MDAnalysis/analysis/msd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
excluded along with poorly averaged data at long time-lags. We can select the
175175
"middle" of the MSD by indexing the MSD and the time-lags. Appropriately
176176
linear segments of the MSD can be confirmed with a log-log plot as is often
177-
reccomended :footcite:p:`Maginn2019` where the "middle" segment can be identified
177+
recommended :footcite:p:`Maginn2019` where the "middle" segment can be identified
178178
as having a slope of 1.
179179
180180
.. code-block:: python

package/MDAnalysis/analysis/rdf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class InterRDF(AnalysisBase):
155155
For 'rdf' calculate :math:`g_{ab}(r)`. For
156156
'density' the :ref:`single particle density<equation-nab>`
157157
:math:`n_{ab}(r)` is computed. 'none' computes the number of
158-
particles occurences in each spherical shell.
158+
particles occurrences in each spherical shell.
159159
160160
.. versionadded:: 2.3.0
161161
@@ -476,7 +476,7 @@ class InterRDF_s(AnalysisBase):
476476
For 'rdf' calculate :math:`g_{ab}(r)`. For
477477
'density' the :ref:`single particle density<equation-nab>`
478478
:math:`n_{ab}(r)` is computed. 'none' computes the number of
479-
particles occurences in each spherical shell.
479+
particles occurrences in each spherical shell.
480480
481481
.. versionadded:: 2.3.0
482482

package/MDAnalysis/analysis/rms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def __init__(self, atomgroup, **kwargs):
859859
------
860860
ValueError
861861
raised if negative values are calculated, which indicates that a
862-
numerical overflow or underflow occured
862+
numerical overflow or underflow occurred
863863
864864
865865
Notes

package/MDAnalysis/auxiliary/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ def data_selector(self):
10331033
10341034
Type differs between auxiliary formats, depending how the data for each
10351035
step is read in and stored - e.g. data from .xvg files is read in as
1036-
a list and `data_selector` must be a list of valid indicies. If data
1036+
a list and `data_selector` must be a list of valid indices. If data
10371037
selection is not enabled by the reader, ``data_selector`` will default
10381038
to ``None``.
10391039

0 commit comments

Comments
 (0)