From 8c7ee91ac5425279955e60071fd0269bf2bf197b Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Sat, 24 Feb 2024 11:58:31 +0100 Subject: [PATCH] fix: when using remote storage: only wait for files if job did not error --- snakemake/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakemake/jobs.py b/snakemake/jobs.py index 8d8c659ff..9871bbe54 100644 --- a/snakemake/jobs.py +++ b/snakemake/jobs.py @@ -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)