cellmap_flow.dashboard.finetune_utils
The dashboard’s side of cellmap_flow.finetune.session.
The session code takes its state as arguments. The dashboard’s is its session’s MinIO state and volume records (dashboard.state), which the MinIO and sync entry points below read when they are called and pass on; serving a volume checks first that MinIO is installed.
Functions
|
Serve the volume at |
|
|
|
|
Module Contents
- cellmap_flow.dashboard.finetune_utils.ensure_minio_serving(zarr_path, crop_id, output_base_dir=None, mc_target_name=None)
Serve the volume at
zarr_paththrough the dashboard’s MinIO, starting it if needed; returns its URL.crop_idis the volume id, its bucket key without “.zarr”. Seesession.minio.MinioServer.ensure_serving.
- cellmap_flow.dashboard.finetune_utils.sync_all_annotations_from_minio(force: bool = True)
session.sync.sync_allfor the dashboard’s MinIO: how many volumes changed, or -1 if MinIO is not running.
- cellmap_flow.dashboard.finetune_utils.sync_annotation_volume_from_minio(volume_id, force=False, zarr_path=None)
session.sync.sync_volumefor the dashboard’s MinIO.