Exceptions API

Toil specific exceptions.

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

General job exception.

__init__(message)[source]

x.__init__(…) initializes x; see help(type(x)) for 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]

x.__init__(…) initializes x; see help(type(x)) for 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]

x.__init__(…) initializes x; see help(type(x)) for signature

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

Indicates that the specified file does not exist.

__init__(jobStoreFileID, customName=None)[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
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]

x.__init__(…) initializes x; see help(type(x)) for signature