aiida_vasp.workchains.v2.common#

Common functions and constants

Submodules#

Package Contents#

Functions#

aiida_to_python

Convert AiiDA entity to plain python objects

plain_python_args

Ensure that the first argument is a plain dictionary

parameters_validator

Validate the parameters input by passing it through the massager

site_magnetization_to_magmom

Convert site mangetization to MAGMOM used for restart NOTE: to be replaced by stock function in aiida_vasp.utils.workchains

nested_update

Update the dictionary - combine nested sub-dictionary with update as well

nested_update_dict_node

Utility to update a Dict node in a nested way

Data#

API#

aiida_vasp.workchains.v2.common.OVERRIDE_NAMESPACE = 'incar'#
aiida_vasp.workchains.v2.common.aiida_to_python(entity)[source]#

Convert AiiDA entity to plain python objects

aiida_vasp.workchains.v2.common.plain_python_args(func)[source]#

Ensure that the first argument is a plain dictionary

aiida_vasp.workchains.v2.common.parameters_validator(node, port=None)[source]#

Validate the parameters input by passing it through the massager

aiida_vasp.workchains.v2.common.site_magnetization_to_magmom(site_dict)[source]#

Convert site mangetization to MAGMOM used for restart NOTE: to be replaced by stock function in aiida_vasp.utils.workchains

aiida_vasp.workchains.v2.common.nested_update(dict_in, update_dict, extend_list=False)[source]#

Update the dictionary - combine nested sub-dictionary with update as well

aiida_vasp.workchains.v2.common.nested_update_dict_node(dict_node, update_dict, extend_list=False)[source]#

Utility to update a Dict node in a nested way