@nfdi4plants/arctrl 3.2.3 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts/index.d.ts +44 -7
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +45 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Array.js +195 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Async.js +251 -30
- package/dist/ts/node_modules/@fable-org/fable-library-ts/AsyncBuilder.js +61 -11
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BigInt.js +15 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/BitConverter.js +139 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Date.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Decimal.js +68 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Double.js +24 -10
- package/dist/ts/node_modules/@fable-org/fable-library-ts/FSharp.Core.js +8 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Global.js +1 -1
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Int32.js +11 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/List.js +220 -155
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Long.js +7 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Map.js +46 -39
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableMap.js +75 -92
- package/dist/ts/node_modules/@fable-org/fable-library-ts/MutableSet.js +56 -76
- package/dist/ts/node_modules/@fable-org/fable-library-ts/NumberStyles.js +54 -0
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Numeric.js +10 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Random.js +3 -4
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Range.js +4 -3
- package/dist/ts/node_modules/@fable-org/fable-library-ts/RegExp.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq.js +128 -64
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Seq2.js +4 -8
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Set.js +64 -57
- package/dist/ts/node_modules/@fable-org/fable-library-ts/String.js +68 -21
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Collections.Generic.js +3 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.Text.js +2 -2
- package/dist/ts/node_modules/@fable-org/fable-library-ts/System.js +5 -5
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Types.js +23 -12
- package/dist/ts/node_modules/@fable-org/fable-library-ts/Util.js +88 -49
- package/dist/ts/node_modules/@fable-org/fable-library-ts/lib/big.js +121 -74
- package/dist/ts/ts/ARC.d.ts +19 -2
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +128 -89
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts +0 -2
- package/dist/ts/ts/CWL/CWLKnownFieldNames.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLKnownFieldNames.js +1 -7
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts +46 -27
- package/dist/ts/ts/CWL/CWLProcessingUnit.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLProcessingUnit.js +312 -123
- package/dist/ts/ts/CWL/CWLTypes.d.ts +481 -148
- package/dist/ts/ts/CWL/CWLTypes.d.ts.map +1 -1
- package/dist/ts/ts/CWL/CWLTypes.js +887 -201
- package/dist/ts/ts/CWL/Decode.d.ts +480 -211
- package/dist/ts/ts/CWL/Decode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Decode.js +3614 -2462
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts +9 -0
- package/dist/ts/ts/CWL/DynamicObjHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/DynamicObjHelpers.js +55 -5
- package/dist/ts/ts/CWL/Encode.d.ts +225 -85
- package/dist/ts/ts/CWL/Encode.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Encode.js +1858 -970
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts +42 -28
- package/dist/ts/ts/CWL/ExpressionToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ExpressionToolDescription.js +34 -13
- package/dist/ts/ts/CWL/HashHelpers.d.ts +38 -0
- package/dist/ts/ts/CWL/HashHelpers.d.ts.map +1 -1
- package/dist/ts/ts/CWL/HashHelpers.js +255 -6
- package/dist/ts/ts/CWL/Inputs.d.ts +127 -56
- package/dist/ts/ts/CWL/Inputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Inputs.js +107 -16
- package/dist/ts/ts/CWL/OperationDescription.d.ts +41 -21
- package/dist/ts/ts/CWL/OperationDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/OperationDescription.js +35 -9
- package/dist/ts/ts/CWL/Outputs.d.ts +93 -42
- package/dist/ts/ts/CWL/Outputs.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Outputs.js +101 -19
- package/dist/ts/ts/CWL/ParameterReference.d.ts +11 -8
- package/dist/ts/ts/CWL/ParameterReference.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterReference.js +18 -25
- package/dist/ts/ts/CWL/ParameterValue.d.ts +15 -1
- package/dist/ts/ts/CWL/ParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ParameterValue.js +59 -35
- package/dist/ts/ts/CWL/Requirements.d.ts +240 -98
- package/dist/ts/ts/CWL/Requirements.d.ts.map +1 -1
- package/dist/ts/ts/CWL/Requirements.js +462 -89
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts +51 -0
- package/dist/ts/ts/CWL/ScalarQuoting.d.ts.map +1 -0
- package/dist/ts/ts/CWL/ScalarQuoting.js +250 -0
- package/dist/ts/ts/CWL/ToolDescription.d.ts +63 -50
- package/dist/ts/ts/CWL/ToolDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/ToolDescription.js +34 -13
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts +45 -26
- package/dist/ts/ts/CWL/WorkflowDescription.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowDescription.js +38 -11
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts +248 -65
- package/dist/ts/ts/CWL/WorkflowSteps.d.ts.map +1 -1
- package/dist/ts/ts/CWL/WorkflowSteps.js +413 -43
- package/dist/ts/ts/CWLRunResolver.d.ts +30 -12
- package/dist/ts/ts/CWLRunResolver.d.ts.map +1 -1
- package/dist/ts/ts/CWLRunResolver.js +221 -86
- package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ARC.js +13 -14
- package/dist/ts/ts/Contract/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcAssay.js +4 -4
- package/dist/ts/ts/Contract/ArcInvestigation.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcInvestigation.js +3 -4
- package/dist/ts/ts/Contract/ArcRun.d.ts +12 -2
- package/dist/ts/ts/Contract/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcRun.js +47 -20
- package/dist/ts/ts/Contract/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcStudy.js +4 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts +18 -4
- package/dist/ts/ts/Contract/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ArcWorkflow.js +55 -17
- package/dist/ts/ts/Contract/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Contract/Datamap.js +16 -17
- package/dist/ts/ts/Contract/Git.js +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Contract/ValidationPackagesConfig.js +4 -5
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +15 -16
- package/dist/ts/ts/Conversion/Assay.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Assay.js +26 -18
- package/dist/ts/ts/Conversion/Basic.d.ts +4 -0
- package/dist/ts/ts/Conversion/Basic.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Basic.js +55 -31
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +2 -4
- package/dist/ts/ts/Conversion/DateTime.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/DateTime.js +1 -2
- package/dist/ts/ts/Conversion/Investigation.js +11 -11
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +107 -86
- package/dist/ts/ts/Conversion/Run.d.ts +36 -6
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +320 -136
- package/dist/ts/ts/Conversion/ScholarlyArticle.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ScholarlyArticle.js +75 -9
- package/dist/ts/ts/Conversion/Study.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Study.js +23 -12
- package/dist/ts/ts/Conversion/Table.js +5 -5
- package/dist/ts/ts/Conversion/Workflow.d.ts +48 -9
- package/dist/ts/ts/Conversion/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Workflow.js +655 -163
- package/dist/ts/ts/Conversion.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +73 -28
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +219 -129
- package/dist/ts/ts/Core/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Core/Comment.js +2 -2
- package/dist/ts/ts/Core/CommentList.js +7 -7
- package/dist/ts/ts/Core/Conversion.d.ts.map +1 -1
- package/dist/ts/ts/Core/Conversion.js +41 -41
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +14 -11
- package/dist/ts/ts/Core/DataContext.d.ts +1 -1
- package/dist/ts/ts/Core/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataContext.js +4 -4
- package/dist/ts/ts/Core/DataFile.d.ts +11 -8
- package/dist/ts/ts/Core/DataFile.d.ts.map +1 -1
- package/dist/ts/ts/Core/DataFile.js +55 -61
- package/dist/ts/ts/Core/Datamap.d.ts.map +1 -1
- package/dist/ts/ts/Core/Datamap.js +2 -3
- package/dist/ts/ts/Core/Helper/Collections.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Collections.js +2 -4
- package/dist/ts/ts/Core/Helper/Identifier.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Identifier.js +12 -15
- package/dist/ts/ts/Core/Helper/ORCID.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/ORCID.js +2 -3
- package/dist/ts/ts/Core/Helper/Regex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Regex.js +52 -53
- package/dist/ts/ts/Core/Helper/SemVer.d.ts +13 -3
- package/dist/ts/ts/Core/Helper/SemVer.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/SemVer.js +96 -6
- package/dist/ts/ts/Core/Helper/Url.d.ts.map +1 -1
- package/dist/ts/ts/Core/Helper/Url.js +1 -1
- package/dist/ts/ts/Core/OntologyAnnotation.js +22 -22
- package/dist/ts/ts/Core/Person.d.ts.map +1 -1
- package/dist/ts/ts/Core/Person.js +2 -2
- package/dist/ts/ts/Core/Process/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ColumnIndex.js +10 -12
- package/dist/ts/ts/Core/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Component.js +22 -22
- package/dist/ts/ts/Core/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Factor.js +7 -7
- package/dist/ts/ts/Core/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/FactorValue.js +15 -15
- package/dist/ts/ts/Core/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Material.js +2 -2
- package/dist/ts/ts/Core/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttribute.js +6 -6
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +16 -16
- package/dist/ts/ts/Core/Process/Process.js +21 -21
- package/dist/ts/ts/Core/Process/ProcessInput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessInput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessOutput.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessOutput.js +2 -2
- package/dist/ts/ts/Core/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProcessParameterValue.js +17 -17
- package/dist/ts/ts/Core/Process/ProcessSequence.js +4 -4
- package/dist/ts/ts/Core/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/Protocol.js +9 -9
- package/dist/ts/ts/Core/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Core/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Core/Publication.js +3 -3
- package/dist/ts/ts/Core/ScalarValue.d.ts.map +1 -1
- package/dist/ts/ts/Core/ScalarValue.js +9 -13
- package/dist/ts/ts/Core/Table/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTable.js +18 -18
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/ArcTableAux.js +50 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeHeader.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeHeader.js +5 -6
- package/dist/ts/ts/Core/Templates.d.ts.map +1 -1
- package/dist/ts/ts/Core/Templates.js +2 -2
- package/dist/ts/ts/FileSystem/Path.d.ts +13 -2
- package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
- package/dist/ts/ts/FileSystem/Path.js +37 -19
- package/dist/ts/ts/Json/Assay.js +22 -22
- package/dist/ts/ts/Json/Comment.js +9 -9
- package/dist/ts/ts/Json/Data.d.ts.map +1 -1
- package/dist/ts/ts/Json/Data.js +11 -11
- package/dist/ts/ts/Json/Datamap/DataContext.js +2 -2
- package/dist/ts/ts/Json/Decode.d.ts.map +1 -1
- package/dist/ts/ts/Json/Decode.js +3 -5
- package/dist/ts/ts/Json/Encode.js +2 -2
- package/dist/ts/ts/Json/Investigation.d.ts.map +1 -1
- package/dist/ts/ts/Json/Investigation.js +20 -20
- package/dist/ts/ts/Json/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologyAnnotation.js +18 -18
- package/dist/ts/ts/Json/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Json/OntologySourceReference.js +9 -9
- package/dist/ts/ts/Json/Person.d.ts.map +1 -1
- package/dist/ts/ts/Json/Person.js +20 -20
- package/dist/ts/ts/Json/Process/AssayMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/AssayMaterials.js +1 -2
- package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Component.js +5 -6
- package/dist/ts/ts/Json/Process/Factor.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Factor.js +7 -7
- package/dist/ts/ts/Json/Process/FactorValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/FactorValue.js +2 -3
- package/dist/ts/ts/Json/Process/Material.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Material.js +9 -10
- package/dist/ts/ts/Json/Process/MaterialAttribute.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttribute.js +5 -6
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +2 -3
- package/dist/ts/ts/Json/Process/Process.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Process.js +8 -9
- package/dist/ts/ts/Json/Process/ProcessParameterValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProcessParameterValue.js +1 -2
- package/dist/ts/ts/Json/Process/Protocol.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Protocol.js +17 -17
- package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/ProtocolParameter.js +6 -6
- package/dist/ts/ts/Json/Process/Sample.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Sample.js +9 -9
- package/dist/ts/ts/Json/Process/Source.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/Source.js +10 -11
- package/dist/ts/ts/Json/Process/StudyMaterials.d.ts.map +1 -1
- package/dist/ts/ts/Json/Process/StudyMaterials.js +1 -2
- package/dist/ts/ts/Json/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/Json/PropertyValue.js +24 -24
- package/dist/ts/ts/Json/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Json/Publication.js +10 -10
- package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -2
- package/dist/ts/ts/Json/ROCrate/LDGraph.js +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.js +5 -5
- package/dist/ts/ts/Json/Run.js +9 -9
- package/dist/ts/ts/Json/StringTable.d.ts.map +1 -1
- package/dist/ts/ts/Json/StringTable.js +4 -7
- package/dist/ts/ts/Json/Study.js +20 -20
- package/dist/ts/ts/Json/Table/CellTable.js +1 -2
- package/dist/ts/ts/Json/Table/OATable.js +1 -2
- package/dist/ts/ts/Json/Workflow.js +9 -9
- package/dist/ts/ts/Json.d.ts +121 -1
- package/dist/ts/ts/Json.d.ts.map +1 -1
- package/dist/ts/ts/Json.js +310 -2
- package/dist/ts/ts/JsonIO/Comment.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Comment.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Comment.js +67 -0
- package/dist/ts/ts/JsonIO/Data.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Data.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Data.js +49 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts +9 -0
- package/dist/ts/ts/JsonIO/DataFile.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/DataFile.js +48 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts +6 -0
- package/dist/ts/ts/JsonIO/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/JsonIO/LDObject.js +173 -17
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts +15 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/OntologySourceReference.js +67 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts +15 -0
- package/dist/ts/ts/JsonIO/Publication.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Publication.js +68 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts +9 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/ArcTable.js +74 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeCell.js +29 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/CompositeHeader.js +29 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts +6 -0
- package/dist/ts/ts/JsonIO/Table/IOType.d.ts.map +1 -0
- package/dist/ts/ts/JsonIO/Table/IOType.js +29 -0
- package/dist/ts/ts/License.d.ts.map +1 -1
- package/dist/ts/ts/License.js +6 -6
- package/dist/ts/ts/ROCrate/LDContext.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDContext.js +31 -39
- package/dist/ts/ts/ROCrate/LDObject.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDObject.js +56 -49
- package/dist/ts/ts/ROCrate/LDTypes/Comment.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/ComputationalWorkflow.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ComputerLanguage.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/CreateAction.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts +1 -0
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/CreativeWork.js +3 -0
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Dataset.js +22 -17
- package/dist/ts/ts/ROCrate/LDTypes/DefinedTerm.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/File.js +5 -5
- package/dist/ts/ts/ROCrate/LDTypes/FormalParameter.js +2 -2
- package/dist/ts/ts/ROCrate/LDTypes/LabProcess.js +9 -9
- package/dist/ts/ts/ROCrate/LDTypes/LabProtocol.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/Organization.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/Person.js +7 -7
- package/dist/ts/ts/ROCrate/LDTypes/PostalAddress.js +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.d.ts.map +1 -1
- package/dist/ts/ts/ROCrate/LDTypes/PropertyValue.js +45 -48
- package/dist/ts/ts/ROCrate/LDTypes/Sample.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/ScholarlyArticle.js +4 -4
- package/dist/ts/ts/ROCrate/LDTypes/SoftwareSourceCode.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowInvocation.js +3 -3
- package/dist/ts/ts/ROCrate/LDTypes/WorkflowProtocol.js +2 -2
- package/dist/ts/ts/ROCrateIO.d.ts +18 -4
- package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
- package/dist/ts/ts/ROCrateIO.js +49 -38
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +7 -7
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +6 -8
- package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +20 -20
- package/dist/ts/ts/Spreadsheet/ArcAssay.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +7 -7
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +8 -8
- package/dist/ts/ts/Spreadsheet/ArcRun.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcRun.js +5 -6
- package/dist/ts/ts/Spreadsheet/ArcStudy.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +5 -6
- package/dist/ts/ts/Spreadsheet/CollectionAux.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/CollectionAux.js +10 -14
- package/dist/ts/ts/Spreadsheet/Datamap.js +1 -2
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapColumn.js +3 -3
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapHeader.js +10 -10
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/DatamapTable/DatamapTable.js +9 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +3 -3
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +5 -5
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +4 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Run.js +7 -7
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +17 -17
- package/dist/ts/ts/Spreadsheet/Metadata/Study.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Study.js +8 -8
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Adapters.js +5 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts +25 -6
- package/dist/ts/ts/WorkflowGraph/Builder.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/Builder.js +264 -138
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts +6 -0
- package/dist/ts/ts/WorkflowGraph/GraphTypes.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/GraphTypes.js +4 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts +8 -5
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.d.ts.map +1 -1
- package/dist/ts/ts/WorkflowGraph/ReferenceParsing.js +27 -10
- package/dist/ts/ts/Xlsx.js +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackage.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackage.js +11 -23
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts +3 -3
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.d.ts.map +1 -1
- package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +11 -23
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js +16 -20
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/FableJS.fs.js +1 -1
- package/dist/ts/ts/fable_modules/DynamicObj.8.0.0/ReflectionUtils.fs.js +8 -8
- package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.6.0/Http.fs.js +4 -4
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCell.fs.js +8 -8
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Cells/FsCellsCollection.fs.js +18 -18
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsAddress.fs.js +3 -3
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js +1 -1
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/FsWorksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Value.fs.js +3 -5
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Json/Worksheet.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Ranges/FsRangeBase.fs.js +1 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.1/Tables/FsTable.fs.js +7 -7
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Cell.fs.js +2 -2
- package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.1/Table.fs.js +1 -2
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Decode.fs.js +49 -71
- package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.9.1/Encode.fs.js +1 -1
- package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.5.0/Decode.fs.js +1 -2
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Compare.fs.js +857 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/CoreSchema.fs.js +725 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Decode.fs.js +1175 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Encode.fs.js +123 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Layout.fs.js +282 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexeme.fs.js +203 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Lexer.fs.js +1502 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Model.fs.js +564 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Node.fs.js +453 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Parser.fs.js +2622 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Reader.fs.js +108 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Source.fs.js +649 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Tag.fs.js +32 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Validate.fs.js +1084 -0
- package/dist/ts/ts/fable_modules/YAMLicious.2.0.0/Writer.fs.js +2927 -0
- package/package.json +5 -4
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Decode.fs.js +0 -1669
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Encode.fs.js +0 -57
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Escapes.fs.js +0 -320
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Interop/JsInterop.fs.js +0 -10
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Persil.fs.js +0 -414
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Preprocessing.fs.js +0 -319
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Reader.fs.js +0 -1884
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Regex.fs.js +0 -23
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/RegexActivePatterns.fs.js +0 -313
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Syntax.fs.js +0 -840
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/Writer.fs.js +0 -689
- package/dist/ts/ts/fable_modules/YAMLicious.1.0.0/YAMLiciousTypes.fs.js +0 -359
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { class_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { hasUriScheme, normalize, combineMany, split, combine } from '../FileSystem/Path.js';
|
|
3
|
+
import { defaultOf, Exception, equals, isIterable, getEnumerator, isDisposable, disposeSafe } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
4
|
+
import { mapIndexed, item, map } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
5
|
+
import { join, toFail, printf, replace, concat } from '../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
6
|
+
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
7
|
+
import { unwrap, value, defaultArg, some, orElse } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
8
|
+
import { LDRef, LDNode } from '../ROCrate/LDObject.js';
|
|
9
|
+
import { Option_fromSeq, ResizeArray_map, ResizeArray_choose, ResizeArray_zip, ResizeArray_singleton, ResizeArray_appendSingleton, ResizeArray_append, Option_fromValueWithDefault, ResizeArray_filter } from '../Core/Helper/Collections.js';
|
|
5
10
|
import { LDFile } from '../ROCrate/LDTypes/File.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { CWLParameterValue_Array$, CWLParameterValue_String$, CWLParameterValue_Record, CWLParameterRecordField, CWLParameterValue_File, CWLParameterValue_Boolean$, CWLParameterValue_Float, CWLParameterValue_Int, CWLParameterValue, CWLParameterValueModule_tryParseFloat, CWLParameterValueModule_tryParseInt64, CWLParameterValue_Directory } from '../CWL/ParameterValue.js';
|
|
11
|
+
import { FileInstanceModule_pathOrLocation, SchemaSaladStringModule_tryLiteral, DirectoryInstanceModule_pathOrLocation, CWLTypeModule_admits, CWLTypeModule_isArrayType, CWLTypeModule_tryGetNonNullUnionType, DirectoryInstance, SchemaSaladString_Literal, FileInstance, InputRecordSchemaModule_tryGetFieldType } from '../CWL/CWLTypes.js';
|
|
12
|
+
import { CWLParameterValue_Array$, CWLParameterValue_String$, CWLParameterValue_Record, CWLParameterRecordField, CWLParameterValue_Directory, CWLParameterValue_File, CWLParameterValue_Boolean$, CWLParameterValue_Float, CWLParameterValue_Int, CWLParameterValue, CWLParameterValueModule_tryParseFloat, CWLParameterValueModule_tryParseInt64 } from '../CWL/ParameterValue.js';
|
|
9
13
|
import { DynamicObj } from '../fable_modules/DynamicObj.8.0.0/DynamicObj.fs.js';
|
|
10
|
-
import { iterate, map, tryPick, find } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
14
|
+
import { iterate, map as map$1, tryPick, append, find } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
11
15
|
import { setProperty } from '../fable_modules/DynamicObj.8.0.0/DynObj.fs.js';
|
|
12
16
|
import { toInt64_unchecked, fromInt32 } from '../../node_modules/@fable-org/fable-library-ts/BigInt.js';
|
|
13
|
-
import { defaultOf, Exception, equals, isIterable } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
14
17
|
import { CWLParameterReference } from '../CWL/ParameterReference.js';
|
|
15
18
|
import { formatCWLType } from '../CWL/Encode.js';
|
|
16
|
-
import { item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
17
|
-
import { LDRef, LDNode } from '../ROCrate/LDObject.js';
|
|
18
19
|
import { LDPropertyValue } from '../ROCrate/LDTypes/PropertyValue.js';
|
|
19
20
|
import { toString, FSharpRef } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
20
21
|
import { tryParse } from '../../node_modules/@fable-org/fable-library-ts/Boolean.js';
|
|
21
22
|
import { toFloat64 } from '../../node_modules/@fable-org/fable-library-ts/Decimal.js';
|
|
22
|
-
import { WorkflowConversion_decomposeInputFromFormalParameter_2664C4B8, WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7, WorkflowConversion_getInputParametersFromProcessingUnit_30922B92, WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_ZB11202F } from './Workflow.js';
|
|
23
|
+
import { WorkflowConversion_decomposeInputFromFormalParameter_2664C4B8, WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7, WorkflowConversion_getInputParametersFromProcessingUnit_30922B92, WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_ZB11202F, WorkflowConversion_composeReferencedFiles_Z7F3BB4EE } from './Workflow.js';
|
|
23
24
|
import { LDFormalParameter } from '../ROCrate/LDTypes/FormalParameter.js';
|
|
24
25
|
import { Run_cwlFileNameFromIdentifier } from '../Core/Helper/Identifier.js';
|
|
26
|
+
import { DecodeParameters_decodeParameterValue } from '../CWL/Decode.js';
|
|
25
27
|
import { LDComputationalWorkflow } from '../ROCrate/LDTypes/ComputationalWorkflow.js';
|
|
26
28
|
import { ARCtrl_ArcTables__ArcTables_GetProcesses_5E660E5C, ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586 } from './Table.js';
|
|
27
29
|
import { ArcTables } from '../Core/Table/ArcTables.js';
|
|
@@ -29,14 +31,14 @@ import { ofSeq } from '../../node_modules/@fable-org/fable-library-ts/List.js';
|
|
|
29
31
|
import { LDWorkflowInvocation } from '../ROCrate/LDTypes/WorkflowInvocation.js';
|
|
30
32
|
import { LDLabProcess } from '../ROCrate/LDTypes/LabProcess.js';
|
|
31
33
|
import { ArcRun } from '../Core/ArcTypes.js';
|
|
32
|
-
import {
|
|
34
|
+
import { addToSet } from '../../node_modules/@fable-org/fable-library-ts/MapUtil.js';
|
|
35
|
+
import { BaseTypes_warnIfTitleEmpty_Z2FC25A28, BaseTypes_composeDefinedTerm_ZDED3A0F, BaseTypes_composePropertyValueFromOA_ZDED3A0F, BaseTypes_composeComment_Z13201A7E, BaseTypes_decomposeDefinedTerm_Z2F770004, BaseTypes_decomposePropertyValueToOA_Z2F770004, BaseTypes_decomposeComment_Z2F770004 } from './Basic.js';
|
|
33
36
|
import { PersonConversion_composePerson_2B0BECCC, PersonConversion_decomposePerson_Z6839B9E8 } from './Person.js';
|
|
34
37
|
import { LDOrganization } from '../ROCrate/LDTypes/Organization.js';
|
|
35
|
-
import { utcNow } from '../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
38
|
+
import { utcNow, toUniversalTime } from '../../node_modules/@fable-org/fable-library-ts/Date.js';
|
|
36
39
|
import { Datamap } from '../Core/Datamap.js';
|
|
37
40
|
import { DatamapConversion_composeFragmentDescriptors_Z892BFC3, DatamapConversion_decomposeFragmentDescriptors_Z6E59645F } from './Datamap.js';
|
|
38
41
|
import { AssayConversion_getDataFilesFromProcesses_6BABD1B0 } from './Assay.js';
|
|
39
|
-
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
40
42
|
import { LDWorkflowProtocol } from '../ROCrate/LDTypes/WorkflowProtocol.js';
|
|
41
43
|
import { Big } from '../../node_modules/@fable-org/fable-library-ts/lib/big.js';
|
|
42
44
|
|
|
@@ -48,36 +50,92 @@ function RunConversion_$reflection() {
|
|
|
48
50
|
return class_type("ARCtrl.Conversion.RunConversion", void 0, RunConversion);
|
|
49
51
|
}
|
|
50
52
|
function RunConversion_composeCWLInputFilePath_Z384F8060(path, runName) {
|
|
51
|
-
if (path
|
|
52
|
-
return
|
|
53
|
+
if (hasUriScheme(path)) {
|
|
54
|
+
return path;
|
|
53
55
|
} else {
|
|
54
|
-
return combineMany(["runs", runName, path]);
|
|
56
|
+
return normalize(combineMany(["runs", runName, path]));
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
59
|
function RunConversion_decomposeCWLInputFilePath_Z384F8060(path, runName) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return trimStart(replace(path, prefix, ""), "/");
|
|
60
|
+
if (hasUriScheme(path)) {
|
|
61
|
+
return path;
|
|
61
62
|
} else {
|
|
62
|
-
|
|
63
|
+
const runFolder = split(combineMany(["runs", runName]));
|
|
64
|
+
const segments = split(path);
|
|
65
|
+
let isInRunFolder;
|
|
66
|
+
if (segments.length >= runFolder.length) {
|
|
67
|
+
const array_1 = mapIndexed((index, segment) => item(index, segments) === segment, runFolder);
|
|
68
|
+
isInRunFolder = array_1.every((x) => x);
|
|
69
|
+
} else {
|
|
70
|
+
isInRunFolder = false;
|
|
71
|
+
}
|
|
72
|
+
if (isInRunFolder && segments.length === runFolder.length) {
|
|
73
|
+
return ".";
|
|
74
|
+
} else if (isInRunFolder) {
|
|
75
|
+
return join("/", segments.slice(runFolder.length, segments.length));
|
|
76
|
+
} else {
|
|
77
|
+
return combine("../..", join("/", segments));
|
|
78
|
+
}
|
|
63
79
|
}
|
|
64
80
|
}
|
|
65
|
-
function
|
|
81
|
+
function RunConversion_composeDirectoryDataset_111D9870(path, fs, context) {
|
|
82
|
+
let collection = void 0;
|
|
83
|
+
if (hasUriScheme(path)) {
|
|
84
|
+
return LDDataset.create(path, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(context));
|
|
85
|
+
} else {
|
|
86
|
+
const id = path.endsWith("/") ? path : path + "/";
|
|
87
|
+
let files;
|
|
88
|
+
let matchValue;
|
|
89
|
+
const option_1 = fs;
|
|
90
|
+
if (option_1 != null) {
|
|
91
|
+
const fs_1 = option_1;
|
|
92
|
+
matchValue = fs_1.Tree.TryGetPath(path);
|
|
93
|
+
} else {
|
|
94
|
+
matchValue = void 0;
|
|
95
|
+
}
|
|
96
|
+
let matchResult = void 0, folder = void 0;
|
|
97
|
+
if (matchValue != null) {
|
|
98
|
+
if (matchValue.tag === /* Folder */
|
|
99
|
+
1) {
|
|
100
|
+
matchResult = 0;
|
|
101
|
+
folder = matchValue;
|
|
102
|
+
} else {
|
|
103
|
+
matchResult = 1;
|
|
104
|
+
}
|
|
105
|
+
} else {
|
|
106
|
+
matchResult = 1;
|
|
107
|
+
}
|
|
108
|
+
switch (matchResult) {
|
|
109
|
+
case 0: {
|
|
110
|
+
files = Option_fromSeq((collection = map((file) => LDFile.create(combine(path, file), void 0, void 0, void 0, void 0, void 0, unwrap(context)), folder.ToFilePaths(true)), Array.from(collection)));
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
default:
|
|
114
|
+
files = void 0;
|
|
115
|
+
}
|
|
116
|
+
return LDDataset.create(id, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(files), void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap(context));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function RunConversion_composeCWLParameterValue_1A8A78ED(value, runName, context, fs) {
|
|
66
120
|
switch (value.tag) {
|
|
67
121
|
case /* Directory */
|
|
68
122
|
6: {
|
|
69
123
|
const path_3 = RunConversion_composeCWLInputFilePath_Z384F8060(DirectoryInstanceModule_pathOrLocation(value.fields[0]), runName);
|
|
70
|
-
|
|
124
|
+
if (path_3 === ".") {
|
|
125
|
+
return new LDRef(LDDataset.genIDInvesigation());
|
|
126
|
+
} else {
|
|
127
|
+
return RunConversion_composeDirectoryDataset_111D9870(path_3, unwrap(fs), unwrap(context));
|
|
128
|
+
}
|
|
71
129
|
}
|
|
72
130
|
case /* Array */
|
|
73
131
|
7:
|
|
74
|
-
return ResizeArray_map((value_3) =>
|
|
132
|
+
return ResizeArray_map((value_3) => RunConversion_composeCWLParameterValue_1A8A78ED(value_3, runName, unwrap(context), unwrap(fs)), value.fields[0]);
|
|
75
133
|
case /* Record */
|
|
76
134
|
8: {
|
|
77
135
|
const fields = value.fields[0];
|
|
78
136
|
const record = new DynamicObj();
|
|
79
137
|
iterate((field) => {
|
|
80
|
-
setProperty(field.Name,
|
|
138
|
+
setProperty(field.Name, RunConversion_composeCWLParameterValue_1A8A78ED(field.Value, runName, unwrap(context), unwrap(fs)), record);
|
|
81
139
|
}, fields);
|
|
82
140
|
return record;
|
|
83
141
|
}
|
|
@@ -99,7 +157,9 @@ function RunConversion_composeCWLParameterValue_6CF93391(value, runName, context
|
|
|
99
157
|
default: {
|
|
100
158
|
const file = value.fields[0];
|
|
101
159
|
const path_1 = RunConversion_composeCWLInputFilePath_Z384F8060(FileInstanceModule_pathOrLocation(file), runName);
|
|
102
|
-
|
|
160
|
+
let encodingFormat;
|
|
161
|
+
const option_1 = file.Format;
|
|
162
|
+
encodingFormat = option_1 != null ? SchemaSaladStringModule_tryLiteral(option_1) : void 0;
|
|
103
163
|
return LDFile.create(path_1, void 0, void 0, void 0, unwrap(encodingFormat), void 0, unwrap(context));
|
|
104
164
|
}
|
|
105
165
|
}
|
|
@@ -108,20 +168,22 @@ function RunConversion_composeLegacyValue_Z62BDCFA3(inputValue) {
|
|
|
108
168
|
let collection = void 0;
|
|
109
169
|
const option_1 = inputValue.Value;
|
|
110
170
|
if (option_1 != null) {
|
|
111
|
-
return
|
|
171
|
+
return option_1;
|
|
112
172
|
} else {
|
|
113
|
-
return CWLParameterValue_Array$((collection = map(CWLParameterValue_String$, inputValue.Values), Array.from(collection)));
|
|
173
|
+
return CWLParameterValue_Array$((collection = map$1(CWLParameterValue_String$, inputValue.Values), Array.from(collection)));
|
|
114
174
|
}
|
|
115
175
|
}
|
|
116
|
-
function
|
|
117
|
-
let
|
|
176
|
+
function RunConversion_composeCWLInputValue_Z65E5E0A8(inputValue, exampleOfWork, inputParam, runName, fs) {
|
|
177
|
+
let option_8 = void 0, matchValue_1 = void 0;
|
|
118
178
|
if (inputParam.Type_ == null) {
|
|
119
179
|
throw new Exception(`Cannot convert param values "${inputValue.Values}" as Input parameter "${inputParam.Name}" has no type.`);
|
|
120
180
|
}
|
|
121
181
|
const type_ = value(inputParam.Type_);
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
182
|
+
const option_1 = inputValue.Type;
|
|
183
|
+
if (option_1 != null) {
|
|
184
|
+
const valueType = option_1;
|
|
185
|
+
if (!CWLTypeModule_admits(type_, valueType)) {
|
|
186
|
+
throw new Exception(`Could not create workflow invocation for run "${runName}": Type (${formatCWLType(valueType)}) of yml input value "${inputValue.Key}" does not match type of workflow input parameter (${formatCWLType(type_)}).`);
|
|
125
187
|
}
|
|
126
188
|
}
|
|
127
189
|
let matchResult = void 0;
|
|
@@ -146,10 +208,10 @@ function RunConversion_composeCWLInputValue_70DD9184(inputValue, exampleOfWork,
|
|
|
146
208
|
const matchValue = inputValue.Value;
|
|
147
209
|
let matchResult_1 = void 0, fileValue = void 0;
|
|
148
210
|
if (matchValue != null) {
|
|
149
|
-
if (
|
|
211
|
+
if (matchValue.tag === /* File */
|
|
150
212
|
5) {
|
|
151
213
|
matchResult_1 = 0;
|
|
152
|
-
fileValue =
|
|
214
|
+
fileValue = matchValue.fields[0];
|
|
153
215
|
} else {
|
|
154
216
|
matchResult_1 = 1;
|
|
155
217
|
}
|
|
@@ -158,9 +220,11 @@ function RunConversion_composeCWLInputValue_70DD9184(inputValue, exampleOfWork,
|
|
|
158
220
|
}
|
|
159
221
|
switch (matchResult_1) {
|
|
160
222
|
case 0: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
223
|
+
let option_5;
|
|
224
|
+
const option_3 = fileValue.Format;
|
|
225
|
+
option_5 = option_3 != null ? SchemaSaladStringModule_tryLiteral(option_3) : void 0;
|
|
226
|
+
if (option_5 != null) {
|
|
227
|
+
const format = option_5;
|
|
164
228
|
LDFile.setEncodingFormatAsString(file, format);
|
|
165
229
|
}
|
|
166
230
|
break;
|
|
@@ -170,13 +234,13 @@ function RunConversion_composeCWLInputValue_70DD9184(inputValue, exampleOfWork,
|
|
|
170
234
|
}
|
|
171
235
|
case 1: {
|
|
172
236
|
const pv = LDPropertyValue.createCWLParameter(exampleOfWork, inputValue.Key, []);
|
|
173
|
-
const value_2 =
|
|
237
|
+
const value_2 = RunConversion_composeCWLParameterValue_1A8A78ED(defaultArg(inputValue.Value, RunConversion_composeLegacyValue_Z62BDCFA3(inputValue)), runName, void 0, unwrap(fs));
|
|
174
238
|
LDPropertyValue.setValueObjects(pv, value_2);
|
|
175
239
|
return pv;
|
|
176
240
|
}
|
|
177
241
|
default: {
|
|
178
242
|
const pv_1 = LDPropertyValue.createCWLParameter(exampleOfWork, inputValue.Key, []);
|
|
179
|
-
const value_4 =
|
|
243
|
+
const value_4 = RunConversion_composeCWLParameterValue_1A8A78ED((option_8 = inputValue.Value, option_8 != null ? option_8 : (matchValue_1 = inputValue.Values.length | 0, matchValue_1 === 0 ? CWLParameterValue_Array$([]) : matchValue_1 === 1 ? CWLParameterValue_String$(item(0, inputValue.Values)) : CWLParameterValue_Array$(ResizeArray_map(CWLParameterValue_String$, inputValue.Values)))), runName, void 0, unwrap(fs));
|
|
180
244
|
LDPropertyValue.setValueObjects(pv_1, value_4);
|
|
181
245
|
return pv_1;
|
|
182
246
|
}
|
|
@@ -197,20 +261,24 @@ function RunConversion_resolveLDValue_Z224E8241(value$1, graph) {
|
|
|
197
261
|
}
|
|
198
262
|
switch (matchResult) {
|
|
199
263
|
case 0:
|
|
200
|
-
return defaultArg((option_1 = value(graph).TryGetNode(ref_1.Id), option_1 != null ? some(
|
|
264
|
+
return defaultArg((option_1 = value(graph).TryGetNode(ref_1.Id), option_1 != null ? some(option_1) : void 0), value$1);
|
|
201
265
|
default:
|
|
202
266
|
return value$1;
|
|
203
267
|
}
|
|
204
268
|
}
|
|
205
|
-
function RunConversion_decomposeCWLParameterValue_Z3524B680(value
|
|
206
|
-
let collection = void 0,
|
|
207
|
-
const value_1 = RunConversion_resolveLDValue_Z224E8241(value
|
|
269
|
+
function RunConversion_decomposeCWLParameterValue_Z3524B680(value, runName, expectedType, graph) {
|
|
270
|
+
let collection = void 0, option_5 = void 0, node_1 = void 0, node_3 = void 0, collection_1 = void 0, option_15 = void 0, collection_2 = void 0, collection_3 = void 0, node_5 = void 0;
|
|
271
|
+
const value_1 = RunConversion_resolveLDValue_Z224E8241(value, unwrap(graph));
|
|
272
|
+
const isDirectory = (node) => {
|
|
273
|
+
let option_1 = void 0, graph_1 = void 0;
|
|
274
|
+
return LDDataset.validate(node, unwrap((option_1 = graph, option_1 != null ? (graph_1 = option_1, graph_1.TryGetContext()) : void 0)));
|
|
275
|
+
};
|
|
208
276
|
let expectedType_1;
|
|
209
|
-
const
|
|
210
|
-
expectedType_1 =
|
|
277
|
+
const option_3 = expectedType;
|
|
278
|
+
expectedType_1 = option_3 != null ? CWLTypeModule_tryGetNonNullUnionType(option_3) : void 0;
|
|
211
279
|
let matchResult = void 0, arraySchema = void 0, recordSchema = void 0;
|
|
212
280
|
if (expectedType_1 != null) {
|
|
213
|
-
switch (
|
|
281
|
+
switch (expectedType_1.tag) {
|
|
214
282
|
case /* File */
|
|
215
283
|
0: {
|
|
216
284
|
matchResult = 1;
|
|
@@ -222,49 +290,49 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
222
290
|
break;
|
|
223
291
|
}
|
|
224
292
|
case /* String */
|
|
225
|
-
|
|
293
|
+
2: {
|
|
226
294
|
matchResult = 3;
|
|
227
295
|
break;
|
|
228
296
|
}
|
|
229
297
|
case /* Int */
|
|
230
|
-
|
|
298
|
+
3:
|
|
231
299
|
case /* Long */
|
|
232
|
-
|
|
300
|
+
4: {
|
|
233
301
|
matchResult = 4;
|
|
234
302
|
break;
|
|
235
303
|
}
|
|
236
304
|
case /* Float */
|
|
237
|
-
|
|
305
|
+
5:
|
|
238
306
|
case /* Double */
|
|
239
|
-
|
|
307
|
+
6: {
|
|
240
308
|
matchResult = 5;
|
|
241
309
|
break;
|
|
242
310
|
}
|
|
243
311
|
case /* Boolean */
|
|
244
|
-
|
|
312
|
+
7: {
|
|
245
313
|
matchResult = 6;
|
|
246
314
|
break;
|
|
247
315
|
}
|
|
248
316
|
case /* Null */
|
|
249
|
-
|
|
317
|
+
17: {
|
|
250
318
|
matchResult = 7;
|
|
251
319
|
break;
|
|
252
320
|
}
|
|
253
321
|
case /* Enum */
|
|
254
|
-
|
|
322
|
+
20: {
|
|
255
323
|
matchResult = 8;
|
|
256
324
|
break;
|
|
257
325
|
}
|
|
258
326
|
case /* Array */
|
|
259
|
-
|
|
327
|
+
18: {
|
|
260
328
|
matchResult = 0;
|
|
261
|
-
arraySchema =
|
|
329
|
+
arraySchema = expectedType_1.fields[0];
|
|
262
330
|
break;
|
|
263
331
|
}
|
|
264
332
|
case /* Record */
|
|
265
|
-
|
|
333
|
+
19: {
|
|
266
334
|
matchResult = 9;
|
|
267
|
-
recordSchema =
|
|
335
|
+
recordSchema = expectedType_1.fields[0];
|
|
268
336
|
break;
|
|
269
337
|
}
|
|
270
338
|
default:
|
|
@@ -278,30 +346,36 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
278
346
|
if (typeof value_1 === "string") {
|
|
279
347
|
return CWLParameterValue_Array$([CWLParameterValue_String$(value_1)]);
|
|
280
348
|
} else if (isIterable(value_1)) {
|
|
281
|
-
return CWLParameterValue_Array$((collection = map((value_3) => RunConversion_decomposeCWLParameterValue_Z3524B680(value_3, runName, arraySchema.Items, unwrap(graph)), value_1), Array.from(collection)));
|
|
349
|
+
return CWLParameterValue_Array$((collection = map$1((value_3) => RunConversion_decomposeCWLParameterValue_Z3524B680(value_3, runName, arraySchema.Items, unwrap(graph)), value_1), Array.from(collection)));
|
|
282
350
|
} else {
|
|
283
351
|
return CWLParameterValue_Array$([RunConversion_decomposeCWLParameterValue_Z3524B680(value_1, runName, arraySchema.Items, unwrap(graph))]);
|
|
284
352
|
}
|
|
285
353
|
case 1: {
|
|
286
354
|
let matchResult_1 = void 0;
|
|
287
355
|
if (value_1 instanceof LDNode) {
|
|
288
|
-
if (
|
|
356
|
+
if (node_1 = value_1, LDFile.validate(node_1)) {
|
|
289
357
|
matchResult_1 = 0;
|
|
290
358
|
} else {
|
|
291
|
-
matchResult_1 =
|
|
359
|
+
matchResult_1 = 3;
|
|
292
360
|
}
|
|
293
|
-
} else if (
|
|
361
|
+
} else if (value_1 instanceof LDRef) {
|
|
294
362
|
matchResult_1 = 1;
|
|
295
|
-
} else {
|
|
363
|
+
} else if (typeof value_1 === "string") {
|
|
296
364
|
matchResult_1 = 2;
|
|
365
|
+
} else {
|
|
366
|
+
matchResult_1 = 3;
|
|
297
367
|
}
|
|
298
368
|
switch (matchResult_1) {
|
|
299
369
|
case 0: {
|
|
300
|
-
const
|
|
301
|
-
return CWLParameterValue_File(new FileInstance(void 0, RunConversion_decomposeCWLInputFilePath_Z384F8060(
|
|
370
|
+
const node_2 = value_1;
|
|
371
|
+
return CWLParameterValue_File(new FileInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(node_2.Id, runName)), void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap((option_5 = LDFile.tryGetEncodingFormatAsString(node_2), option_5 != null ? SchemaSaladString_Literal(option_5) : void 0))));
|
|
302
372
|
}
|
|
303
|
-
case 1:
|
|
304
|
-
|
|
373
|
+
case 1: {
|
|
374
|
+
const reference = value_1;
|
|
375
|
+
return CWLParameterValue_File(new FileInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(reference.Id, runName))));
|
|
376
|
+
}
|
|
377
|
+
case 2:
|
|
378
|
+
return CWLParameterValue_File(new FileInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(value_1, runName))));
|
|
305
379
|
default:
|
|
306
380
|
return CWLParameterValue_String$(toString(value_1));
|
|
307
381
|
}
|
|
@@ -309,23 +383,29 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
309
383
|
case 2: {
|
|
310
384
|
let matchResult_2 = void 0;
|
|
311
385
|
if (value_1 instanceof LDNode) {
|
|
312
|
-
if (
|
|
386
|
+
if (node_3 = value_1, isDirectory(node_3) ? true : LDFile.validate(node_3)) {
|
|
313
387
|
matchResult_2 = 0;
|
|
314
388
|
} else {
|
|
315
|
-
matchResult_2 =
|
|
389
|
+
matchResult_2 = 3;
|
|
316
390
|
}
|
|
317
|
-
} else if (
|
|
391
|
+
} else if (value_1 instanceof LDRef) {
|
|
318
392
|
matchResult_2 = 1;
|
|
319
|
-
} else {
|
|
393
|
+
} else if (typeof value_1 === "string") {
|
|
320
394
|
matchResult_2 = 2;
|
|
395
|
+
} else {
|
|
396
|
+
matchResult_2 = 3;
|
|
321
397
|
}
|
|
322
398
|
switch (matchResult_2) {
|
|
323
399
|
case 0: {
|
|
324
|
-
const
|
|
325
|
-
return CWLParameterValue_Directory(new DirectoryInstance(void 0, RunConversion_decomposeCWLInputFilePath_Z384F8060(
|
|
400
|
+
const node_4 = value_1;
|
|
401
|
+
return CWLParameterValue_Directory(new DirectoryInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(node_4.Id, runName))));
|
|
326
402
|
}
|
|
327
|
-
case 1:
|
|
328
|
-
|
|
403
|
+
case 1: {
|
|
404
|
+
const reference_1 = value_1;
|
|
405
|
+
return CWLParameterValue_Directory(new DirectoryInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(reference_1.Id, runName))));
|
|
406
|
+
}
|
|
407
|
+
case 2:
|
|
408
|
+
return CWLParameterValue_Directory(new DirectoryInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(value_1, runName))));
|
|
329
409
|
default:
|
|
330
410
|
return CWLParameterValue_String$(toString(value_1));
|
|
331
411
|
}
|
|
@@ -339,21 +419,21 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
339
419
|
return CWLParameterValue_String$(toString(value_1));
|
|
340
420
|
}
|
|
341
421
|
case 4: {
|
|
342
|
-
let
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
if (
|
|
346
|
-
return
|
|
422
|
+
let option_9;
|
|
423
|
+
const option_7 = CWLParameterValueModule_tryParseInt64(value_1);
|
|
424
|
+
option_9 = option_7 != null ? CWLParameterValue_Int(option_7) : void 0;
|
|
425
|
+
if (option_9 != null) {
|
|
426
|
+
return option_9;
|
|
347
427
|
} else {
|
|
348
428
|
return CWLParameterValue_String$(toString(value_1));
|
|
349
429
|
}
|
|
350
430
|
}
|
|
351
431
|
case 5: {
|
|
352
|
-
let
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
if (
|
|
356
|
-
return
|
|
432
|
+
let option_13;
|
|
433
|
+
const option_11 = CWLParameterValueModule_tryParseFloat(value_1);
|
|
434
|
+
option_13 = option_11 != null ? CWLParameterValue_Float(option_11) : void 0;
|
|
435
|
+
if (option_13 != null) {
|
|
436
|
+
return option_13;
|
|
357
437
|
} else {
|
|
358
438
|
return CWLParameterValue_String$(toString(value_1));
|
|
359
439
|
}
|
|
@@ -364,10 +444,8 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
364
444
|
} else if (typeof value_1 === "string") {
|
|
365
445
|
const value_6 = value_1;
|
|
366
446
|
let matchValue;
|
|
367
|
-
|
|
368
|
-
matchValue = [tryParse(value_6,
|
|
369
|
-
outArg = v;
|
|
370
|
-
})), outArg];
|
|
447
|
+
const cell = new FSharpRef(false);
|
|
448
|
+
matchValue = [tryParse(value_6, cell), cell.contents];
|
|
371
449
|
if (matchValue[0]) {
|
|
372
450
|
return CWLParameterValue_Boolean$(matchValue[1]);
|
|
373
451
|
} else {
|
|
@@ -389,12 +467,12 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
389
467
|
case 9:
|
|
390
468
|
if (value_1 instanceof DynamicObj) {
|
|
391
469
|
const record = value_1;
|
|
392
|
-
return CWLParameterValue_Record((collection_1 = map((kvp) => new CWLParameterRecordField(kvp[0], RunConversion_decomposeCWLParameterValue_Z3524B680(kvp[1], runName, unwrap(InputRecordSchemaModule_tryGetFieldType(kvp[0], recordSchema)), unwrap(graph))), record.GetProperties(false)), Array.from(collection_1)));
|
|
470
|
+
return CWLParameterValue_Record((collection_1 = map$1((kvp) => new CWLParameterRecordField(kvp[0], RunConversion_decomposeCWLParameterValue_Z3524B680(kvp[1], runName, unwrap(InputRecordSchemaModule_tryGetFieldType(kvp[0], recordSchema)), unwrap(graph))), record.GetProperties(false)), Array.from(collection_1)));
|
|
393
471
|
} else {
|
|
394
472
|
return CWLParameterValue_String$(toString(value_1));
|
|
395
473
|
}
|
|
396
474
|
default: {
|
|
397
|
-
let matchResult_3 = void 0, value_8 = void 0, value_9 = void 0, value_10 = void 0, value_11 = void 0, value_12 = void 0, value_13 = void 0,
|
|
475
|
+
let matchResult_3 = void 0, value_8 = void 0, value_9 = void 0, value_10 = void 0, value_11 = void 0, value_12 = void 0, value_13 = void 0, node_7 = void 0, node_8 = void 0, values_1 = void 0, record_1 = void 0;
|
|
398
476
|
if (equals(value_1, defaultOf())) {
|
|
399
477
|
matchResult_3 = 0;
|
|
400
478
|
} else if (typeof value_1 === "string") {
|
|
@@ -416,29 +494,32 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
416
494
|
matchResult_3 = 6;
|
|
417
495
|
value_13 = value_1;
|
|
418
496
|
} else if (value_1 instanceof LDNode) {
|
|
419
|
-
if (
|
|
497
|
+
if (node_5 = value_1, LDFile.validate(node_5)) {
|
|
420
498
|
matchResult_3 = 7;
|
|
421
|
-
|
|
422
|
-
} else if (
|
|
499
|
+
node_7 = value_1;
|
|
500
|
+
} else if (isDirectory(value_1)) {
|
|
423
501
|
matchResult_3 = 8;
|
|
502
|
+
node_8 = value_1;
|
|
503
|
+
} else if (isIterable(value_1)) {
|
|
504
|
+
matchResult_3 = 9;
|
|
424
505
|
values_1 = value_1;
|
|
425
506
|
} else {
|
|
426
|
-
matchResult_3 =
|
|
507
|
+
matchResult_3 = 10;
|
|
427
508
|
record_1 = value_1;
|
|
428
509
|
}
|
|
429
510
|
} else if (value_1 instanceof DynamicObj) {
|
|
430
511
|
if (isIterable(value_1)) {
|
|
431
|
-
matchResult_3 =
|
|
512
|
+
matchResult_3 = 9;
|
|
432
513
|
values_1 = value_1;
|
|
433
514
|
} else {
|
|
434
|
-
matchResult_3 =
|
|
515
|
+
matchResult_3 = 10;
|
|
435
516
|
record_1 = value_1;
|
|
436
517
|
}
|
|
437
518
|
} else if (isIterable(value_1)) {
|
|
438
|
-
matchResult_3 =
|
|
519
|
+
matchResult_3 = 9;
|
|
439
520
|
values_1 = value_1;
|
|
440
521
|
} else {
|
|
441
|
-
matchResult_3 =
|
|
522
|
+
matchResult_3 = 11;
|
|
442
523
|
}
|
|
443
524
|
switch (matchResult_3) {
|
|
444
525
|
case 0:
|
|
@@ -456,11 +537,13 @@ function RunConversion_decomposeCWLParameterValue_Z3524B680(value$1, runName, ex
|
|
|
456
537
|
case 6:
|
|
457
538
|
return CWLParameterValue_Boolean$(value_13);
|
|
458
539
|
case 7:
|
|
459
|
-
return CWLParameterValue_File(new FileInstance(void 0, RunConversion_decomposeCWLInputFilePath_Z384F8060(
|
|
540
|
+
return CWLParameterValue_File(new FileInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(node_7.Id, runName)), void 0, void 0, void 0, void 0, void 0, void 0, void 0, unwrap((option_15 = LDFile.tryGetEncodingFormatAsString(node_7), option_15 != null ? SchemaSaladString_Literal(option_15) : void 0))));
|
|
460
541
|
case 8:
|
|
461
|
-
return
|
|
542
|
+
return CWLParameterValue_Directory(new DirectoryInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(node_8.Id, runName))));
|
|
462
543
|
case 9:
|
|
463
|
-
return
|
|
544
|
+
return CWLParameterValue_Array$((collection_2 = map$1((value_14) => RunConversion_decomposeCWLParameterValue_Z3524B680(value_14, runName, void 0, unwrap(graph)), values_1), Array.from(collection_2)));
|
|
545
|
+
case 10:
|
|
546
|
+
return CWLParameterValue_Record((collection_3 = map$1((kvp_1) => new CWLParameterRecordField(kvp_1[0], RunConversion_decomposeCWLParameterValue_Z3524B680(kvp_1[1], runName, void 0, unwrap(graph))), record_1.GetProperties(false)), Array.from(collection_3)));
|
|
464
547
|
default:
|
|
465
548
|
return CWLParameterValue_String$(toString(value_1));
|
|
466
549
|
}
|
|
@@ -482,11 +565,11 @@ function RunConversion_decomposeCWLInputValue_Z1346FE9D(inputValue, runName, con
|
|
|
482
565
|
const arg = inputValue.Id;
|
|
483
566
|
exampleOfWork = toFail(printf("Input value %s of run %s must have an exampleOfWork property pointing to a CWL formal parameter."))(arg)(runName);
|
|
484
567
|
} else {
|
|
485
|
-
exampleOfWork =
|
|
568
|
+
exampleOfWork = matchValue;
|
|
486
569
|
}
|
|
487
570
|
const key = LDFormalParameter.getNameAsString(exampleOfWork, unwrap(context));
|
|
488
571
|
if (LDFile.validateCWLParameter(inputValue, unwrap(context))) {
|
|
489
|
-
return new CWLParameterReference(key,
|
|
572
|
+
return new CWLParameterReference(key, void 0, CWLParameterValue_File(new FileInstance(void 0, SchemaSaladString_Literal(RunConversion_decomposeCWLInputFilePath_Z384F8060(inputValue.Id, runName)))));
|
|
490
573
|
} else if (LDPropertyValue.validateCWLParameter(inputValue, unwrap(context))) {
|
|
491
574
|
return new CWLParameterReference(key, void 0, RunConversion_decomposeCWLParameterValue_Z3524B680(LDPropertyValue.getValueObject(inputValue, unwrap(context)), runName, unwrap(RunConversion_tryGetExpectedTypeFromFormalParameter_2664C4B8(exampleOfWork, unwrap(context), unwrap(graph))), unwrap(graph)));
|
|
492
575
|
} else {
|
|
@@ -503,22 +586,30 @@ function RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC(run, fs) {
|
|
|
503
586
|
const arg = run.Identifier;
|
|
504
587
|
workflowProtocol = toFail(printf("Run %s must have a CWL description"))(arg);
|
|
505
588
|
} else {
|
|
506
|
-
workflowProtocol = WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7(workflowFilePath,
|
|
589
|
+
workflowProtocol = WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7(workflowFilePath, matchValue, void 0, run.Identifier);
|
|
507
590
|
}
|
|
508
|
-
const inputParams =
|
|
591
|
+
const inputParams = ResizeArray_choose((tupledArg) => {
|
|
592
|
+
let matchValue_1 = void 0, option_1 = void 0, reference = void 0, option_3 = void 0;
|
|
593
|
+
const i = tupledArg[0];
|
|
509
594
|
const ldI = tupledArg[1];
|
|
510
595
|
const name = LDFormalParameter.getNameAsString(ldI, unwrap(workflowProtocol.TryGetContext()));
|
|
511
|
-
const
|
|
596
|
+
const given = tryPick((i_1) => {
|
|
512
597
|
if (i_1.Key === name) {
|
|
513
598
|
return i_1;
|
|
514
599
|
} else {
|
|
515
600
|
return void 0;
|
|
516
601
|
}
|
|
517
602
|
}, run.CWLInput);
|
|
603
|
+
const paramRef = (matchValue_1 = (option_1 = given, option_1 != null ? (reference = option_1, reference.Value) : void 0), matchValue_1 != null && !(matchValue_1.tag === /* Null */
|
|
604
|
+
0)) ? given : orElse((option_3 = i.DefaultValue, option_3 != null ? new CWLParameterReference(name, void 0, DecodeParameters_decodeParameterValue(option_3.Node)) : void 0), given);
|
|
518
605
|
if (paramRef == null) {
|
|
519
|
-
|
|
606
|
+
if (i.Optional ? true : i.DefaultValue != null) {
|
|
607
|
+
return void 0;
|
|
608
|
+
} else {
|
|
609
|
+
throw new Exception(`Could not create workflow invocation for run "${run.Identifier}": Workflow parameter "${name}" had no assigned value.`);
|
|
610
|
+
}
|
|
520
611
|
} else {
|
|
521
|
-
return
|
|
612
|
+
return RunConversion_composeCWLInputValue_Z65E5E0A8(paramRef, ldI, i, run.Identifier, unwrap(fs));
|
|
522
613
|
}
|
|
523
614
|
}, (b = LDComputationalWorkflow.getInputsAsFormalParameters(workflowProtocol, void 0, unwrap(workflowProtocol.TryGetContext())), ResizeArray_zip(WorkflowConversion_getInputParametersFromProcessingUnit_30922B92(value(run.CWLDescription)), b)));
|
|
524
615
|
let processSequence;
|
|
@@ -536,8 +627,8 @@ function RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC(run, fs) {
|
|
|
536
627
|
const protocol = LDLabProcess.tryGetExecutesLabProtocol(p);
|
|
537
628
|
const parameterValues = Option_fromSeq(LDLabProcess.getParameterValues(p));
|
|
538
629
|
let agents;
|
|
539
|
-
const
|
|
540
|
-
agents =
|
|
630
|
+
const option_6 = LDLabProcess.tryGetAgent(p);
|
|
631
|
+
agents = option_6 != null ? ResizeArray_singleton(option_6) : void 0;
|
|
541
632
|
const disambiguatingDescriptions = Option_fromSeq(LDLabProcess.getDisambiguatingDescriptionsAsString(p));
|
|
542
633
|
return LDWorkflowInvocation.create(name_1, workflowProtocol, inputs, unwrap(results), void 0, unwrap(agents), id, void 0, unwrap(disambiguatingDescriptions), unwrap(protocol), unwrap(parameterValues));
|
|
543
634
|
}, processSequence));
|
|
@@ -547,61 +638,155 @@ function RunConversion_decomposeMainWorkflowInvocation_Z1346FE9D(workflowInvocat
|
|
|
547
638
|
let matchValue = void 0;
|
|
548
639
|
return [(matchValue = LDLabProcess.tryGetExecutesLabProtocol(workflowInvocation, unwrap(graph), unwrap(context)), matchValue == null ? (() => {
|
|
549
640
|
throw new Exception(concat('Could not decompose workflow invocation for run "', runName, '": Workflow parameter "name" had no assigned value.'));
|
|
550
|
-
})() : WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_ZB11202F(
|
|
641
|
+
})() : WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_ZB11202F(matchValue, void 0, unwrap(context), unwrap(graph))), ResizeArray_map((iv) => RunConversion_decomposeCWLInputValue_Z1346FE9D(iv, runName, unwrap(context), unwrap(graph)), LDLabProcess.getObjects(workflowInvocation, unwrap(graph), unwrap(context)))];
|
|
551
642
|
}
|
|
552
|
-
function
|
|
553
|
-
|
|
554
|
-
|
|
643
|
+
function RunConversion_getDataEntitiesOfParameterValues_Z5C8C9A1A(invocations, knownIds) {
|
|
644
|
+
const entities = [];
|
|
645
|
+
const ids = new Set(knownIds);
|
|
646
|
+
const collect = (value) => {
|
|
647
|
+
let node = void 0;
|
|
648
|
+
let matchResult = void 0, node_1 = void 0, record = void 0, values = void 0;
|
|
649
|
+
if (value instanceof LDNode) {
|
|
650
|
+
if (node = value, LDDataset.validate(node) ? true : LDFile.validate(node)) {
|
|
651
|
+
matchResult = 0;
|
|
652
|
+
node_1 = value;
|
|
653
|
+
} else {
|
|
654
|
+
matchResult = 1;
|
|
655
|
+
}
|
|
656
|
+
} else if (typeof value === "string") {
|
|
657
|
+
matchResult = 1;
|
|
658
|
+
} else if (value instanceof DynamicObj) {
|
|
659
|
+
matchResult = 2;
|
|
660
|
+
record = value;
|
|
661
|
+
} else if (isIterable(value)) {
|
|
662
|
+
matchResult = 3;
|
|
663
|
+
values = value;
|
|
664
|
+
} else {
|
|
665
|
+
matchResult = 4;
|
|
666
|
+
}
|
|
667
|
+
switch (matchResult) {
|
|
668
|
+
case 0: {
|
|
669
|
+
if (addToSet(node_1.Id, ids)) {
|
|
670
|
+
void entities.push(node_1);
|
|
671
|
+
}
|
|
672
|
+
break;
|
|
673
|
+
}
|
|
674
|
+
case 1: {
|
|
675
|
+
break;
|
|
676
|
+
}
|
|
677
|
+
case 2: {
|
|
678
|
+
const enumerator = getEnumerator(record.GetProperties(false));
|
|
679
|
+
try {
|
|
680
|
+
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
681
|
+
collect(enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]()[1]);
|
|
682
|
+
}
|
|
683
|
+
} finally {
|
|
684
|
+
disposeSafe(enumerator);
|
|
685
|
+
}
|
|
686
|
+
break;
|
|
687
|
+
}
|
|
688
|
+
case 3: {
|
|
689
|
+
const enumerator_1 = getEnumerator(values);
|
|
690
|
+
try {
|
|
691
|
+
while (enumerator_1["System.Collections.IEnumerator.MoveNext"]()) {
|
|
692
|
+
collect(enumerator_1["System.Collections.IEnumerator.get_Current"]());
|
|
693
|
+
}
|
|
694
|
+
} finally {
|
|
695
|
+
if (isDisposable(enumerator_1)) {
|
|
696
|
+
disposeSafe(enumerator_1);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
break;
|
|
700
|
+
}
|
|
701
|
+
case 4: {
|
|
702
|
+
break;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
};
|
|
706
|
+
let enumerator_2 = getEnumerator(invocations);
|
|
707
|
+
try {
|
|
708
|
+
while (enumerator_2["System.Collections.IEnumerator.MoveNext"]()) {
|
|
709
|
+
const invocation = enumerator_2["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
710
|
+
let enumerator_3 = getEnumerator(LDLabProcess.getObjects(invocation));
|
|
711
|
+
try {
|
|
712
|
+
while (enumerator_3["System.Collections.IEnumerator.MoveNext"]()) {
|
|
713
|
+
const parameter = enumerator_3["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
714
|
+
const option_1 = LDPropertyValue.tryGetValueObject(parameter);
|
|
715
|
+
if (option_1 != null) {
|
|
716
|
+
collect(value(option_1));
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
} finally {
|
|
720
|
+
disposeSafe(enumerator_3);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
} finally {
|
|
724
|
+
disposeSafe(enumerator_2);
|
|
725
|
+
}
|
|
726
|
+
return entities;
|
|
727
|
+
}
|
|
728
|
+
function RunConversion_composeRun_3F79BD1(run, fs, dateCreated, isCrateRoot) {
|
|
729
|
+
let i = void 0, option_14 = void 0, option_17 = void 0, fs_1 = void 0, fds_1 = void 0, vm_1 = void 0, fds = void 0, vm = void 0;
|
|
730
|
+
const isCrateRoot_1 = defaultArg(isCrateRoot, false);
|
|
731
|
+
BaseTypes_warnIfTitleEmpty_Z2FC25A28("Run", run.Identifier, run.Title);
|
|
555
732
|
const workflowFilePath = Run_cwlFileNameFromIdentifier(run.Identifier);
|
|
733
|
+
let workflowProtocol;
|
|
556
734
|
const matchValue = run.CWLDescription;
|
|
557
735
|
if (matchValue == null) {
|
|
558
736
|
const arg = run.Identifier;
|
|
559
737
|
workflowProtocol = toFail(printf("Run %s must have a CWL description"))(arg);
|
|
560
738
|
} else {
|
|
561
|
-
workflowProtocol = WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7(workflowFilePath,
|
|
739
|
+
workflowProtocol = WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7(workflowFilePath, matchValue, void 0, run.Identifier);
|
|
562
740
|
}
|
|
563
741
|
const workflowInvocations = Option_fromSeq(RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC(run, unwrap(fs)));
|
|
564
742
|
let measurementMethod;
|
|
565
743
|
const option_1 = run.TechnologyType;
|
|
566
|
-
measurementMethod = option_1 != null ? BaseTypes_composeDefinedTerm_ZDED3A0F(
|
|
744
|
+
measurementMethod = option_1 != null ? BaseTypes_composeDefinedTerm_ZDED3A0F(option_1) : void 0;
|
|
567
745
|
let measurementTechnique;
|
|
568
746
|
const option_3 = run.TechnologyPlatform;
|
|
569
|
-
measurementTechnique = option_3 != null ? BaseTypes_composeDefinedTerm_ZDED3A0F(
|
|
747
|
+
measurementTechnique = option_3 != null ? BaseTypes_composeDefinedTerm_ZDED3A0F(option_3) : void 0;
|
|
570
748
|
let variableMeasured;
|
|
571
749
|
const option_5 = run.MeasurementType;
|
|
572
|
-
variableMeasured = option_5 != null ? BaseTypes_composePropertyValueFromOA_ZDED3A0F(
|
|
750
|
+
variableMeasured = option_5 != null ? BaseTypes_composePropertyValueFromOA_ZDED3A0F(option_5) : void 0;
|
|
573
751
|
let persons;
|
|
574
752
|
const option_7 = run.Investigation;
|
|
575
|
-
persons = option_7 != null ? (i =
|
|
753
|
+
persons = option_7 != null ? (i = option_7, i.GetAllPersons()) : void 0;
|
|
576
754
|
const creators = Option_fromSeq(ResizeArray_map((c) => PersonConversion_composePerson_2B0BECCC(c, unwrap(persons)), run.Performers));
|
|
577
755
|
const publisher = LDOrganization.create("DataPLANT");
|
|
578
|
-
|
|
756
|
+
let dateCreated_1;
|
|
757
|
+
let copyOfStruct = defaultArg(dateCreated, utcNow());
|
|
758
|
+
dateCreated_1 = toUniversalTime(copyOfStruct);
|
|
579
759
|
if (creators != null) {
|
|
580
760
|
LDComputationalWorkflow.setCreators(workflowProtocol, value(creators));
|
|
581
761
|
}
|
|
582
762
|
LDComputationalWorkflow.setSdPublisher(workflowProtocol, publisher);
|
|
583
|
-
LDComputationalWorkflow.setDateCreatedAsDateTime(workflowProtocol,
|
|
763
|
+
LDComputationalWorkflow.setDateCreatedAsDateTime(workflowProtocol, dateCreated_1);
|
|
584
764
|
let fragmentDescriptors;
|
|
585
765
|
const option_9 = run.Datamap;
|
|
586
|
-
fragmentDescriptors = option_9 != null ? DatamapConversion_composeFragmentDescriptors_Z892BFC3(
|
|
766
|
+
fragmentDescriptors = option_9 != null ? DatamapConversion_composeFragmentDescriptors_Z892BFC3(option_9) : void 0;
|
|
587
767
|
let dataFiles;
|
|
588
768
|
const option_11 = workflowInvocations;
|
|
589
|
-
dataFiles = option_11 != null ? AssayConversion_getDataFilesFromProcesses_6BABD1B0(
|
|
590
|
-
|
|
591
|
-
|
|
769
|
+
dataFiles = option_11 != null ? AssayConversion_getDataFilesFromProcesses_6BABD1B0(option_11, unwrap(fragmentDescriptors)) : void 0;
|
|
770
|
+
let parameterValueData;
|
|
771
|
+
let knownIds;
|
|
772
|
+
const ids = map$1((file) => file.Id, defaultArg(dataFiles, []));
|
|
773
|
+
knownIds = isCrateRoot_1 ? ids : append([LDDataset.genIDARCRun(run.Identifier)], ids);
|
|
774
|
+
parameterValueData = defaultArg((option_14 = workflowInvocations, option_14 != null ? RunConversion_getDataEntitiesOfParameterValues_Z5C8C9A1A(option_14, knownIds) : void 0), []);
|
|
775
|
+
const ownParts = ResizeArray_append(dataFiles == null ? ResizeArray_singleton(workflowProtocol) : ResizeArray_appendSingleton(workflowProtocol, dataFiles), parameterValueData);
|
|
776
|
+
const hasParts = ResizeArray_append(ownParts, defaultArg((option_17 = fs, option_17 != null ? (fs_1 = option_17, WorkflowConversion_composeReferencedFiles_Z7F3BB4EE(workflowFilePath, value(run.CWLDescription), fs_1, ownParts)) : void 0), []));
|
|
777
|
+
const variableMeasureds = variableMeasured == null ? fragmentDescriptors == null ? void 0 : (fds_1 = fragmentDescriptors, fds_1) : fragmentDescriptors == null ? (vm_1 = variableMeasured, ResizeArray_singleton(vm_1)) : (fds = fragmentDescriptors, vm = variableMeasured, ResizeArray_appendSingleton(vm, fds));
|
|
592
778
|
const comments = Option_fromSeq(ResizeArray_map(BaseTypes_composeComment_Z13201A7E, run.Comments));
|
|
593
779
|
return LDDataset.createARCRun(run.Identifier, ResizeArray_singleton(workflowProtocol), void 0, unwrap(run.Title), unwrap(run.Description), unwrap(creators), unwrap(hasParts), unwrap(measurementMethod), unwrap(measurementTechnique), unwrap(variableMeasureds), unwrap(workflowInvocations), unwrap(workflowInvocations), unwrap(comments));
|
|
594
780
|
}
|
|
595
781
|
function RunConversion_decomposeRun_Z6839B9E8(run, graph, context) {
|
|
596
|
-
const workflowProtocol = LDDataset.tryGetMainEntityAsWorkflowProtocol(run, unwrap(graph), unwrap(context));
|
|
597
782
|
const mainWorkflowInvocation = find((wi) => {
|
|
598
783
|
let lp = void 0;
|
|
599
784
|
const matchValue = LDLabProcess.tryGetExecutesLabProtocol(wi, unwrap(graph), unwrap(context));
|
|
600
785
|
let matchResult = void 0, lp_1 = void 0;
|
|
601
786
|
if (matchValue != null) {
|
|
602
|
-
if (lp =
|
|
787
|
+
if (lp = matchValue, LDWorkflowProtocol.validate(lp, unwrap(context))) {
|
|
603
788
|
matchResult = 0;
|
|
604
|
-
lp_1 =
|
|
789
|
+
lp_1 = matchValue;
|
|
605
790
|
} else {
|
|
606
791
|
matchResult = 1;
|
|
607
792
|
}
|
|
@@ -615,23 +800,22 @@ function RunConversion_decomposeRun_Z6839B9E8(run, graph, context) {
|
|
|
615
800
|
return false;
|
|
616
801
|
}
|
|
617
802
|
}, LDDataset.getAboutsAsWorkflowInvocation(run, unwrap(graph), unwrap(context)));
|
|
618
|
-
const patternInput = workflowProtocol == null ? RunConversion_decomposeMainWorkflowInvocation_Z1346FE9D(mainWorkflowInvocation, LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(context), unwrap(graph)) : [WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_ZB11202F(value(workflowProtocol), void 0, unwrap(context), unwrap(graph)), ResizeArray_map((iv) => RunConversion_decomposeCWLInputValue_Z1346FE9D(iv, LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(context), unwrap(graph)), LDLabProcess.getObjects(mainWorkflowInvocation, unwrap(graph), unwrap(context)))];
|
|
619
803
|
let measurementMethod;
|
|
620
804
|
const option_1 = LDDataset.tryGetMeasurementMethodAsDefinedTerm(run, unwrap(graph), unwrap(context));
|
|
621
|
-
measurementMethod = option_1 != null ? BaseTypes_decomposeDefinedTerm_Z2F770004(
|
|
805
|
+
measurementMethod = option_1 != null ? BaseTypes_decomposeDefinedTerm_Z2F770004(option_1, unwrap(context)) : void 0;
|
|
622
806
|
let measurementTechnique;
|
|
623
807
|
const option_3 = LDDataset.tryGetMeasurementTechniqueAsDefinedTerm(run, unwrap(graph), unwrap(context));
|
|
624
|
-
measurementTechnique = option_3 != null ? BaseTypes_decomposeDefinedTerm_Z2F770004(
|
|
808
|
+
measurementTechnique = option_3 != null ? BaseTypes_decomposeDefinedTerm_Z2F770004(option_3, unwrap(context)) : void 0;
|
|
625
809
|
let variableMeasured;
|
|
626
810
|
const option_5 = LDDataset.tryGetVariableMeasuredAsMeasurementType(run, unwrap(graph), unwrap(context));
|
|
627
|
-
variableMeasured = option_5 != null ? BaseTypes_decomposePropertyValueToOA_Z2F770004(
|
|
811
|
+
variableMeasured = option_5 != null ? BaseTypes_decomposePropertyValueToOA_Z2F770004(option_5, unwrap(context)) : void 0;
|
|
628
812
|
const contacts = ResizeArray_map((c) => PersonConversion_decomposePerson_Z6839B9E8(c, unwrap(graph), unwrap(context)), LDDataset.getCreators(run, unwrap(graph), unwrap(context)));
|
|
629
813
|
const comments = ResizeArray_map((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, unwrap(context)), LDDataset.getComments(run, unwrap(graph), unwrap(context)));
|
|
630
814
|
let datamap;
|
|
631
815
|
const v_1 = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(LDDataset.getVariableMeasuredAsFragmentDescriptors(run, unwrap(graph), unwrap(context)), unwrap(graph), unwrap(context));
|
|
632
816
|
datamap = Option_fromValueWithDefault(Datamap.init(), v_1);
|
|
633
817
|
const tables = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586(ofSeq(ResizeArray_filter((wi_1) => wi_1.Id !== mainWorkflowInvocation.Id, LDDataset.getAboutsAsLabProcess(run, unwrap(graph), unwrap(context)))), unwrap(graph), unwrap(context));
|
|
634
|
-
return ArcRun.create(LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(run, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(run, unwrap(context))), unwrap(variableMeasured), unwrap(measurementMethod), unwrap(measurementTechnique), void 0, tables.Tables, unwrap(datamap), contacts,
|
|
818
|
+
return ArcRun.create(LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(run, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(run, unwrap(context))), unwrap(variableMeasured), unwrap(measurementMethod), unwrap(measurementTechnique), void 0, tables.Tables, unwrap(datamap), contacts, void 0, void 0, comments);
|
|
635
819
|
}
|
|
636
820
|
|
|
637
|
-
export { RunConversion, RunConversion_$reflection, RunConversion_composeCWLInputFilePath_Z384F8060,
|
|
821
|
+
export { RunConversion, RunConversion_$reflection, RunConversion_composeCWLInputFilePath_Z384F8060, RunConversion_composeCWLInputValue_Z65E5E0A8, RunConversion_composeCWLParameterValue_1A8A78ED, RunConversion_composeDirectoryDataset_111D9870, RunConversion_composeRun_3F79BD1, RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC, RunConversion_decomposeCWLInputFilePath_Z384F8060, RunConversion_decomposeCWLInputValue_Z1346FE9D, RunConversion_decomposeCWLParameterValue_Z3524B680, RunConversion_decomposeMainWorkflowInvocation_Z1346FE9D, RunConversion_decomposeRun_Z6839B9E8 };
|