How To Write a New Task (WIP)

This page will explain how to write a simple, concrete implementation of TaskBase and how to register it with the autojob plug-in system.

  • subclassing

  • attributes/fields (e.g., best-practice for structuring inputs)

  • InputWriter and PathLoadable implementations

Notes

In order for restart() to correctly carry over input parameters from one task to the next, input attributes (i.e., analogues of Task.task_inputs and Calculation.calculation_inputs) must end with _inputs.