phenotypic.sdk_.PhenotypicAttr#

class phenotypic.sdk_.PhenotypicAttr[source]#

Bases: object

Keys inside the namespaced attributes.phenotypic block.

Spelled out here so a renamed key fails at type-check time rather than silently at runtime, matching the JobMetadataKey pattern already used in phenotypic.sdk_._io_constants.

Methods

__init__

Attributes

DETECT_MODE

GAMMA

GRID

ILLUMINANT

IMAGE_CLASS

IMPORTED

LABELS

METADATA

METADATA_TABLE

Which metadata snapshot the store's embedded tables were built against (D-A), as {"snapshot_sha256": ..., "join_keys": [...], "join_kind": ...}.

PHENOTYPIC_VERSION

PROTECTED

PROVENANCE

PUBLIC

PUBLICATION_PROTOCOL

PYRAMID

ROOT

SERIES

SNAPSHOT_SHA256

STORE_SCHEMA_VERSION

TABLES

WORK_ID

ROOT: Final[str] = 'phenotypic'#
STORE_SCHEMA_VERSION: Final[str] = 'store_schema_version'#
PHENOTYPIC_VERSION: Final[str] = 'phenotypic_version'#
IMAGE_CLASS: Final[str] = 'image_class'#
WORK_ID: Final[str] = 'work_id'#
PUBLICATION_PROTOCOL: Final[str] = 'publication_protocol'#
PROVENANCE: Final[str] = 'provenance'#
TABLES: Final[str] = 'tables'#
SERIES: Final[str] = 'series'#
LABELS: Final[str] = 'labels'#
PYRAMID: Final[str] = 'pyramid'#
DETECT_MODE: Final[str] = 'detect_mode'#
ILLUMINANT: Final[str] = 'illuminant'#
GAMMA: Final[str] = 'gamma'#
GRID: Final[str] = 'grid'#
METADATA: Final[str] = 'metadata'#
METADATA_TABLE: Final[str] = 'metadata_table'#

Which metadata snapshot the store’s embedded tables were built against (D-A), as {"snapshot_sha256": ..., "join_keys": [...], "join_kind": ...}. The key is metadata_table and not metadata, because METADATA directly above is already taken by the {protected, public, imported} image-metadata sections. This is the spelling’s single home: _run_state.py binds its private reader names to these two members rather than repeating the strings.

SNAPSHOT_SHA256: Final[str] = 'snapshot_sha256'#
PROTECTED: Final[str] = 'protected'#
PUBLIC: Final[str] = 'public'#
IMPORTED: Final[str] = 'imported'#