aiidateam / aiida-tutorials

AiiDA tutorials web site
http://aiida-tutorials.readthedocs.org
22 stars 37 forks source link

✨ NEW: Add module on input serialization #404

Open mbercx opened 3 years ago

mbercx commented 3 years ago

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.