You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
define a better parser (e.g. generic.integer_parser, generic.cvs_parser, generic.json_parser) that could become part of AiiDA
use print(results['output_parameters'].get_dict()['value']) instead of calcjobnode.res.value (a bit more explicit, but maybe they understand what is going on.
should we extend the template_replacer so that if an input_file_template is provided, the input_file_name is set by default (maybe using the metadata option that now AiiDA has), and also the cmdline_params becomes by default just the filename? This would remove two lines from above
We should then think if instead of multiplying two numbers we want to do something more fancy, but the snippet above should be enough to extend the example.
Note also that the advantage of the input parameters dict is that the values can then be queried.
And, even if slightly more complex than the add calculation, this makes it obvious how this can be extended to any code without the need to write any new calculation plugin.
mbercx
changed the title
Create a new tutorial for the revamped documentation
Docs: Create a new tutorial for first-time users
May 1, 2020
Create a short (~30 min) tutorial to give beginning users a first introduction on how to use AiiDA.
The text was updated successfully, but these errors were encountered: