From 406a439a38dce415ca28a1cb64c09cd4b7e1b3f9 Mon Sep 17 00:00:00 2001 From: Wilfried Michel Date: Thu, 1 Aug 2024 15:34:52 +0000 Subject: [PATCH] fix handling of output paths --- sisyphus/http_server.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sisyphus/http_server.py b/sisyphus/http_server.py index 635bff7..76f4c71 100644 --- a/sisyphus/http_server.py +++ b/sisyphus/http_server.py @@ -10,7 +10,7 @@ import threading import time -from sisyphus.graph import OutputReport +from sisyphus.graph import OutputReport, OutputPath from sisyphus.job import Job from sisyphus.job_path import AbstractPath from sisyphus.tools import cache_result @@ -95,7 +95,11 @@ def keepalive(sec): @keepalive(2) def output_view(): outputs = [] - for name, path in g_sis_graph.output.items(): + for target in g_sis_graph.targets: + if not isinstance(target, OutputPath): + continue + name = target.name + path = target._sis_path if path.creator: job = path.creator state = job._sis_state(g_sis_engine)