Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyxtal/crystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(
compat, self.has_freedom = self.group.check_compatible(self.numIons)
if not compat:
self.valid = False
msg = "Compoisition " + str(self.numIons)
msg = "Composition " + str(self.numIons)
msg += " not compatible with symmetry "
msg += str(self.group.number)
raise Comp_CompatibilityError(msg)
Expand Down
2 changes: 1 addition & 1 deletion pyxtal/molecular_crystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __init__(
compat, self.has_freedom = self.group.check_compatible(self.numMols) #self.valid_orientations)

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

self.set_volume()
Expand Down
6 changes: 3 additions & 3 deletions pyxtal/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def to_pyxtal(self):

Args:
smiles: list of smiles
compoisition: list of composition
composition: list of composition
"""
from pyxtal import pyxtal

Expand Down Expand Up @@ -113,7 +113,7 @@ def to_pyxtal(self):

def to_array(self):
"""
Export only varibles to a 1d numpy array
Export only variables to a 1d numpy array
"""
cells, xyzs = self.x[0][1:], self.x[1:]
x = cells
Expand Down Expand Up @@ -278,7 +278,7 @@ def to_pyxtal(self, smiles=None, composition=None):

Args:
smiles: list of smiles
compoisition: list of composition
composition: list of composition
"""
from pyxtal import pyxtal

Expand Down