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: proper interpretation of standard resources given as strings (e.g. runtime as '5m'). Avoid the need to set additional quotes around size or timespan resources. Improved error messages for resource handling. #2716

Merged
merged 9 commits into from Feb 23, 2024

Conversation

cmeesters
Copy link
Contributor

Description

Eventually, human-readable resource parsing for runtimes from workflow-profiles ought to be enabled.

QC

  • [ x] 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).

added test with 'runtime: "5m"' in human readable
format. Ought to be parsable. Will - hopefully -
break right now.
@cmeesters
Copy link
Contributor Author

Breaks as expected.

@johanneskoester johanneskoester changed the title fix: test case for correct resource parsing fix: proper interpretation of standard resources given as strings (e.g. runtime as '5m'). Avoid the need to set additional quotes around size or timespan resources. Improved error messages for resource handling. Feb 23, 2024
Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue

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

See analysis details on SonarCloud

@johanneskoester johanneskoester merged commit b6636e9 into main Feb 23, 2024
35 checks passed
@johanneskoester johanneskoester deleted the fix/worflow-profile-parsing branch February 23, 2024 15:47
johanneskoester pushed a commit that referenced this pull request Feb 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.5.0](v8.4.12...v8.5.0)
(2024-02-24)


### Features

* add ability to return input functions from input functions. Such
nesting is evaluated 10 times at most. Beyond that, an error is thrown.
([#2717](#2717))
([7a47924](7a47924))
* support for report plugins
([#2700](#2700))
([2f7d4b5](2f7d4b5))


### Bug Fixes

* fix wait for files in case of using remote storage and remote
execution ([#2718](#2718))
([eec3a5f](eec3a5f))
* proper interpretation of standard resources given as strings (e.g.
runtime as '5m'). Avoid the need to set additional quotes around size or
timespan resources. Improved error messages for resource handling.
([#2716](#2716))
([b6636e9](b6636e9))

---
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>
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