phenotypic.schema.Entry#
- class phenotypic.schema.Entry(label: str, desc: str = '', *, bio_desc: str = '', image: str | None = None, tier: int | None = None, derivation_type: str | None = None, derives_from: str | None = None, rembi_module: REMBI_MODULE | None = None)[source]#
Bases:
objectDeclarative value for a
MeasurementInfomember.labelanddescare positional (matching the old(label, desc)tuple ergonomics). The new fields are keyword-only, sobio_desc/imagecan never be positionally swapped withdesc.- Parameters:
label (str) – Short, unprefixed measurement name (e.g.
"Area").desc (str) – Technical/algorithm description of what is computed.
bio_desc (str) – Biological relevance / use-case. Human-authored only.
image (str | None) – Path, relative to
_assets/measurements/, of an illustrative figure (e.g."shape/area.png");Nonefor no figure.tier (int | None)
derivation_type (str | None)
derives_from (str | None)
rembi_module (REMBI_MODULE | None)
Methods
__init__Attributes
- rembi_module: REMBI_MODULE | None#