Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: various bug fixes for resource parsing #2711

Merged
merged 1 commit into from Feb 20, 2024
Merged

Conversation

johanneskoester
Copy link
Contributor

Description

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • 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).

Copy link

sonarcloud bot commented Feb 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@johanneskoester johanneskoester mentioned this pull request Feb 20, 2024
2 tasks
@johanneskoester johanneskoester merged commit d1daf0b into main Feb 20, 2024
35 checks passed
@johanneskoester johanneskoester deleted the fix/set-resources branch February 20, 2024 13:10
johanneskoester pushed a commit that referenced this pull request Feb 20, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.4.12](v8.4.11...v8.4.12)
(2024-02-20)


### Bug Fixes

* constrain dependencies to match conda experience
([#2710](#2710))
([d9a7a13](d9a7a13))
* various bug fixes for resource parsing
([#2711](#2711))
([d1daf0b](d1daf0b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@@ -536,7 +544,8 @@ def generic_callable(val, threads_arg, **kwargs):
f"'{val}'.\n"
" String arguments may need additional "
"quoting. E.g.: --default-resources "
"\"tmpdir='/home/user/tmp'\".",
"\"tmpdir='/home/user/tmp'\" or "
"--set-resources \"compute1:slurm_extra='--nice=100'\".",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this hard-coded compute1 as a rule name really intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants