Skip to content

Commit d4943e1

Browse files
authored
Merge pull request #329 from gbaydin/fix-typos-1
Fix some typos
2 parents 2cf9071 + 672216a commit d4943e1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyxtal/crystal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(
119119
compat, self.has_freedom = self.group.check_compatible(self.numIons)
120120
if not compat:
121121
self.valid = False
122-
msg = "Compoisition " + str(self.numIons)
122+
msg = "Composition " + str(self.numIons)
123123
msg += " not compatible with symmetry "
124124
msg += str(self.group.number)
125125
raise Comp_CompatibilityError(msg)

pyxtal/molecular_crystal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
compat, self.has_freedom = self.group.check_compatible(self.numMols) #self.valid_orientations)
126126

127127
if not compat:
128-
msg = f"Inincompatible compoisition {self.numMols} with symmetry {self.group.number}"
128+
msg = f"Incompatible composition {self.numMols} with symmetry {self.group.number}"
129129
raise Comp_CompatibilityError(msg)
130130

131131
self.set_volume()

pyxtal/representation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def to_pyxtal(self):
4848
4949
Args:
5050
smiles: list of smiles
51-
compoisition: list of composition
51+
composition: list of composition
5252
"""
5353
from pyxtal import pyxtal
5454

@@ -113,7 +113,7 @@ def to_pyxtal(self):
113113

114114
def to_array(self):
115115
"""
116-
Export only varibles to a 1d numpy array
116+
Export only variables to a 1d numpy array
117117
"""
118118
cells, xyzs = self.x[0][1:], self.x[1:]
119119
x = cells
@@ -278,7 +278,7 @@ def to_pyxtal(self, smiles=None, composition=None):
278278
279279
Args:
280280
smiles: list of smiles
281-
compoisition: list of composition
281+
composition: list of composition
282282
"""
283283
from pyxtal import pyxtal
284284

0 commit comments

Comments
 (0)