aiida_vasp.common#
Common functions and constants
Submodules#
Package Contents#
Functions#
Convert AiiDA entity to plain python objects |
|
Ensure that the first argument is a plain dictionary |
|
Validate the parameters input by passing it through the massager |
|
Validate the parameters input by passing it through the massager |
|
Convert site mangetization to MAGMOM used for restart NOTE: to be replaced by stock function in aiida_vasp.utils.workchains |
|
Update the dictionary - combine nested sub-dictionary with update as well |
|
Utility to update a Dict node in a nested way |
Data#
API#
- aiida_vasp.common.OVERRIDE_NAMESPACE = 'incar'#
- aiida_vasp.common.aiida_to_python(entity: Any) Any[source]#
Convert AiiDA entity to plain python objects
- aiida_vasp.common.plain_python_args(func: Callable[..., Any]) Callable[..., Any][source]#
Ensure that the first argument is a plain dictionary
- aiida_vasp.common.parameters_validator(node: aiida.orm.Dict | None, port: Any = None) None[source]#
Validate the parameters input by passing it through the massager
- aiida_vasp.common.warn_deprecated_options(node: aiida.orm.Dict | None, port: Any = None) None[source]#
Validate the parameters input by passing it through the massager
- aiida_vasp.common.site_magnetization_to_magmom(site_dict: dict[str, Any]) list[float][source]#
Convert site mangetization to MAGMOM used for restart NOTE: to be replaced by stock function in aiida_vasp.utils.workchains