[ase-users] writing lammps-data and python 3.7
Noam Bernstein
noam.bernstein at nrl.navy.mil
Thu Feb 27 21:32:10 CET 2020
Has anyone tried writing lammps-data file with python 3.7? Before I open an issue, I'm trying to understand if I'm just missing something. I get the error
TypeError: write() argument must be str, not bytes
which the internet suggests is caused by the file object not being opened with "wb". Poking around ase.io <http://ase.io/> I get the impression that it's being specifically opened with "wt".
Does anyone know that code and have any idea whether this is a python issue or a genuine ASE bug?
Noam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200227/2d710591/attachment.html>
More information about the ase-users
mailing list