cwltool icon indicating copy to clipboard operation
cwltool copied to clipboard

cwltool --validate doesn't check for InlineJavascriptRequirement when it should

Open sjaenick opened this issue 1 year ago • 1 comments

Hi,

cwltool 3.1.20230601100705

For a workflow with cwlVersion: 1.2 and some steps only executed conditionally via when, cwltool successfully validates the workflow even if InlineJavascriptRequirement is not specified.

sjaenick avatar Jul 04 '23 14:07 sjaenick

Sample workflow e.g. at https://github.com/MGX-metagenomics/cwl/blob/master/metagenome-assembly-pipeline.cwl - cwltool --validate still reports success even if the InlineJavascriptRequirement is removed.

sjaenick avatar Jul 04 '23 14:07 sjaenick