read_dag_log

lsst.ctrl.bps.htcondor.read_dag_log(wms_path)

Read job information from the DAGMan log file.

Parameters:
wms_path : str

Path containing the DAGMan log file.

Returns:
wms_workflow_id : str

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

dag_info : 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.