read_dag_log

lsst.ctrl.bps.htcondor.read_dag_log(wms_path: str | PathLike) tuple[str, dict[str, Any]]

Read job information from the DAGMan log file.

Parameters:
wms_pathstr or os.PathLike

Path containing the DAGMan log file.

Returns:
wms_workflow_idstr

HTCondor job id (i.e., <ClusterId>.<ProcId>) of the DAGMan job.

dag_infodict [str, dict [str, Any]]

HTCondor job information read from the log file mapped to HTCondor job id.

Raises:
FileNotFoundError

If cannot find DAGMan log in given wms_path.