-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
239 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,28 @@ | ||
namespace ARCtrl.CWL | ||
|
||
open CWLTypes | ||
open DynamicObj | ||
open Fable.Core | ||
|
||
module Inputs = | ||
type InputBinding = { | ||
Prefix: string option | ||
Position: int option | ||
ItemSeparator: string option | ||
Separate: bool option | ||
} | ||
|
||
type InputBinding = { | ||
Prefix: string option | ||
Position: int option | ||
ItemSeparator: string option | ||
Separate: bool option | ||
} | ||
|
||
[<AttachMembers>] | ||
type Input ( | ||
name: string, | ||
?type_: CWLType, | ||
?inputBinding: InputBinding, | ||
?optional: bool | ||
) as this = | ||
inherit DynamicObj () | ||
do | ||
DynObj.setOptionalProperty ("type") type_ this | ||
DynObj.setOptionalProperty ("inputBinding") inputBinding this | ||
DynObj.setOptionalProperty ("optional") optional this | ||
member this.Name = name | ||
member this.Type_ = DynObj.tryGetTypedPropertyValue<CWLType> ("type") this | ||
member this.InputBinding = DynObj.tryGetTypedPropertyValue<InputBinding> ("inputBinding") this | ||
member this.Optional = DynObj.tryGetTypedPropertyValue<bool> ("optional") this | ||
[<AttachMembers>] | ||
type CWLInput ( | ||
name: string, | ||
?type_: CWLType, | ||
?inputBinding: InputBinding, | ||
?optional: bool | ||
) as this = | ||
inherit DynamicObj () | ||
do | ||
DynObj.setOptionalProperty ("type") type_ this | ||
DynObj.setOptionalProperty ("inputBinding") inputBinding this | ||
DynObj.setOptionalProperty ("optional") optional this | ||
member this.Name = name | ||
member this.Type_ = DynObj.tryGetTypedPropertyValue<CWLType> ("type") this | ||
member this.InputBinding = DynObj.tryGetTypedPropertyValue<InputBinding> ("inputBinding") this | ||
member this.Optional = DynObj.tryGetTypedPropertyValue<bool> ("optional") this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
namespace ARCtrl.CWL | ||
|
||
open CWLTypes | ||
open DynamicObj | ||
open Fable.Core | ||
|
||
module Outputs = | ||
type OutputBinding = { | ||
Glob: string option | ||
} | ||
|
||
type OutputBinding = { | ||
Glob: string option | ||
} | ||
|
||
[<AttachMembers>] | ||
type Output ( | ||
name: string, | ||
?type_: CWLType, | ||
?outputBinding: OutputBinding, | ||
?outputSource: string | ||
) as this = | ||
inherit DynamicObj () | ||
do | ||
DynObj.setOptionalProperty ("type") type_ this | ||
DynObj.setOptionalProperty ("outputBinding") outputBinding this | ||
DynObj.setOptionalProperty ("outputSource") outputSource this | ||
member this.Name = name | ||
member this.Type_ = DynObj.tryGetTypedPropertyValue<CWLType> ("type") this | ||
member this.OutputBinding = DynObj.tryGetTypedPropertyValue<OutputBinding> ("outputBinding") this | ||
member this.OutputSource = DynObj.tryGetTypedPropertyValue<string> ("outputSource") this | ||
[<AttachMembers>] | ||
type CWLOutput ( | ||
name: string, | ||
?type_: CWLType, | ||
?outputBinding: OutputBinding, | ||
?outputSource: string | ||
) as this = | ||
inherit DynamicObj () | ||
do | ||
DynObj.setOptionalProperty ("type") type_ this | ||
DynObj.setOptionalProperty ("outputBinding") outputBinding this | ||
DynObj.setOptionalProperty ("outputSource") outputSource this | ||
member this.Name = name | ||
member this.Type_ = DynObj.tryGetTypedPropertyValue<CWLType> ("type") this | ||
member this.OutputBinding = DynObj.tryGetTypedPropertyValue<OutputBinding> ("outputBinding") this | ||
member this.OutputSource = DynObj.tryGetTypedPropertyValue<string> ("outputSource") this |
Oops, something went wrong.