scverse_misc.datasets.DatasetEntry#

class scverse_misc.datasets.DatasetEntry(name, type, files, metadata=<factory>)#

A named dataset made up of one or more files.

Attributes table#

name

File name on disk.

type

Entry type, e.g. "anndata".

files

The files for this dataset.

metadata

Everything in the YAML other than type and files.

Attributes#

DatasetEntry.name: str#

File name on disk.

DatasetEntry.type: str#

Entry type, e.g. "anndata”.

DatasetEntry.files: tuple[FileEntry, ...]#

The files for this dataset.

DatasetEntry.metadata: Mapping[str, Any]#

Everything in the YAML other than type and files.

Methods#

DatasetEntry.file(*, name=None, suffix=None)#

Return the file matching name (exact) or suffix (endswith). Raises unless exactly one matches.

Return type:

FileEntry