Closed jboes closed 8 years ago
ug... tricky.. this isn't fixed yet.
This one is bad. I bet this is why there were two lists in ase-sort.dat. One for resorting vasp, and one for resorting atoms. I think I have fixed it for now (by reading the atoms from the ase-db. Jake Boes for the win on that suggestion.) I have some residual concerns though that the atoms are read too many times from different places, e.g. in read_results also. I think the DB.db file should be up to date since we rewrite it after a calculation is done with the results from vasprun.xml
this needs some thorough testing.
I believe this is fixed now.
There seems to be a sorting related issue with the following example:
Running the block twice results in the following error:
The Pd in VASPSUM ends up as index 43, rather than 40 as assigned in the code block.