You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centralize and harden config.yaml discovery and scorer resolution across the plugin. Key changes:
- Prefer find_nearest_config for automatic config lookup and switch core/io to use it when loading colormap for HDF files.
- Remove legacy misc.find_project_config_path and provenance.find_config_scorer_nearby; provenance now imports find_nearest_config.
- Overhauled the save flow in KeypointControls: auto-load scorer from an auto-discovered config, present a project-config chooser when no config is found, validate unreadable/missing scorers, fall back to sidecar or manual prompt only when appropriate, and persist sidecar defaults when possible.
- Add UI dialog helpers in ui/dialogs.py: load_scorer_from_config, warn_invalid_config_for_scorer, and extend prompt_for_project_config_for_save to optionally resolve and return a scorer.
- Add module-level note in _widgets.py recommending future refactors to keep the file small.
These changes make project association and scorer selection more robust and user-friendly, add clearer warnings for invalid configs, and consolidate config lookup logic.
0 commit comments