You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So prepending 'user' to 'potcar_functional' would suffice. My hacky workaround is updating the kwargs dict key before passing it to the function
ifmake_input_files:
# soft check if potcar directory is set potcars=_check_psp_dir()
ifpotcars:
cd=_load_config_dict(config_dict)
save_slabs_kwargs= {'user_potcar_functional'ifk=='potcar_functional'elsek: vfork, vinsave_slabs_kwargs.items()}
vis=DictSet(slab['slab'], cd, **save_slabs_kwargs)
vis.write_input(
r'{}/{}/{}_{}_{}'.format(bulk_name,
slab['hkl'],
slab['slab_thickness'],
slab['vac_thickness'],
slab['slab_index'])
)
My suggestion would to have a function that filters for these things so you can remain compliant with your documentation and the pmg functionalities even as they change. Might add some maintenance overhead though.
Thanks!
The text was updated successfully, but these errors were encountered:
The following script
Produces this error
Using the most recent release of pymatgen on PyPI, python 3.10.12, and surfaxe that was cloned from the repo an hour ago
Currently the VaspInputSet class has the following arguments according to the documentation:
So prepending 'user' to 'potcar_functional' would suffice. My hacky workaround is updating the kwargs dict key before passing it to the function
My suggestion would to have a function that filters for these things so you can remain compliant with your documentation and the pmg functionalities even as they change. Might add some maintenance overhead though.
Thanks!
The text was updated successfully, but these errors were encountered: