valska_hera_beam.external_tools.bayeseor.cli_cleanup
Cleanup utility for BayesEoR sweep artefacts.
Functions
|
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._apply_filters(entries: list[dict[str, Any]], *, run_id: str | None, beam: str | None, sky: str | None, latest: bool, max_results: int | None) list[dict[str, Any]]
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._collect_log_candidates(run_dir: Path) list[Path]
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._collect_temp_candidates(run_dir: Path) list[Path]
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._is_older_than_days(path: Path, days: float | None, *, now_ts: float) bool
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._move_to_trash(path: Path, *, trash_root: Path, rel_root: Path) Path
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._plan_run_dir_candidate(*, row: SweepPointHealth, run_status: str, older_than_days: float | None, now_ts: float) tuple[bool, str]
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._print_text(payload: dict[str, Any]) None
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._safe_rel(path: Path, *, root: Path) Path
- valska_hera_beam.external_tools.bayeseor.cli_cleanup._utc_stamp() str
- valska_hera_beam.external_tools.bayeseor.cli_cleanup.build_parser() ArgumentParser
- valska_hera_beam.external_tools.bayeseor.cli_cleanup.main(argv: list[str] | None = None) int