toil.fileStores¶
Submodules¶
Classes¶
A small wrapper around Python's builtin string class. |
Package Contents¶
- class toil.fileStores.FileID(fileStoreID, size, executable=False)[source]¶
Bases:
str
A small wrapper around Python’s builtin string class.
It is used to represent a file’s ID in the file store, and has a size attribute that is the file’s size in bytes. This object is returned by importFile and writeGlobalFile.
Calls into the file store can use bare strings; size will be queried from the job store if unavailable in the ID.
- size¶
- executable¶
- pack()[source]¶
Pack the FileID into a string so it can be passed through external code.
- Return type: