common-workflow-language / common-workflow-language/cwltool
cwltool doesn't complain when max is lesser than min in ResourceRequirements
Open
- Dominant language
- Python
- Stars
- 376
- Forks
- 255
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 12
Description
Following this discussion: https://cwl.discourse.group/t/how-does-resourcerequirement-work/1019, `cwltool` does not validate whether `resourceMax` is greater than `resourceMin` in ResourceRequirements.
According to the [CWL documentation](https://www.commonwl.org/v1.2/CommandLineTool.html#ResourceRequirement), this should not be allowed, as it states: "It is an error if max < min.".
Contributor guide
Assessment
This issue has not been assessed yet.