Skip to content

Commit 63f8cdc

Browse files
caroottkMutagene
authored andcommitted
fix references in decode
1 parent 8cfb04c commit 63f8cdc

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/CWL/Decode.fs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
namespace ARCtrl.CWL
22

33
open YAMLicious
4+
open YAMLicious.YAMLiciousTypes
5+
open CWLTypes
6+
open Requirements
7+
open Inputs
8+
open Outputs
49

510
module Decode =
611

@@ -164,9 +169,9 @@ module Decode =
164169
outputs
165170
)
166171

167-
let decodeAll =
168-
let yamlCWL = Decode.read exampleCWL
169-
CWL(
172+
let decodeAll (cwl: string) =
173+
let yamlCWL = Decode.read cwl
174+
CWL.CWL(
170175
cwlVersion = Decode.object (fun get -> get.Required.Field "cwlVersion" Decode.string) yamlCWL,
171176
cls =
172177
Decode.object (fun get ->

0 commit comments

Comments
 (0)