Skip to content

Commit 301f18a

Browse files
committed
Fix var naming issue in `from_pmg_structure
1 parent 6c1a39a commit 301f18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spdkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def from_pmg_structure(pmg_structure):
5151

5252
mol = Molecule.from_atoms(atoms)
5353
# lattice object
54-
lat = Lattice(pmg_struct.lattice.matrix.tolist())
54+
lat = Lattice(pmg_structure.lattice.matrix.tolist())
5555
mol.set_lattice(lat)
5656
return mol
5757

0 commit comments

Comments
 (0)