qp.analyze.checkup.classify_job¶
- qp.analyze.checkup.classify_job(qm_dir_path, delete_queued)[source]¶
Classify a single QM job’s status.
Combines information from the submit record and output file to determine the overall job status. For completed jobs, also checks for specific failure modes.
- Parameters:
qm_dir_path (str) – Path to the QM calculation directory (e.g.,
output/1os7/A200/wpbeh).delete_queued (bool) – If True, delete records for queued but never-started jobs.
- Returns:
(status, author)where status is one of'backlog','queue','running','done','charge','memory', or'unknown'.- Return type:
tuple of (str, str)