-
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load schemas before calling print_deps
- Loading branch information
Showing
3 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
tests/wf/print_deps_with_workflows_having_namespace_location_steps.cwl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env cwl-runner | ||
# From: | ||
# - https://github.com/common-workflow-language/cwltool/issues/1765 | ||
# - https://github.com/pvanheus/lukasa/blob/99e827e0125cf07621253ae081199298adf7227b/protein_evidence_mapping.cwl | ||
cwlVersion: v1.2 | ||
class: Workflow | ||
|
||
inputs: | ||
contigs_fasta: | ||
label: "Genomic contigs (FASTA)" | ||
type: File | ||
format: edam:format_1929 | ||
outputs: | ||
out: | ||
type: File | ||
outputSource: | ||
samtools_index_contigs/sequences_with_index | ||
|
||
steps: | ||
samtools_index_contigs: | ||
# This step is from an external file. print_deps failed here, with a validation | ||
# error message, even though --validate passed. | ||
run: bio-cwl-tools:samtools/samtools_faidx.cwl | ||
in: | ||
sequences: contigs_fasta | ||
out: | ||
- sequences_with_index | ||
$namespaces: | ||
edam: http://edamontology.org/ | ||
bio-cwl-tools: https://raw.githubusercontent.com/common-workflow-library/bio-cwl-tools/release/ | ||
$schemas: | ||
- http://edamontology.org/EDAM_1.18.owl |