Skip to content

v0.8.0

@dev-zero dev-zero tagged this 08 Oct 06:36
`PseudopotentialData`/`BasisSetData`:

* Ue `pydantic.BaseModel` instead of dataclasses wrapper.
* This fixes an issue with default values provided for example for the `nlcc` for Pseudos attribute.
* `from_dict` helper is still provided but deprecated, the `type_hooks` parameter gets ignored.
* Some fields can now be loaded with both their name and their alias (`coeffs` vs `coefficients`),
  which was the motivation for the `type_hooks` in the first place.
* Drop `dacite` requirement.
Assets 2
Loading