Home | History | Annotate | Download | only in site_utils

Lines Matching refs:result_dir

39 def get_job_id_or_task_id(result_dir):
40 """Extract job id or special task id from result_dir
42 @param result_dir: path to the result dir.
50 to parse job or task id from the result_dir.
52 if not result_dir:
54 result_dir = os.path.abspath(result_dir)
60 m_job = re.findall(JOB_PATTERN, result_dir)
63 m_special_task = re.match(SPECIAL_TASK_PATTERN, result_dir)
66 m_ssp_job_pattern = re.match(ssp_job_pattern, result_dir)