Hello Dr Nong
I have a little question i want use other format to run aenet-md.py like .xsf or .xyz. In the aenet/Documentation it says:
"The input files for both Python scripts use the
JSON format and are compatible. Any structure
format supported by ASE can
be used as input, however, as of writing, the support of the XSF
structure format in ASE is incomplete and other formats (e.g., VASP’s
POSCAR format, FHI-aims geometry.in format, XYZ, etc.) are recommended.
structure_file
(MD only)
Path to the file with the initial structure. Every structure format
that is understood by ASE can be used."
But i can't run in my terminal say :
File "/home/christian/.local/bin/aenet-md.py", line 4, in <module>
__import__('pkg_resources').run_script('aenet==0.1.0a1', 'aenet-md.py')
File "/home/christian/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 661, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/christian/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1441, in run_script
exec(code, namespace, namespace)
File "/home/christian/.local/lib/python3.6/site-packages/aenet-0.1.0a1-py3.6-linux-x86_64.egg/EGG-INFO/scripts/aenet-md.py", line 106, in <module>
get_ANN_energy(input_file=args.input_file)
File "/home/christian/.local/lib/python3.6/site-packages/aenet-0.1.0a1-py3.6-linux-x86_64.egg/EGG-INFO/scripts/aenet-md.py", line 76, in get_ANN_energy
atoms = ase.io.read(structure_file, format='vasp')
File "/home/christian/.local/lib/python3.6/site-packages/ase/io/formats.py", line 291, in read
return next(_iread(filename, slice(index, None), format, **kwargs))
File "/home/christian/.local/lib/python3.6/site-packages/ase/io/formats.py", line 362, in _iread
for dct in io.read(fd, *args, **kwargs):
File "/home/christian/.local/lib/python3.6/site-packages/ase/io/formats.py", line 190, in wrap_read_function
yield read(filename, **kwargs)
File "/home/christian/.local/lib/python3.6/site-packages/ase/io/vasp.py", line 122, in read_vasp
lattice_constant = float(f.readline().split()[0])
IndexError: list index out of range
you can help me to fix this problem?
Best
Christian rodriguez
IF-UNAM-Mexico