load_attachment()

audb.load_attachment(name, attachment, *, version=None, cache_root=None, verbose=True)[source]

Load attachment(s) of database.

Parameters
Return type

List[str]

Returns

list of file paths belonging to attachment

Raises

ValueError – if an attachment ID is requested that is not part of the database

Examples

>>> paths = load_attachment(
...     "emodb",
...     "bibtex",
...     version="1.4.1",
...     verbose=False,
... )
>>> os.path.basename(paths[0])
'burkhardt2005emodb.bib'