Closed rushikd27 closed 8 months ago
Thanks for raising this. It looks like an error with the task document in emmet. Can you share a the folder that is causing the issue?
I am attaching the zip folder for one of the files where this happens. The folder also has the script I used to get the TaskDocument. The file is named drone.py. It has the code as follows:
from atomate2.vasp.drones import VaspDrone
from monty.json import jsanitize
import json
from monty.json import MontyEncoder
drone = VaspDrone()
doc = drone.assimilate()
doc = jsanitize(doc.model_dump(),recursive_msonable=True)
with open('doc.json','w',encoding='utf-8') as f_o:
json.dump(doc,f_o,cls=MontyEncoder)
Hi @rushikd27, thanks for sending the files. It seems like your POTCAR files are corrupted in some way. The TITEL field is not correct for the K_sv_GW POTCAR:
> grep TITEL POTCAR
TITEL = PAW K_sv_GW 31Mar2010
TITEL = PAW_PBE I 08Apr2002
The expected output (and what I get using the standard PBE.54 POTCARs downloaded from the VASP website) is:
TITEL = PAW_PBE K_sv_GW 31Mar2010
TITEL = PAW_PBE I 08Apr2002
Notice the PAW
has changed to PAW_PBE
. If you update your vasprun.xml on line 495 to change "PBE" to "PAW_PBE" that will allow the task document to be parsed correctly.
Ultimately, we're only able to support parsing the standard VASP POTCARs. However, please feel free to raise the issue on the Emmet repository if you have further concerns.
Thanks for the help, Ill check the POTCARs. i also got them from VASP website
If you downloaded them from the website, could you confirm which version of the pseudo potentials you downloaded? It is possible that the format has changed in recent versions, and so the emmet code would need to be updated.
I was trying to parse a VASP calculation using the VaspDrone functionality of atomate2 and I encountered an error where the code is not able to read my POTCAR correctly. It is a binary CsCl structure and I have the correct POTCAR in the directory. Following is the code I used to parse it.
The POTCAR types as mentioned in the OUTCAR files are: POTCAR: PAW Cs_sv_GW 23Mar2010 POTCAR: PAW Cl_GW 19Mar2012
Following is the error it throws out:
Can you look into this?