sddb.TableAdapter#
- class sddb.TableAdapter(*args, **kwargs)#
Per-table counterpart of
TaskAdapter, used bySpatialDataCohort.to_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.- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)build(adata, row)Map the table into the task's space;
Nonedrops the member (e.g. nothing left after QC).requirements()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
nameversion