Skip to content

Commit 25e1ba7

Browse files
committed
fix: resubmit workflow with merged output artifact in debug mode
Signed-off-by: zjgemi <[email protected]>
1 parent ec2b5e4 commit 25e1ba7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dflow/workflow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ def submit(
295295
and not os.path.islink(os.path.join(
296296
wfdir, key)):
297297
os.symlink(
298-
os.path.join(
299-
os.path.abspath(step.workflow), key),
298+
os.path.abspath(os.path.join(
299+
config["debug_workdir"], step.workflow,
300+
config["debug_artifact_dir"], key)),
300301
os.path.join(wfdir, key))
301302
for name, art in step[io].artifacts.items():
302303
if "dflow_group_key" in step.inputs.parameters:

0 commit comments

Comments
 (0)