def METHOD_NAME(pav_cfg, id_dir: Path, verbose: bool = False) -> int:
    """Delete series if all associated tests have been deleted."""
    return dir_db.delete(pav_cfg, id_dir, _delete_series_filter, verbose=verbose)