Skip to content

mecfs_bio.build_system.task.failing_task

A task that always fails, which can be used for testing.

Classes:

FailingTask

Bases: Task

A task that always fails. Intended to be used for testing.`

Methods:

Attributes:

deps property

deps: list[Task]

meta property

meta: Meta

execute

execute(scratch_dir: Path, fetch: Fetch, wf: WF) -> Asset
Source code in mecfs_bio/build_system/task/failing_task.py
def execute(self, scratch_dir: Path, fetch: Fetch, wf: WF) -> Asset:
    raise ValueError("Task intentionally failed.")