cyto.runners¶
Container execution backends — base interface plus Docker and Singularity implementations used by the distributed pipeline.
- class cyto.runners.base.RunnerBase(execution_config: Dict[str, Any])[source]¶
Bases:
ABCBase class for container runners.
- class cyto.runners.docker.DockerRunner(execution_config: Dict[str, Any])[source]¶
Bases:
RunnerBaseRuns tasks in a Docker container using the docker-py library.
- class cyto.runners.singularity.SingularityRunner(execution_config: Dict[str, Any])[source]¶
Bases:
RunnerBaseRuns tasks in a Singularity container.
- cyto.runners.container_worker.main()[source]¶
A generic worker for executing tasks inside a container.
This script is not meant to be called directly by the user. It is called by the runner system (e.g., DockerRunner) inside a container. It deserializes a task object and its input data, executes the task’s baremetal method, and serializes the result to a file.