aiida-vasp
aiida-vasp copied to clipboard
Consider how we interact with dictionaries
Typically, we do dict_node.get_dict() and operate on it from there.
There are simplifications to this:
-
if we only want to check one key, we could use
dict_node.somekeydirectly, but would get a db hit for each such request -
AttributeDictcould be returned as default usingget_dict(we useAttributeDictextensively and this would make the core look more uniform and easier to read/diagnose)
Locate places in the code where the first point can be applied.