toil.batchSystems.local_support¶
Attributes¶
Classes¶
Adds a local queue for helper jobs, useful for CWL & others. |
Module Contents¶
- toil.batchSystems.local_support.logger¶
- class toil.batchSystems.local_support.BatchSystemLocalSupport(config, maxCores, maxMemory, maxDisk)[source]¶
Bases:
toil.batchSystems.abstractBatchSystem.BatchSystemSupport
Adds a local queue for helper jobs, useful for CWL & others.
- Parameters:
config (toil.common.Config)
maxCores (float)
maxMemory (int)
maxDisk (int)
- max_local_jobs¶
- handleLocalJob(command, jobDesc)[source]¶
To be called by issueBatchJob.
Returns the jobID if the jobDesc has been submitted to the local queue, otherwise returns None
- Parameters:
command (str)
jobDesc (toil.job.JobDescription)
- Return type:
Optional[int]
- killLocalJobs(jobIDs)[source]¶
Will kill all local jobs that match the provided jobIDs.
To be called by killBatchJobs.
- Parameters:
jobIDs (List[int])
- Return type:
None
- getUpdatedLocalJob(maxWait)[source]¶
To be called by getUpdatedBatchJob().
- Parameters:
maxWait (int)
- Return type:
Optional[toil.batchSystems.abstractBatchSystem.UpdatedBatchJobInfo]