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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
vasppy v1.0.0
Breaking changes
Removed the custom Poscar class — all structure handling now uses pymatgen Structure. Code that imported vasppy.poscar.Poscar must be updated to use pymatgen.core.Structure or pymatgen.io.vasp.Poscar.
Removed dead modules: atom.py, pimaim.py, polyhedron.py, xdatcar.py and their associated scripts (pimaim_to_poscar, pimaim_to_xtl, poscar_to_pimaim, xdatcar_to_disp, xdatcar_to_rdf).
Removed --scale and --group flags from proc_poscar. pymatgen always folds the scaling factor into the lattice, so --scale is now the default behaviour. --group relied on arbitrary species labels not supported by pymatgen.
Requires Python 3.11+.
Improvements
Type hints and Google-style docstrings throughout all modules.
All mypy strict-mode errors resolved.
Refactored doscar.pypdos_select into composable helpers with guard-clause and normalise-then-act patterns.
Replaced manual lazy-loading with functools.cached_property in Vasprun.