bbp_workflow.generation.workflow

Workflow module.

Classes

SBOWorkflow(*args, **kwargs)

Generator Workflow class for building detailed circuits.

class bbp_workflow.generation.workflow.SBOWorkflow(*args, **kwargs)

Bases: WrapperTask

Generator Workflow class for building detailed circuits.

Parameters:
  • output_dir (Path) – Output directory to write generated data.

  • config_url (str) – ModelBuildingConfig NEXUS resource id.

  • account (str) – Project account.

  • isolated (bool) – Whether the workflow will run in isolated mode. Isolated mode ignores activities from previous executions.

  • target (str) – The target generator execute. The workflow will run all tasks up until the target task.

property host_config

Return the host config as a dictionary.

property kg_config

Return the KG config as a dictionary.

requires()

Return required leaf task in the workflow DAG, determined by the target argument.