Hi team,
I have a workflow that generates invalid imports when packed.
From
Release dragen-wgts-dna-pipeline/4.4.4__20251009055750 · umccr/cwl-ica
I have a attached a copy of the zipped workflow and the subsequent packed workflow (compressed)
dragen-wgts-dna-pipeline__4.4.4__20251009055750.zip
dragen-wgts-dna-pipeline__4.4.4__20251009055750.packed.cwl.json.gz
When packed, there are a lot of “$import”: “#dragen-qc-coverage__1.0.0.yaml/dragen-qc-coverage” but the actual schema is not defined anywhere.
Running
cwltool --validate \
<( \
wget -q -O- \
"https://github.com/umccr/cwl-ica/releases/download/dragen-wgts-dna-pipeline%2F4.4.4__20251009055750/dragen-wgts-dna-pipeline__4.4.4__20251009055750.packed.cwl.json.gz" | \
zcat \
)
Gives
ERROR Tool definition failed validation:
(139693097291072) (file:///proc/self/fd/11) Validation error in position 4:
(139693097291072) (file:///proc/self/fd/11) Validation error in field requirements:
(139693097291072) (file:///proc/self/fd/11) Validation error in position 1:
(139693097291072) (file:///proc/self/fd/11) Validation error in field types:
(139693097291072) (file:///proc/self/fd/11) Validation error in position 2:
Reference '#dragen-qc-coverage__1.0.0.yaml/dragen-qc-coverage' not found in file 'file:///proc/self/fd/11'.
Implications of this are that I cannot make a nice graph describing the workflow or any of the subworkflows.