Skip to content

Commit

Permalink
Merge pull request #408 from kapilkd13/master
Browse files Browse the repository at this point in the history
changes to enable nolinkcheck in case of default field, related to cwltool issue#2
  • Loading branch information
mr-c committed Jul 7, 2017
2 parents d71b2f7 + 18fc8d6 commit 0f28896
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 6 deletions.
4 changes: 3 additions & 1 deletion v1.0/Process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ $graph:
- name: default
type: Any?
jsonldPredicate: "cwl:default"
jsonldPredicate:
_id: cwl:default
noLinkCheck: true
doc: |
The default value for this parameter if not provided in the input
object.
Expand Down
4 changes: 3 additions & 1 deletion v1.0/Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ $graph:
doc: |
The default value for this parameter if there is no `source`
field.
jsonldPredicate: "cwl:default"
jsonldPredicate:
_id: "cwl:default"
noLinkCheck: true
- name: valueFrom
type:
- "null"
Expand Down
8 changes: 6 additions & 2 deletions v1.0/conformance_test_v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -982,9 +982,13 @@
tool: v1.0/imported-hint.cwl
doc: Test hints with $import

- output: {}
job: v1.0/default_path_job.yml
tool: v1.0/default_path.cwl
doc: Test warning instead of error when default path is not found

- output:
args: [-A,'2',-B,baz,-C,'10','9','8','7','6','5','4','3','2','1']
job: v1.0/empty.json
tool: v1.0/inline-js.cwl
doc: Test InlineJavascriptRequirement with multiple expressions in the same tool

doc: Test InlineJavascriptRequirement with multiple expressions in the same tool
10 changes: 10 additions & 0 deletions v1.0/v1.0/default_path.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cwlVersion: v1.0
class: CommandLineTool
inputs:
- id: "file1"
type: File
default:
class: File
path: default.txt
outputs: []
arguments: [cat,$(inputs.file1.path)]
3 changes: 3 additions & 0 deletions v1.0/v1.0/default_path_job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file1:
class: File
path: hello.txt
4 changes: 3 additions & 1 deletion v1.1.0-dev1/Process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,9 @@ $graph:
- name: default
type: Any?
jsonldPredicate: "cwl:default"
jsonldPredicate:
_id: cwl:default
noLinkCheck: true
doc: |
The default value for this parameter if not provided in the input
object.
Expand Down
4 changes: 3 additions & 1 deletion v1.1.0-dev1/Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ $graph:
doc: |
The default value for this parameter if there is no `source`
field.
jsonldPredicate: "cwl:default"
jsonldPredicate:
_id: "cwl:default"
noLinkCheck: true
- name: valueFrom
type:
- "null"
Expand Down
5 changes: 5 additions & 0 deletions v1.1.0-dev1/conformance_test_v1.1.0-dev1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -992,3 +992,8 @@
size: 15
tool: v1.1.0-dev1/imported-hint.cwl
doc: Test hints with $import

- output: {}
job: v1.0/default_path_job.yml
tool: v1.0/default_path.cwl
doc: Test warning instead of error when default path is not found
10 changes: 10 additions & 0 deletions v1.1.0-dev1/v1.1.0-dev1/default_path.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cwlVersion: v1.0
class: CommandLineTool
inputs:
- id: "file1"
type: File
default:
class: File
path: default.txt
outputs: []
arguments: [cat,$(inputs.file1.path)]
3 changes: 3 additions & 0 deletions v1.1.0-dev1/v1.1.0-dev1/default_path_job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file1:
class: File
path: hello.txt

0 comments on commit 0f28896

Please sign in to comment.