gaps.legacy.HardwareStatusRetriever#

class HardwareStatusRetriever(hardware='slurm', subprocess_manager=None)[source]#

Bases: HardwareStatusRetriever

Query hardware for job status.

Initialize HardwareStatusRetriever.

Parameters:
  • hardware (str) – Name of hardware that a pipeline is being run on: eagle, slurm, local. Defaults to “slurm”.

  • subprocess_manager (PBS | SLURM | None, optional) – Optional initialized subprocess manager to use to check job statuses. This can be input with cached queue data to avoid constantly querying the HPC. By default, None.

Methods