We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cfb04c commit 63f8cdcCopy full SHA for 63f8cdc
1 file changed
src/CWL/Decode.fs
@@ -1,6 +1,11 @@
1
namespace ARCtrl.CWL
2
3
open YAMLicious
4
+open YAMLicious.YAMLiciousTypes
5
+open CWLTypes
6
+open Requirements
7
+open Inputs
8
+open Outputs
9
10
module Decode =
11
@@ -164,9 +169,9 @@ module Decode =
164
169
outputs
165
170
)
166
171
167
- let decodeAll =
168
- let yamlCWL = Decode.read exampleCWL
- CWL(
172
+ let decodeAll (cwl: string) =
173
+ let yamlCWL = Decode.read cwl
174
+ CWL.CWL(
175
cwlVersion = Decode.object (fun get -> get.Required.Field "cwlVersion" Decode.string) yamlCWL,
176
cls =
177
Decode.object (fun get ->
0 commit comments