phenotypic.sdk_.DashboardManifestKey#

class phenotypic.sdk_.DashboardManifestKey[source]#

Bases: object

Keys inside <output>/.phenotypic/progress/manifest.json.

The manifest is built by _cli._dashboard._manifest_builder.build_manifest() and consumed by both the dashboard JS and the GUI run-console’s runs registry (_runs_registry.py). Writers and readers must reference these constants rather than spelling the bare string.

Methods

__init__

Attributes

COMPLETED

DATASETS

EVENT_DIAGNOSTICS

EXECUTION_MODE

FAILED

FAILURE_CATEGORIES

GUI_RECORD_GENERATION

Exact GUI generation that published this canonical local manifest.

INPUT_PATH

IS_COMPLETE

LAST_UPDATED

PENDING

PROCESSING_GENERATION

SLURM_INFO

STARTED

START_TIME

SUCCESS_RATE

TOTAL_IMAGES

VERSION

Written, never read -- and that is the correct state for it. A format version exists to be readable by something that does not exist yet, so "zero readers" is the expected condition of a healthy one, not evidence of death.

VERSION: Final[str] = 'version'#

Written, never read – and that is the correct state for it. A format version exists to be readable by something that does not exist yet, so “zero readers” is the expected condition of a healthy one, not evidence of death. P6 Task 7’s deletion ledger listed it as dead on a zero-reader count; it was removed and restored, because dropping it leaves the manifest with no schema discriminator and that cannot be added retroactively to trees written meanwhile. The criterion is right for a function and wrong for a format version.

LAST_UPDATED: Final[str] = 'last_updated'#
EXECUTION_MODE: Final[str] = 'execution_mode'#
TOTAL_IMAGES: Final[str] = 'total_images'#
COMPLETED: Final[str] = 'completed'#
FAILED: Final[str] = 'failed'#
STARTED: Final[str] = 'started'#
PENDING: Final[str] = 'pending'#
SUCCESS_RATE: Final[str] = 'success_rate'#
IS_COMPLETE: Final[str] = 'is_complete'#
START_TIME: Final[str] = 'start_time'#
GUI_RECORD_GENERATION: Final[str] = 'gui_record_generation'#

Exact GUI generation that published this canonical local manifest. Omitted from non-GUI and scheduler manifests for compatibility.

PROCESSING_GENERATION: Final[str] = 'processing_generation'#
EVENT_DIAGNOSTICS: Final[str] = 'event_diagnostics'#
INPUT_PATH: Final[str] = 'input_path'#
DATASETS: Final[str] = 'datasets'#
FAILURE_CATEGORIES: Final[str] = 'failure_categories'#
SLURM_INFO: Final[str] = 'slurm_info'#