canns.pipeline.gallery.state

State management for the model gallery TUI.

Attributes

Classes

GalleryState

Centralized state for the model gallery TUI.

Functions

get_analysis_options(model)

Return analysis options for the selected model.

get_default_analysis(model)

Return the default analysis key for the selected model.

Module Contents

class canns.pipeline.gallery.state.GalleryState[source]

Centralized state for the model gallery TUI.

analysis: str = 'connectivity'[source]
artifacts: dict[str, pathlib.Path][source]
model: str = 'cann1d'[source]
workdir: pathlib.Path[source]
canns.pipeline.gallery.state.get_analysis_options(model)[source]

Return analysis options for the selected model.

canns.pipeline.gallery.state.get_default_analysis(model)[source]

Return the default analysis key for the selected model.

canns.pipeline.gallery.state.MODEL_ANALYSIS_OPTIONS: dict[str, list[tuple[str, str]]][source]