aiida.workflows package

Submodules

This file provides very simple workflows for testing purposes. Do not delete, otherwise ‘verdi developertest’ will stop to work.

class aiida.workflows.test.FailingWFTestSimple(**kwargs)[source]

Bases: aiida.workflows.test.WFTestSimple

__module__ = 'aiida.workflows.test'
second_step(*args, **kwargs)
start(*args, **kwargs)
third_step(*args, **kwargs)
class aiida.workflows.test.FailingWFTestSimpleWithSubWF(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.test'
second(*args, **kwargs)
start(*args, **kwargs)
class aiida.workflows.test.WFTestEmpty(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

Empty workflow, just for testing

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.test'
class aiida.workflows.test.WFTestSimple(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.test'
second_step(*args, **kwargs)
start(*args, **kwargs)
class aiida.workflows.test.WFTestSimpleWithSubWF(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.test'
second(*args, **kwargs)
start(*args, **kwargs)
aiida.workflows.test.generate_calc()[source]
aiida.workflows.wf_XTiO3.Murnaghan_fit(e, v)[source]
class aiida.workflows.wf_XTiO3.WorkflowXTiO3_EOS(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.wf_XTiO3'
eos(*args, **kwargs)
final_step(*args, **kwargs)
get_kpoints()[source]
get_pw_calculation(pw_structure, pw_parameters, pw_kpoint)[source]
get_pw_parameters()[source]
get_structure(alat=4, x_material='Ba')[source]
optimize(*args, **kwargs)
start(*args, **kwargs)
class aiida.workflows.wf_demo.BranchWorkflowDemo(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.wf_demo'
branch_a_one(*args, **kwargs)
branch_a_two(*args, **kwargs)
branch_b_one(*args, **kwargs)
finalize(*args, **kwargs)
generate_calc()[source]
recollect(*args, **kwargs)
start()[source]
class aiida.workflows.wf_demo.LoopBranchWorkflowDemo(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.wf_demo'
convergence(*args, **kwargs)
final(*args, **kwargs)
generate_calc()[source]
start(*args, **kwargs)
class aiida.workflows.wf_demo.SubWorkflowDemo(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.wf_demo'
generate_calc()[source]
second(*args, **kwargs)
start(*args, **kwargs)
class aiida.workflows.wf_demo.WorkflowDemo(**kwargs)[source]

Bases: aiida.orm.implementation.django.workflow.Workflow

__init__(**kwargs)[source]

Initializes the Workflow super class, store the instance in the DB and in case stores the starting parameters.

If initialized with an uuid the Workflow is loaded from the DB, if not a new workflow is generated and added to the DB following the stack frameworks. This means that only modules inside aiida.workflows are allowed to implements the workflow super calls and be stored. The caller names, modules and files are retrieved from the stack.

Parameters:
  • uuid – a string with the uuid of the object to be loaded.
  • params – a dictionary of storable objects to initialize the specific workflow
Raise:

NotExistent: if there is no entry of the desired workflow kind with the given uuid.

__module__ = 'aiida.workflows.wf_demo'
generate_calc()[source]
second_step(*args, **kwargs)
start(*args, **kwargs)