Exceptions API

Toil specific exceptions.

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

General job exception.

__init__(message)[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)[source]

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

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

Indicates that the specified job store already exists.

__init__(locator)[source]

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

exception toil.jobStores.abstractJobStore.NoSuchFileException(jobStoreFileID, customName=None, *extra)[source]

Indicates that the specified file does not exist.

__init__(jobStoreFileID, customName=None, *extra)[source]
Parameters:
  • jobStoreFileID (str) – the ID of the file that was mistakenly assumed to exist
  • customName (str) – 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)[source]

Indicates that the specified job does not exist.

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

Indicates that the specified job store does not exist.

__init__(locator)[source]

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