File tree 3 files changed +58
-0
lines changed 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -626,6 +626,44 @@ $graph:
626
626
Docker container.
627
627
628
628
629
+ - type : record
630
+ name : SoftwareRequirement
631
+ extends : " #ProcessRequirement"
632
+ doc : |
633
+ Software that should be configured in the environment of the defined
634
+ process.
635
+
636
+ While absolute portability between platforms can be achieved with container
637
+ technologies like Docker, this mechanism provides an inexact and imprecise
638
+ fallback. The inexact nature is due to this standard not specifying the
639
+ base operating environment of the process or how the that environment is to
640
+ be configured as a result of these hints. The imprecise nature of these
641
+ hints is due to the `name` and `version` fields being unstructured and not
642
+ namespaced. The optional `identifier` field is recommended so that users
643
+ and platforms can distinguish between software that has the same name.
644
+ fields :
645
+ - name : spec
646
+ type :
647
+ type : array
648
+ items : SoftwareSpec
649
+ doc : " The list of software to be configured."
650
+
651
+ - name : SoftwareSpec
652
+ type : record
653
+ fields :
654
+ - name : name
655
+ type : string
656
+ doc : " The name of the software to be configured."
657
+ jsonldPredicate : " @id"
658
+ - name : " version"
659
+ type : string?
660
+ doc : " The (optional) version of the software to configured."
661
+ - name : " identifier"
662
+ type : string?
663
+ doc : |
664
+ The (optional) identifier of the software to be configured. Should be a
665
+ IRI such as an [RRID](http://www.identifiers.org/rrid/SCR_001156).
666
+ Example: `http://identifiers.org/rrid/RRID:SCR_001156`
629
667
630
668
- name : CreateFileRequirement
631
669
type : record
Original file line number Diff line number Diff line change 60
60
- job : draft-4/cat-job.json
61
61
tool : draft-4/cat3-tool-shortcut.cwl
62
62
doc : Test command execution in Docker with stdout redirection
63
+ output :
64
+ output_file :
65
+ class : File
66
+ checksum : sha1$47a013e660d408619d894b20806b1d5086aab03b
67
+ path : Any
68
+ size : 13
63
69
64
70
- job : draft-4/cat-job.json
65
71
output :
76
82
job :
77
83
tool : draft-4/egrep-stderr.cwl
78
84
doc : Test command line with stderr redirection
85
+ output :
86
+ output_file :
87
+ class : File
88
+ checksum : sha1$cec7b8746a78c42060c96505887449bca0142976
89
+ size : 84
90
+ path : error.txt
79
91
80
92
- args : [egrep]
81
93
job :
82
94
tool : draft-4/egrep-stderr-shortcut.cwl
83
95
doc : Test command line with stderr redirection, brief syntax
96
+ output :
97
+ output_file :
98
+ class : File
99
+ checksum : sha1$cec7b8746a78c42060c96505887449bca0142976
100
+ size : 84
101
+ path : Any
84
102
85
103
- args : [egrep]
86
104
stderr : std.err
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ description: "Print the contents of a file to stdout using 'cat' running in a do
5
5
hints :
6
6
DockerRequirement:
7
7
dockerPull: debian:wheezy
8
+ SoftwareRequirement:
9
+ name: cat
8
10
inputs :
9
11
file1:
10
12
type : File
You can’t perform that action at this time.
0 commit comments