From 64e964554748bdee93bad1c7e6cd2924595c414f Mon Sep 17 00:00:00 2001 From: John Marshall Date: Fri, 29 Sep 2023 00:06:47 +1300 Subject: [PATCH] docs: fix syntax in cluster example (#2460) ### Description Fix misleading syntax in documentation example. See . ### QC * [ ] ~~The PR contains a test case for the changes or the changes are already covered by an existing test case.~~ N.A. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). --- docs/executing/cluster.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/executing/cluster.rst b/docs/executing/cluster.rst index 2259c4269..9dd891f7f 100644 --- a/docs/executing/cluster.rst +++ b/docs/executing/cluster.rst @@ -120,8 +120,8 @@ Each of these can be part of a rule, e.g.: input: ... output: ... resources: - partition: - runtime: + partition=, + runtime= Please note: as ``--mem`` and ``--mem-per-cpu`` are mutually exclusive on SLURM clusters, there corresponding resource flags ``mem_mb`` and ``mem_mb_per_cpu`` are mutually exclusive, too. You can only reserve memory a compute node has to provide or the memory required per CPU (SLURM does not make any distintion between real CPU cores and those provided by hyperthreads).