From 8d223869a935e427205abc1044ff516c0840d751 Mon Sep 17 00:00:00 2001 From: Christian Meesters Date: Fri, 3 Jan 2025 11:06:39 +0100 Subject: [PATCH] fix: satisfiying the linter --- snakemake_executor_plugin_slurm/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snakemake_executor_plugin_slurm/__init__.py b/snakemake_executor_plugin_slurm/__init__.py index 876161f..9748b60 100644 --- a/snakemake_executor_plugin_slurm/__init__.py +++ b/snakemake_executor_plugin_slurm/__init__.py @@ -193,7 +193,8 @@ def run_job(self, job: JobExecutorInterface): gres_string = f" --gres=gpu:{job.resources.gpu_model}:{job.resources.gpu}" elif job.resources.get("gpu_model") and not job.resources.get("gpu"): raise WorkflowError( - "GPU model is set, but no GPU number is given. Please set 'gpu' as well." + "GPU model is set, but no GPU number is given. " + "Please set 'gpu' as well." ) call += ( gres_string if job.resources.get("gres") or job.resources.get("gpu") else ""