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

Raise error if cpus value is negative #4300

Closed
wants to merge 2 commits into from

Conversation

bentsherman
Copy link
Member

Related to customer ticket: https://support.seqera.io/helpdesk/tickets/3774

An alternative would be to simply log a warning and return 1 cpu if the cpus value is negative.

@netlify
Copy link

netlify bot commented Sep 13, 2023

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit ff1ff17
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/661ffee6193ef300081adae5

@bentsherman
Copy link
Member Author

Related to #4917 -- I think I might refactor this PR into a more general solution that adds stricter checks to ProcessConfig for all process directives -- types, min/max values where appropriate. The main challenge is to make sure that the process DSL and process configuration are routed through the same methods

@pditommaso
Copy link
Member

Closing in favour of af2e4ef

@pditommaso pditommaso closed this Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants