Skip to content

Commit

Permalink
fix: when using remote storage: only wait for files if job did not error
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Feb 24, 2024
1 parent 1fb5467 commit 8c7ee91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/jobs.py
Expand Up @@ -1075,7 +1075,7 @@ async def postprocess(
)
if not error:
self.dag.handle_protected(self)
elif not shared_input_output and not wait_for_local:
elif not shared_input_output and not wait_for_local and not error:
expanded_output = list(self.output)
if self.benchmark:
expanded_output.append(self.benchmark)
Expand Down

0 comments on commit 8c7ee91

Please sign in to comment.