Skip to content

Commit

Permalink
fix handling of output paths
Browse files Browse the repository at this point in the history
  • Loading branch information
michelwi committed Aug 1, 2024
1 parent 2e8b1e5 commit 406a439
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sisyphus/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 406a439

Please sign in to comment.