-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement validator functions for Dict inputs in Processes #81
Comments
I would say we could start implementing something similar to what Since this is not backwards incompatible we can start small and slowly get rid of the |
The internal structure of input Dicts is checked inside a Process class. It can be done in a more elegant way by implementing validator functions. On the other hand, as it was discussed at the AiiDA Hackathon, a corresponding Dict builder can be created that can provide not only validation, but also documentation.
We have to make our choice either waiting till Dict builders will be implemented or make validation functions.
A list of Processes having no modern way of input Dict validation:
settings
settings
calc_parameters
wf_param
wf_param
wf_param
wf_param
wf_param
wf_param
wf_param
wf_param
Sometimes there are
options
andsettings
in the workchains, not sure if we need to test them.The text was updated successfully, but these errors were encountered: