When submit=True the job is submitted to the daemon using aiida.engine.launch.submit. However, when this is executed within the context of a workchain, this raises an error as WorkChain.submit should be used in this case instead of the global function.
When
submit=True
the job is submitted to the daemon usingaiida.engine.launch.submit
. However, when this is executed within the context of a workchain, this raises an error asWorkChain.submit
should be used in this case instead of the global function.