Skip to content

_registry

Registry of example datasets. Add one by appending to :data:DATASETS.

FigshareData dataclass

A dataset hosted on Figshare.

name is the registry key and cache filename stem; file_id is the numeric id at the end of a Figshare download URL.

Source code in scdesigner/src/scdesigner/datasets/_registry.py
 6
 7
 8
 9
10
11
12
13
14
15
@dataclass(frozen=True)
class FigshareData:
    """A dataset hosted on Figshare.

    ``name`` is the registry key and cache filename stem; ``file_id`` is the
    numeric id at the end of a Figshare download URL.
    """

    name: str
    file_id: int