[ase-users] error due to not (timely) importing ase.io

Kim Rijpstra kim.rijpstra at ugent.be
Tue Sep 18 17:28:22 CEST 2012


Dear all,

This morning I installed ase-3.6.0 through apt-get on my Ubuntu 12.04.
All tests went fine but when trying to restart an older Vasp calculation 
using ase I got
"
atom = ase.io.read('CONTCAR', format='vasp')[self.resort]
AttributeError: ' module'  object has no attribute 'io'
"
This was easily solved by starting the local ase-script with 'import 
ase.io'.
Still, this line was not necessary in older ase-versions and probably a 
bug caused by the
dissapearance or the badly timed execution of this command somewhere in 
the ase program.

Kind regards,
Kim Rijpstra



More information about the ase-users mailing list