Exceptions API

Toil specific exceptions.

exception toil.job.JobException(message: str)[source]

General job exception.

__init__(message: str) → None[source]

Initialize self. See help(type(self)) for accurate signature.

exception toil.job.JobGraphDeadlockException(string)[source]

An exception raised in the event that a workflow contains an unresolvable dependency, such as a cycle. See toil.job.Job.checkJobGraphForDeadlocks().

__init__(string)[source]

Initialize self. See help(type(self)) for accurate signature.

exception toil.jobStores.abstractJobStore.ConcurrentFileModificationException(jobStoreFileID: toil.fileStores.FileID)[source]

Indicates that the file was attempted to be modified by multiple processes at once.

__init__(jobStoreFileID: toil.fileStores.FileID)[source]
Parameters:jobStoreFileID – the ID of the file that was modified by multiple workers or processes concurrently
exception toil.jobStores.abstractJobStore.JobStoreExistsException(locator: str)[source]

Indicates that the specified job store already exists.

__init__(locator: str)[source]
Parameters:locator (str) – The location of the job store
exception toil.jobStores.abstractJobStore.NoSuchFileException(jobStoreFileID: toil.fileStores.FileID, customName: Optional[str] = None, *extra)[source]

Indicates that the specified file does not exist.

__init__(jobStoreFileID: toil.fileStores.FileID, customName: Optional[str] = None, *extra)[source]
Parameters:
  • jobStoreFileID – the ID of the file that was mistakenly assumed to exist
  • customName – optionally, an alternate name for the nonexistent file
  • extra (list) – optional extra information to add to the error message
exception toil.jobStores.abstractJobStore.NoSuchJobException(jobStoreID: toil.fileStores.FileID)[source]

Indicates that the specified job does not exist.

__init__(jobStoreID: toil.fileStores.FileID)[source]
Parameters:jobStoreID (str) – the jobStoreID that was mistakenly assumed to exist
exception toil.jobStores.abstractJobStore.NoSuchJobStoreException(locator: str)[source]

Indicates that the specified job store does not exist.

__init__(locator: str)[source]
Parameters:locator (str) – The location of the job store