From d87884749fd9450062f6fde5b7727867396e7a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20L=C3=B6ffler?= Date: Wed, 2 Aug 2023 15:39:40 +0200 Subject: [PATCH] docs: fix a copy&paste (?) mistake (#2386) ### Description The current documentation mentions, within the tutorial: ``` set-threads: b: 16 to set the memory requirement of rule b to 1000 MB. ``` which is apparently a copy&paste left-over from a similar section within the same document: ``` set-resources: b: mem_mb: 1000 to set the memory requirement of rule b to 1000 MB. ``` This request fixes this. ### QC * [ ] The PR contains a test case for the changes or the changes are already covered by an existing test case. - **does not apply** * [ ] 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). - **This is only a documentation change.** --- docs/snakefiles/rules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/snakefiles/rules.rst b/docs/snakefiles/rules.rst index 44445aee1..c8c8589ef 100644 --- a/docs/snakefiles/rules.rst +++ b/docs/snakefiles/rules.rst @@ -321,7 +321,7 @@ To quickly exemplify the latter, you could provide the following workflow profil set-threads: b: 16 -to set the memory requirement of rule ``b`` to 1000 MB. +to set the (maximum) number of threads rule ``b`` uses to 16. .. _snakefiles-resources: