Span report: only blocks with an engine log

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Pavlo Ratushnyi
2026-11-13 07:08:50 +01:00
co-authored by Claude Sonnet 5.5
parent a3ad7405a8
commit 71354841ed
+2 -1
View File
@@ -58,7 +58,8 @@ def interval(xs):
def blocks(run_dir, name):
return {d.split(".", 1)[1]: os.path.join(run_dir, d) for d in sorted(os.listdir(run_dir))
if d.startswith(name + ".") and not os.path.exists(os.path.join(run_dir, d, "INVALID"))}
if d.startswith(name + ".") and os.path.exists(os.path.join(run_dir, d, "engine.log"))
and not os.path.exists(os.path.join(run_dir, d, "INVALID"))}
def main(argv):