Open xiki-tempula opened 3 years ago
Hi @xiki-tempula,
The slightly inconvenient method would be to use MDAnalysis.Universe
to fill the input tree manually, or first convert it into an ase.Atoms
object and use create_cell
/create_coords
.
It should be extremely simple to also add support for MDAnalysis.Universe
in the create_cell
/create_coords
methods. Do you think you could create a pull request for this implementation? I would be glad to include it.
@lauri-codes I will give it a try. I wonder how should one pass elements to pycp2k?
Currently, the ASE is used for loading coordinate, box size and element information. I wonder if it is possible to load the data through MDAnalysis.Universe? The coordinate, cell, atom type can be accessed via