We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1a39a commit 301f18aCopy full SHA for 301f18a
spdkit/__init__.py
@@ -51,7 +51,7 @@ def from_pmg_structure(pmg_structure):
51
52
mol = Molecule.from_atoms(atoms)
53
# lattice object
54
- lat = Lattice(pmg_struct.lattice.matrix.tolist())
+ lat = Lattice(pmg_structure.lattice.matrix.tolist())
55
mol.set_lattice(lat)
56
return mol
57
0 commit comments