From 92887a33dc3674f942bd0355edfbba53b810f18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20K=C3=B6ster?= Date: Wed, 30 Mar 2022 11:44:37 +0200 Subject: [PATCH] fix: proper error message in case of missing git when checking for source files (#1534) --- snakemake/workflow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snakemake/workflow.py b/snakemake/workflow.py index 41f7a5ddc..4b2adbdfe 100644 --- a/snakemake/workflow.py +++ b/snakemake/workflow.py @@ -392,7 +392,8 @@ def norm_rule_relpath(f, rule): ) else: raise WorkflowError( - "Error executing git:\n{}".format(e.stderr.decode()) + "Error executing git (Snakemake requires git to be installed for " + "remote execution without shared filesystem):\n" + e.stderr.decode() ) return files