aiida_catmat.calcfunctions package¶
Submodules¶
aiida_catmat.calcfunctions.other module¶
Other utilities
-
aiida_catmat.calcfunctions.other.aiida_dict_merge(to_dict: aiida.orm.nodes.data.dict.Dict, from_dict: aiida.orm.nodes.data.dict.Dict) → aiida.orm.nodes.data.dict.Dict[source]¶ Merges two AiiDA dictionaries.
- Args:
to_dict (Dict):
Dictonto which the merge is executed from_dict (Dict):Dictwhich will be merged into the input.- Returns:
Dict: The resulting
Dict
-
aiida_catmat.calcfunctions.other.dict_merge(dct: dict, merge_dct: dict) → None[source]¶ Taken from https://gist.github.com/angstwad/bf22d1822c38a92ec0a9 Recursive dict merge. Inspired by
dict.update(), instead of updating only top-level keys, dict_merge recurses down into dicts nested to an arbitrary depth, updating keys. Themerge_dctis merged intodct.- Args:
dct (dict): dict onto which the merge is executed merge_dct (dict): dict merged into dict
Module contents¶
Initializing modules in calcfunction folder