Skip to content

Commit b0668df

Browse files
committed
Fix some typos.
1 parent 87ebcb2 commit b0668df

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

python/BioSimSpace/Align/_align.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ def rmsdAlign(molecule0, molecule1, mapping=None, property_map0={}, property_map
967967
except Exception as e:
968968
msg = "Failed to align molecules based on mapping: %r" % mapping
969969
if "Could not calculate the single value decomposition" in str(e):
970-
msg += ". Try minimising your molecular coordinates prior to aligment."
970+
msg += ". Try minimising your molecular coordinates prior to alignment."
971971
if _isVerbose():
972972
raise _AlignmentError(msg) from e
973973
else:

python/BioSimSpace/Gateway/_resources.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def __init__(self):
4747
add_help=False, allow_abbrev=False)
4848

4949
# Add the arguments.
50-
self._parser.add_argument("--nodes", type=int, help="The number of harwdare nodes.")
51-
self._parser.add_argument("--cpus", type=int, help="The number of harwdare central processing units.")
52-
self._parser.add_argument("--gpus", type=int, help="The number of harwdare graphics processors.")
50+
self._parser.add_argument("--nodes", type=int, help="The number of hardware nodes.")
51+
self._parser.add_argument("--cpus", type=int, help="The number of hardware central processing units.")
52+
self._parser.add_argument("--gpus", type=int, help="The number of hardware graphics processors.")
5353

5454
def _initialise(self):
5555
"""Initialise the resource manager."""

python/BioSimSpace/IO/_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def saveMolecules(filebase, system, fileformat, property_map={}):
595595
# Write the default file to get the full path.
596596
file = _SireIO.MoleculeParser.save(system._sire_object, filebase, _property_map)
597597

598-
# Now overwite the file the PDB file with the updated records.
598+
# Now overwrite the file the PDB file with the updated records.
599599
with open(file[0], "w") as pdb_file:
600600
pdb_file.write(pdb_records)
601601

python/BioSimSpace/Process/_amber.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def getSystem(self, block="AUTO"):
838838
# Create a copy of the existing system object.
839839
old_system = self._system.copy()
840840

841-
# Udpate the coordinates and velocities and return a mapping between
841+
# Update the coordinates and velocities and return a mapping between
842842
# the molecule indices in the two systems.
843843
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
844844
old_system._sire_object,
@@ -948,7 +948,7 @@ def getFrame(self, index):
948948
# Create a copy of the existing system object.
949949
old_system = self._system.copy()
950950

951-
# Udpate the coordinates and velocities and return a mapping between
951+
# Update the coordinates and velocities and return a mapping between
952952
# the molecule indices in the two systems.
953953
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
954954
old_system._sire_object,

python/BioSimSpace/Process/_gromacs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2479,7 +2479,7 @@ def _getFrame(self, time):
24792479
# Create a copy of the existing system object.
24802480
old_system = self._system.copy()
24812481

2482-
# Udpate the coordinates and velocities and return a mapping between
2482+
# Update the coordinates and velocities and return a mapping between
24832483
# the molecule indices in the two systems.
24842484
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
24852485
old_system._sire_object,

python/BioSimSpace/Process/_namd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def getSystem(self, block="AUTO"):
692692
# Create a copy of the existing system object.
693693
old_system = self._system.copy()
694694

695-
# Udpate the coordinates and velocities and return a mapping between
695+
# Update the coordinates and velocities and return a mapping between
696696
# the molecule indices in the two systems.
697697
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
698698
old_system._sire_object,
@@ -804,7 +804,7 @@ def getFrame(self, index):
804804
# Create a copy of the existing system object.
805805
old_system = self._system.copy()
806806

807-
# Udpate the coordinates and velocities and return a mapping between
807+
# Update the coordinates and velocities and return a mapping between
808808
# the molecule indices in the two systems.
809809
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
810810
old_system._sire_object,

python/BioSimSpace/Process/_openmm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ def getSystem(self, block="AUTO"):
10871087
# Make a copy of the existing molecular system.
10881088
old_system = self._system.copy()
10891089

1090-
# Udpate the coordinates and velocities and return a mapping between
1090+
# Update the coordinates and velocities and return a mapping between
10911091
# the molecule indices in the two systems.
10921092
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
10931093
old_system._sire_object,
@@ -1223,7 +1223,7 @@ def getFrame(self, index):
12231223
self._top_file,
12241224
index)
12251225

1226-
# Udpate the coordinates and velocities and return a mapping between
1226+
# Update the coordinates and velocities and return a mapping between
12271227
# the molecule indices in the two systems.
12281228
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
12291229
old_system._sire_object,

python/BioSimSpace/Process/_somd.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def getSystem(self, block="AUTO"):
672672
# coordinates back into the original system.
673673
old_system = self._system.copy()
674674

675-
# Udpate the coordinates and velocities and return a mapping between
675+
# Update the coordinates and velocities and return a mapping between
676676
# the molecule indices in the two systems.
677677
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
678678
old_system._sire_object,
@@ -781,7 +781,7 @@ def getFrame(self, index):
781781
# Copy the new coordinates back into the original system.
782782
old_system = self._system.copy()
783783

784-
# Udpate the coordinates and velocities and return a mapping between
784+
# Update the coordinates and velocities and return a mapping between
785785
# the molecule numbers in the two systems.
786786
sire_system, mapping = _SireIO.updateCoordinatesAndVelocities(
787787
old_system._sire_object,
@@ -1070,7 +1070,7 @@ def _to_pert_file(molecule, filename="MORPH.pert", zero_dummy_dihedrals=False,
10701070
# that the names must be unique. As such we need to count the number of
10711071
# atoms with a particular name, then append an index to their name.
10721072

1073-
# Loop over all atoms in the molecule and tally the occurence of each
1073+
# Loop over all atoms in the molecule and tally the occurrence of each
10741074
# name.
10751075
atom_names = {}
10761076
for atom in mol.atoms():

python/BioSimSpace/_SireWrappers/_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def updateMolecules(self, molecules):
612612
system = _SireIO.updateAndPreserveOrder(
613613
system, mol._sire_object, idx)
614614

615-
# Udpate the Sire object.
615+
# Update the Sire object.
616616
self._sire_object = system
617617

618618
# Reset the index mappings.

0 commit comments

Comments
 (0)