diff options
| author | Arun Isaac | 2025-11-24 00:57:12 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-11-24 01:33:27 +0000 |
| commit | 124c5c51c24b0eacba891da9c6a2e4bc9eb1937a (patch) | |
| tree | aef236cbb49a7591bddac49f888851dd0627428c /test-data | |
| parent | d22f48630c08ef79fe25c580126a8d9bd373c522 (diff) | |
| download | ravanan-124c5c51c24b0eacba891da9c6a2e4bc9eb1937a.tar.gz ravanan-124c5c51c24b0eacba891da9c6a2e4bc9eb1937a.tar.lz ravanan-124c5c51c24b0eacba891da9c6a2e4bc9eb1937a.zip | |
reader: Resolve YAML inputs file type ambiguities.
Resolve YAML inputs file type ambiguities by reading them along with the workflow file and using the workflow input types to guide their type coercion.
Diffstat (limited to 'test-data')
| -rw-r--r-- | test-data/inputs-with-type-ambiguities.yaml | 5 | ||||
| -rw-r--r-- | test-data/workflow-for-inputs-with-type-ambiguities.cwl | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test-data/inputs-with-type-ambiguities.yaml b/test-data/inputs-with-type-ambiguities.yaml new file mode 100644 index 0000000..119b72f --- /dev/null +++ b/test-data/inputs-with-type-ambiguities.yaml @@ -0,0 +1,5 @@ +number: 13 +flag: true +reverseflag: false +foo: bar +arr: [1, 2, 3] diff --git a/test-data/workflow-for-inputs-with-type-ambiguities.cwl b/test-data/workflow-for-inputs-with-type-ambiguities.cwl new file mode 100644 index 0000000..4e33148 --- /dev/null +++ b/test-data/workflow-for-inputs-with-type-ambiguities.cwl @@ -0,0 +1,11 @@ +class: Workflow +inputs: + number: int + flag: boolean + reverseflag: boolean + foo: string + arr: + type: + type: array + items: int +outputs: [] |
