Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Enable values with an = sign in default_resources (#2340)
### Description In the default_resources block in a profile, variables cannot contain = signs; this is, however, needed to specify slurm_extra (e.g., --mail-type=none). The reason is in https://github.com/snakemake/snakemake/blob/main/snakemake/resources.py#L23: the argument is split by the = sign; this leads to an error if the result contains more than 2 elements (which occurs when there is more than one = sign). Closes #2290 ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [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). --------- Co-authored-by: Johannes Köster <johannes.koester@uni-due.de> Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
- Loading branch information