sddb.TableAdapter#
- class sddb.TableAdapter(*args, **kwargs)#
Per-table counterpart of
TaskAdapter, used byto_anndata().Each member's table is checked and mapped into a shared space (genes, QC, ...) as it is read, before concatenation. Any issue from
validate_metaorvalidateskips the member; the reasons land inuns["sddb"]["dropped"]of the result.Attributes table#
Methods table#
build(adata, row)Map the table into the task's space;
Nonedrops the member (e.g. nothing left after QC).Declare what to read, e.g.
{"elements": ("X", "obs", "var")};{}reads the whole table.validate(adata, row)Authoritative check on the table as read.
validate_meta(row)Cheap check on the member's catalog row, before its table is read.
Attributes#
Methods#
- build(adata: AnnData, row: Series) AnnData | None#
Map the table into the task's space;
Nonedrops the member (e.g. nothing left after QC).