Skip to content
Open
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
3 changes: 2 additions & 1 deletion aevo/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import hashlib
import numpy as np
import pymatgen as mg
from pymatgen.core import Structure
from pymatgen.io.vasp.inputs import Poscar

__author__ = "Alexander Urban"
Expand Down Expand Up @@ -673,7 +674,7 @@ def write_trial(self, trial, filename=None, directory='.', frmt='vasp'):
print(" writing file: {}".format(filename))

# pymatgen specific
s = mg.Structure(lattice=self.avec, species=types, coords=coords)
s = Structure(lattice=self.avec, species=types, coords=coords)
p = Poscar(structure=s)
p.write_file(filename)

Expand Down