Skip to content

Commit

Permalink
Fix property extraction in Klever Bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Jun 25, 2024
1 parent d90876d commit b3c5f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/klever_bridge/index_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ def _get_job_from_attrs(str_attrs: str) -> str:
if os.path.exists(cil_file):
with open(cil_file, encoding="utf8", errors='ignore') as cil_fp:
for line in cil_fp.readlines():
if "vtg" not in line or "emg" not in line:
if "vtg" not in line or "weaver" not in line:
continue
res = re.search(
rf"{job_dir}/(.+)/klever-core-work-dir/job/vtg/(.+)\.ko/(.+)/emg", line
rf"{job_dir}/(.+)/klever-core-work-dir/job/vtg/(.+)\.ko/.+/\d+/(.+)/weaver/", line
)
if res:
new_job_id = res.group(1)
Expand Down

0 comments on commit b3c5f97

Please sign in to comment.