aiida-tutorials icon indicating copy to clipboard operation
aiida-tutorials copied to clipboard

✨ NEW: Add module on input serialization

Open mbercx opened this issue 3 years ago • 0 comments

One nice feature in AiiDA is that you can automatically serialize inputs into AiiDA data types by specifying a serializer on the input port:

https://aiida.readthedocs.io/projects/aiida-core/en/latest/topics/processes/usage.html#automatic-input-serialization

This allows users to pass e.g. a Python int instead of an AiiDA Int node. Although having this in the documentation is already lovely, a module that explains this as well as its usage would be a great addition to the tutorials.

One good question would be what unit this should belong to. In a sense this fits with "Writing workflows", where writing calculation functions and workflows are explained.

mbercx avatar Sep 22 '21 08:09 mbercx