@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
|
@@ -4,9 +4,10 @@ import { CWLProcessingUnit_$union } from './CWL/CWLProcessingUnit.ts';
|
|
|
4
4
|
import { MutableArray, IEquatable } from '@fable-org/fable-library-ts/Util.ts';
|
|
5
5
|
import { TypeInfo } from '@fable-org/fable-library-ts/Reflection.ts';
|
|
6
6
|
import { CWLWorkflowDescription } from './CWL/WorkflowDescription.ts';
|
|
7
|
-
import { WorkflowStepRun_$union } from './CWL/WorkflowSteps.ts';
|
|
8
|
-
import { FSharpSet } from '@fable-org/fable-library-ts/Set.ts';
|
|
9
7
|
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
8
|
+
import { WorkflowStep, WorkflowStepRun_$union } from './CWL/WorkflowSteps.ts';
|
|
9
|
+
import { FSharpList } from '@fable-org/fable-library-ts/List.ts';
|
|
10
|
+
import { FSharpSet } from '@fable-org/fable-library-ts/Set.ts';
|
|
10
11
|
/**
|
|
11
12
|
* Normalizes a file path for use as a lookup key.
|
|
12
13
|
*/
|
|
@@ -20,26 +21,43 @@ export declare function RunResolutionState_$reflection(): TypeInfo;
|
|
|
20
21
|
* Generates candidate lookup paths for a .cwl run reference relative to a workflow file.
|
|
21
22
|
*/
|
|
22
23
|
export declare function getRunNodeCandidates(workflowFilePath: string, runPath: string): MutableArray<string>;
|
|
23
|
-
export declare function cacheResolvedProcessingUnit(state: RunResolutionState, candidateKeys: MutableArray<string>, processingUnit: CWLProcessingUnit_$union): void;
|
|
24
|
-
export declare function runFromProcessingUnit(processingUnit: CWLProcessingUnit_$union): WorkflowStepRun_$union;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* Keeps the process that a reference resolved to, so that every later reference to the same file finds the same object.
|
|
26
|
+
*/
|
|
27
|
+
export declare function cacheResolvedProcessingUnit(state: RunResolutionState, key: string, processingUnit: CWLProcessingUnit_$union): void;
|
|
28
|
+
/**
|
|
29
|
+
* The run of a step that stands for the process. A process whose class is a directive has none, because the file that
|
|
30
|
+
* decides its class is not read, so a reference to it stays unresolved.
|
|
31
|
+
*/
|
|
32
|
+
export declare function tryRunFromProcessingUnit(processingUnit: CWLProcessingUnit_$union): Option<WorkflowStepRun_$union>;
|
|
33
|
+
/**
|
|
34
|
+
* Resolves the run reference of each step of a workflow and of each workflow nested inline in it. A step keeps its
|
|
35
|
+
* run as it is written and receives the process in its ResolvedRun. A step that holds a process already keeps it,
|
|
36
|
+
* because the lookup hands out one object for each file and the first resolution of that object decided its steps.
|
|
37
|
+
* The active workflows are the workflows whose steps are being resolved, outermost last. An inline workflow that is
|
|
38
|
+
* one of them holds itself, so the walk does not enter it again.
|
|
27
39
|
*/
|
|
28
|
-
export declare function resolveWorkflowRunsRecursiveWithResolver(workflowFilePath: string, activePathKeys: FSharpSet<string>, state: RunResolutionState, workflow: CWLWorkflowDescription, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): void;
|
|
40
|
+
export declare function resolveWorkflowRunsRecursiveWithResolver(workflowFilePath: string, activePathKeys: FSharpSet<string>, activeWorkflows: FSharpList<CWLProcessingUnit_$union>, state: RunResolutionState, workflow: CWLWorkflowDescription, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): void;
|
|
29
41
|
/**
|
|
30
|
-
*
|
|
42
|
+
* Tries each candidate path of a run reference against the resolver and returns the run of the first process that it
|
|
43
|
+
* finds. A candidate that leads back to a file that is being resolved is skipped, and so is a process that is one of the
|
|
44
|
+
* active workflows or reaches one, because the step of the innermost one would then hold a process that holds the step.
|
|
45
|
+
* The cache holds a process under the path it was found at, because the same relative path in the directory of another
|
|
46
|
+
* workflow is another file.
|
|
31
47
|
*/
|
|
32
|
-
export declare function
|
|
48
|
+
export declare function resolveRunReferenceWithResolver(workflowFilePath: string, activePathKeys: FSharpSet<string>, activeWorkflows: FSharpList<CWLProcessingUnit_$union>, state: RunResolutionState, runPath: string, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): Option<WorkflowStepRun_$union>;
|
|
33
49
|
/**
|
|
34
50
|
* Resolves all CWL WorkflowStep run references for a processing unit by looking up
|
|
35
51
|
* run path strings in the provided resolver function. For Workflow processing units,
|
|
36
|
-
* this recursively resolves all nested step run references in-place
|
|
52
|
+
* this recursively resolves all nested step run references in-place: each step keeps its run
|
|
53
|
+
* reference and holds the process in its ResolvedRun.
|
|
37
54
|
* CommandLineTool and ExpressionTool processing units are returned unchanged.
|
|
38
55
|
*/
|
|
39
56
|
export declare function resolveRunReferencesFromLookup(workflowFilePath: string, processingUnit: CWLProcessingUnit_$union, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): CWLProcessingUnit_$union;
|
|
40
57
|
/**
|
|
41
|
-
* Resolves a single workflow step
|
|
42
|
-
*
|
|
58
|
+
* Resolves the run reference of a single workflow step by looking up the run path string in the provided resolver
|
|
59
|
+
* function. The step keeps its run and receives the process in its ResolvedRun. The workflow that holds the step is not
|
|
60
|
+
* known here, so a process whose steps lead back to the step stays out of the ResolvedRun.
|
|
43
61
|
*/
|
|
44
|
-
export declare function
|
|
62
|
+
export declare function resolveWorkflowStepFromLookup(workflowFilePath: string, step: WorkflowStep, tryResolveRunPath: ((arg0: string) => Option<CWLProcessingUnit_$union>)): void;
|
|
45
63
|
//# sourceMappingURL=CWLRunResolver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CWLRunResolver.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/CWLRunResolver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAA6C,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC1G,OAAO,EAA0P,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC9T,OAAO,EAAiD,YAAY,EAAc,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC1I,OAAO,EAAwC,QAAQ,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"CWLRunResolver.d.ts","sourceRoot":"","sources":["../../../src/ARCtrl/ts/CWLRunResolver.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAA6C,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC1G,OAAO,EAA0P,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC9T,OAAO,EAAiD,YAAY,EAAc,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC1I,OAAO,EAAwC,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAI3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAItE,OAAO,EAAW,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAe,YAAY,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAE3F,OAAO,EAAqC,UAAU,EAAuC,MAAM,qCAAqC,CAAC;AACzI,OAAO,EAAiE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAG9H;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED,qBAAa,kBAAmB,SAAQ,MAAO,YAAW,UAAU,CAAC,kBAAkB,CAAC;IACpF,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;gBACvC,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,wBAAwB,CAAC;CAIjE;AAED,wBAAgB,8BAA8B,IAAI,QAAQ,CAEzD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAmBpG;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,wBAAwB,GAAG,IAAI,CAElI;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,cAAc,EAAE,wBAAwB,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAajH;AAgCD;;;;;;GAMG;AACH,wBAAgB,wCAAwC,CAAC,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,UAAU,CAAC,wBAAwB,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,wBAAwB,CAAC,CAAC,GAAG,IAAI,CAqEvT;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,UAAU,CAAC,wBAAwB,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,wBAAwB,CAAC,CAAC,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAwEvT;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,wBAAwB,CAAC,CAAC,GAAG,wBAAwB,CAqBpN;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,wBAAwB,CAAC,CAAC,GAAG,IAAI,CAyDzK"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { normalizePathKey, normalize, resolvePathFromFile } from './FileSystem/Path.js';
|
|
2
2
|
import { Record } from '../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
3
3
|
import { FSharpMap__Add, FSharpMap__TryFind, empty } from '../node_modules/@fable-org/fable-library-ts/Map.js';
|
|
4
|
-
import { CWLProcessingUnit_$reflection, WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromWorkflow, CWLProcessingUnit_Workflow, WorkflowStepRunOps_tryGetWorkflow } from './CWL/CWLProcessingUnit.js';
|
|
4
|
+
import { CWLProcessingUnit_$reflection, WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromWorkflow, CWLProcessingUnit, CWLProcessingUnit_Workflow, WorkflowStepRunOps_tryGetWorkflow } from './CWL/CWLProcessingUnit.js';
|
|
5
5
|
import { stringHash, getEnumerator, disposeSafe, comparePrimitives } from '../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
6
6
|
import { record_type, class_type, string_type } from '../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
7
7
|
import { isNullOrWhiteSpace, endsWith } from '../node_modules/@fable-org/fable-library-ts/String.js';
|
|
8
8
|
import { Array_distinct } from '../node_modules/@fable-org/fable-library-ts/Seq2.js';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { CWLWorkflowDescription } from './CWL/WorkflowDescription.js';
|
|
10
|
+
import { toArray } from '../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
11
|
+
import { ResolvedRun } from './CWL/WorkflowSteps.js';
|
|
12
|
+
import { exists } from '../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
13
|
+
import { exists as exists$1, choose, ofArray, cons, singleton, empty as empty$1 } from '../node_modules/@fable-org/fable-library-ts/List.js';
|
|
14
|
+
import { FSharpSet__Contains, FSharpSet__Add, ofList, empty as empty$2 } from '../node_modules/@fable-org/fable-library-ts/Set.js';
|
|
15
|
+
import { item } from '../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
13
16
|
|
|
14
17
|
function pathKey(path) {
|
|
15
18
|
return normalizePathKey(path);
|
|
@@ -41,13 +44,10 @@ function getRunNodeCandidates(workflowFilePath, runPath) {
|
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
|
-
function cacheResolvedProcessingUnit(state,
|
|
45
|
-
|
|
46
|
-
const key = item(idx, candidateKeys);
|
|
47
|
-
state.Cache = FSharpMap__Add(state.Cache, key, processingUnit);
|
|
48
|
-
}
|
|
47
|
+
function cacheResolvedProcessingUnit(state, key, processingUnit) {
|
|
48
|
+
state.Cache = FSharpMap__Add(state.Cache, key, processingUnit);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function tryRunFromProcessingUnit(processingUnit) {
|
|
51
51
|
switch (processingUnit.tag) {
|
|
52
52
|
case /* Workflow */
|
|
53
53
|
1:
|
|
@@ -58,93 +58,173 @@ function runFromProcessingUnit(processingUnit) {
|
|
|
58
58
|
case /* Operation */
|
|
59
59
|
3:
|
|
60
60
|
return WorkflowStepRunOps_fromOperation(processingUnit.fields[0]);
|
|
61
|
+
case /* RawProcess */
|
|
62
|
+
4:
|
|
63
|
+
return void 0;
|
|
61
64
|
default:
|
|
62
65
|
return WorkflowStepRunOps_fromTool(processingUnit.fields[0]);
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
68
|
+
function reaches(isTarget, processingUnit) {
|
|
69
|
+
const visited = [];
|
|
70
|
+
const visit = (candidate) => {
|
|
71
|
+
if (isTarget(candidate)) {
|
|
72
|
+
return true;
|
|
73
|
+
} else if (exists((right) => CWLProcessingUnit.isSameObject(candidate, right), visited)) {
|
|
74
|
+
return false;
|
|
75
|
+
} else {
|
|
76
|
+
void visited.push(candidate);
|
|
77
|
+
if (candidate.tag === /* Workflow */
|
|
78
|
+
1) {
|
|
79
|
+
const workflow = candidate.fields[0];
|
|
80
|
+
return exists((step) => {
|
|
81
|
+
let option_1 = void 0;
|
|
82
|
+
return exists$1((workflow_1) => visit(CWLProcessingUnit_Workflow(workflow_1)), choose((x) => x, ofArray([WorkflowStepRunOps_tryGetWorkflow(step.Run), (option_1 = step.ResolvedRun.Run, option_1 != null ? WorkflowStepRunOps_tryGetWorkflow(option_1) : void 0)])));
|
|
83
|
+
}, CWLWorkflowDescription.getStepValues(workflow));
|
|
84
|
+
} else {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
return visit(processingUnit);
|
|
90
|
+
}
|
|
91
|
+
function reachesAny(targets, processingUnit) {
|
|
92
|
+
return reaches((candidate) => exists$1((right) => CWLProcessingUnit.isSameObject(candidate, right), targets), processingUnit);
|
|
93
|
+
}
|
|
94
|
+
function resolveWorkflowRunsRecursiveWithResolver(workflowFilePath, activePathKeys, activeWorkflows, state, workflow, tryResolveRunPath) {
|
|
95
|
+
const activeWorkflows_1 = cons(CWLProcessingUnit_Workflow(workflow), activeWorkflows);
|
|
96
|
+
let enumerator = getEnumerator(CWLWorkflowDescription.getStepValues(workflow));
|
|
67
97
|
try {
|
|
68
98
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
99
|
+
let left = void 0;
|
|
69
100
|
const step = enumerator["System.Collections.Generic.IEnumerator`1.get_Current"]();
|
|
70
|
-
const
|
|
71
|
-
|
|
101
|
+
const matchValue = step.Run;
|
|
102
|
+
let matchResult = void 0, runPath_2 = void 0;
|
|
103
|
+
switch (matchValue.tag) {
|
|
104
|
+
case /* RunString */
|
|
105
|
+
0: {
|
|
106
|
+
if (matchValue.fields[0], step.ResolvedRun.Run == null) {
|
|
107
|
+
matchResult = 0;
|
|
108
|
+
runPath_2 = matchValue.fields[0];
|
|
109
|
+
} else {
|
|
110
|
+
matchResult = 1;
|
|
111
|
+
}
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
case /* RunImport */
|
|
115
|
+
1: {
|
|
116
|
+
if (matchValue.fields[0], step.ResolvedRun.Run == null) {
|
|
117
|
+
matchResult = 0;
|
|
118
|
+
runPath_2 = matchValue.fields[0];
|
|
119
|
+
} else {
|
|
120
|
+
matchResult = 1;
|
|
121
|
+
}
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
default:
|
|
125
|
+
matchResult = 1;
|
|
126
|
+
}
|
|
127
|
+
switch (matchResult) {
|
|
128
|
+
case 0: {
|
|
129
|
+
step.ResolvedRun = new ResolvedRun(resolveRunReferenceWithResolver(workflowFilePath, activePathKeys, activeWorkflows_1, state, runPath_2, tryResolveRunPath));
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
case 1: {
|
|
133
|
+
if (matchValue.tag === /* RunWorkflow */
|
|
134
|
+
5) {
|
|
135
|
+
const matchValue_1 = WorkflowStepRunOps_tryGetWorkflow(step.Run);
|
|
136
|
+
let matchResult_1 = void 0, inlineWorkflow_1 = void 0;
|
|
137
|
+
if (matchValue_1 != null) {
|
|
138
|
+
if (!exists$1((left = CWLProcessingUnit_Workflow(matchValue_1), (right) => CWLProcessingUnit.isSameObject(left, right)), activeWorkflows_1)) {
|
|
139
|
+
matchResult_1 = 0;
|
|
140
|
+
inlineWorkflow_1 = matchValue_1;
|
|
141
|
+
} else {
|
|
142
|
+
matchResult_1 = 1;
|
|
143
|
+
}
|
|
144
|
+
} else {
|
|
145
|
+
matchResult_1 = 1;
|
|
146
|
+
}
|
|
147
|
+
switch (matchResult_1) {
|
|
148
|
+
case 0: {
|
|
149
|
+
resolveWorkflowRunsRecursiveWithResolver(workflowFilePath, activePathKeys, activeWorkflows_1, state, inlineWorkflow_1, tryResolveRunPath);
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
72
157
|
}
|
|
73
158
|
} finally {
|
|
74
159
|
disposeSafe(enumerator);
|
|
75
160
|
}
|
|
76
161
|
}
|
|
77
|
-
function
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
const runPath = run.fields[0];
|
|
101
|
-
const candidates = getRunNodeCandidates(workflowFilePath, runPath);
|
|
102
|
-
const candidateKeys = Array_distinct(map(pathKey, candidates), {
|
|
103
|
-
Equals: (x, y) => x === y,
|
|
104
|
-
GetHashCode: (x) => stringHash(x) | 0
|
|
105
|
-
});
|
|
106
|
-
const tryResolveCandidate = (index_mut) => {
|
|
107
|
-
tryResolveCandidate:
|
|
108
|
-
while (true) {
|
|
109
|
-
const index = index_mut;
|
|
110
|
-
if (index >= candidates.length) {
|
|
111
|
-
return WorkflowStepRun_RunString(runPath);
|
|
112
|
-
} else {
|
|
113
|
-
const candidate = item(index, candidates);
|
|
114
|
-
const key = pathKey(candidate);
|
|
115
|
-
if (FSharpSet__Contains(activePathKeys, key)) {
|
|
116
|
-
index_mut = index + 1;
|
|
117
|
-
continue tryResolveCandidate;
|
|
162
|
+
function resolveRunReferenceWithResolver(workflowFilePath, activePathKeys, activeWorkflows, state, runPath, tryResolveRunPath) {
|
|
163
|
+
const candidates = getRunNodeCandidates(workflowFilePath, runPath);
|
|
164
|
+
const tryResolveCandidate = (index_mut) => {
|
|
165
|
+
tryResolveCandidate:
|
|
166
|
+
while (true) {
|
|
167
|
+
const index = index_mut;
|
|
168
|
+
if (index >= candidates.length) {
|
|
169
|
+
return void 0;
|
|
170
|
+
} else {
|
|
171
|
+
const candidate = item(index, candidates);
|
|
172
|
+
const key = pathKey(candidate);
|
|
173
|
+
if (FSharpSet__Contains(activePathKeys, key)) {
|
|
174
|
+
index_mut = index + 1;
|
|
175
|
+
continue tryResolveCandidate;
|
|
176
|
+
} else {
|
|
177
|
+
const matchValue = FSharpMap__TryFind(state.Cache, key);
|
|
178
|
+
if (matchValue == null) {
|
|
179
|
+
let matchValue_1;
|
|
180
|
+
const option_3 = tryResolveRunPath(candidate);
|
|
181
|
+
if (option_3 != null) {
|
|
182
|
+
const found = option_3;
|
|
183
|
+
const option_1 = tryRunFromProcessingUnit(found);
|
|
184
|
+
matchValue_1 = option_1 != null ? [found, option_1] : void 0;
|
|
118
185
|
} else {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
186
|
+
matchValue_1 = void 0;
|
|
187
|
+
}
|
|
188
|
+
let matchResult = void 0, processingUnit_1 = void 0, run_2 = void 0;
|
|
189
|
+
if (matchValue_1 != null) {
|
|
190
|
+
if (matchValue_1[1], !reachesAny(activeWorkflows, matchValue_1[0])) {
|
|
191
|
+
matchResult = 0;
|
|
192
|
+
processingUnit_1 = matchValue_1[0];
|
|
193
|
+
run_2 = matchValue_1[1];
|
|
194
|
+
} else {
|
|
195
|
+
matchResult = 1;
|
|
196
|
+
}
|
|
197
|
+
} else {
|
|
198
|
+
matchResult = 1;
|
|
199
|
+
}
|
|
200
|
+
switch (matchResult) {
|
|
201
|
+
case 0: {
|
|
202
|
+
if (processingUnit_1.tag === /* Workflow */
|
|
126
203
|
1) {
|
|
127
|
-
const workflow =
|
|
128
|
-
resolveWorkflowRunsRecursiveWithResolver(candidate, FSharpSet__Add(activePathKeys, key), state, workflow, tryResolveRunPath);
|
|
129
|
-
const resolved = CWLProcessingUnit_Workflow(workflow);
|
|
130
|
-
cacheResolvedProcessingUnit(state, candidateKeys, resolved);
|
|
131
|
-
return runFromProcessingUnit(resolved);
|
|
132
|
-
} else {
|
|
133
|
-
const processingUnit = value(matchValue_1);
|
|
134
|
-
cacheResolvedProcessingUnit(state, candidateKeys, processingUnit);
|
|
135
|
-
return runFromProcessingUnit(processingUnit);
|
|
204
|
+
const workflow = processingUnit_1.fields[0];
|
|
205
|
+
resolveWorkflowRunsRecursiveWithResolver(candidate, FSharpSet__Add(activePathKeys, key), activeWorkflows, state, workflow, tryResolveRunPath);
|
|
136
206
|
}
|
|
137
|
-
|
|
138
|
-
return
|
|
207
|
+
cacheResolvedProcessingUnit(state, key, processingUnit_1);
|
|
208
|
+
return run_2;
|
|
209
|
+
}
|
|
210
|
+
default: {
|
|
211
|
+
index_mut = index + 1;
|
|
212
|
+
continue tryResolveCandidate;
|
|
139
213
|
}
|
|
140
214
|
}
|
|
215
|
+
} else if (!reachesAny(activeWorkflows, matchValue)) {
|
|
216
|
+
const cached_1 = matchValue;
|
|
217
|
+
return tryRunFromProcessingUnit(cached_1);
|
|
218
|
+
} else {
|
|
219
|
+
index_mut = index + 1;
|
|
220
|
+
continue tryResolveCandidate;
|
|
141
221
|
}
|
|
142
|
-
break;
|
|
143
222
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
223
|
+
}
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
return tryResolveCandidate(0);
|
|
148
228
|
}
|
|
149
229
|
function resolveRunReferencesFromLookup(workflowFilePath, processingUnit, tryResolveRunPath) {
|
|
150
230
|
switch (processingUnit.tag) {
|
|
@@ -157,25 +237,80 @@ function resolveRunReferencesFromLookup(workflowFilePath, processingUnit, tryRes
|
|
|
157
237
|
case /* Operation */
|
|
158
238
|
3:
|
|
159
239
|
return processingUnit;
|
|
240
|
+
case /* RawProcess */
|
|
241
|
+
4:
|
|
242
|
+
return processingUnit;
|
|
160
243
|
default: {
|
|
161
244
|
const workflow = processingUnit.fields[0];
|
|
162
245
|
const state = new RunResolutionState(empty({
|
|
163
246
|
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
164
247
|
}));
|
|
165
|
-
resolveWorkflowRunsRecursiveWithResolver(workflowFilePath,
|
|
248
|
+
resolveWorkflowRunsRecursiveWithResolver(workflowFilePath, ofList(singleton(pathKey(workflowFilePath)), {
|
|
166
249
|
Compare: (x_1, y_1) => comparePrimitives(x_1, y_1) | 0
|
|
167
|
-
}), state, workflow, tryResolveRunPath);
|
|
250
|
+
}), empty$1(), state, workflow, tryResolveRunPath);
|
|
168
251
|
return CWLProcessingUnit_Workflow(workflow);
|
|
169
252
|
}
|
|
170
253
|
}
|
|
171
254
|
}
|
|
172
|
-
function
|
|
255
|
+
function resolveWorkflowStepFromLookup(workflowFilePath, step, tryResolveRunPath) {
|
|
256
|
+
let option_2 = void 0;
|
|
173
257
|
const state = new RunResolutionState(empty({
|
|
174
258
|
Compare: (x, y) => comparePrimitives(x, y) | 0
|
|
175
259
|
}));
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
260
|
+
const matchValue = step.Run;
|
|
261
|
+
let matchResult = void 0, runPath = void 0;
|
|
262
|
+
switch (matchValue.tag) {
|
|
263
|
+
case /* RunString */
|
|
264
|
+
0: {
|
|
265
|
+
matchResult = 0;
|
|
266
|
+
runPath = matchValue.fields[0];
|
|
267
|
+
break;
|
|
268
|
+
}
|
|
269
|
+
case /* RunImport */
|
|
270
|
+
1: {
|
|
271
|
+
matchResult = 0;
|
|
272
|
+
runPath = matchValue.fields[0];
|
|
273
|
+
break;
|
|
274
|
+
}
|
|
275
|
+
case /* RunWorkflow */
|
|
276
|
+
5: {
|
|
277
|
+
matchResult = 1;
|
|
278
|
+
break;
|
|
279
|
+
}
|
|
280
|
+
default:
|
|
281
|
+
matchResult = 2;
|
|
282
|
+
}
|
|
283
|
+
switch (matchResult) {
|
|
284
|
+
case 0: {
|
|
285
|
+
const resolved = resolveRunReferenceWithResolver(workflowFilePath, empty$2({
|
|
286
|
+
Compare: (x_1, y_1) => comparePrimitives(x_1, y_1) | 0
|
|
287
|
+
}), empty$1(), state, runPath, tryResolveRunPath);
|
|
288
|
+
step.ResolvedRun = new ResolvedRun((option_2 = resolved, option_2 != null ? !exists((workflow_1) => reaches((processingUnit) => {
|
|
289
|
+
if (processingUnit.tag === /* Workflow */
|
|
290
|
+
1) {
|
|
291
|
+
const workflow = processingUnit.fields[0];
|
|
292
|
+
return exists((other) => other === step, CWLWorkflowDescription.getStepValues(workflow));
|
|
293
|
+
} else {
|
|
294
|
+
return false;
|
|
295
|
+
}
|
|
296
|
+
}, CWLProcessingUnit_Workflow(workflow_1)), toArray(WorkflowStepRunOps_tryGetWorkflow(option_2))) ? option_2 : void 0 : void 0));
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
case 1: {
|
|
300
|
+
const matchValue_1 = WorkflowStepRunOps_tryGetWorkflow(step.Run);
|
|
301
|
+
if (matchValue_1 == null) {
|
|
302
|
+
} else {
|
|
303
|
+
const inlineWorkflow = matchValue_1;
|
|
304
|
+
resolveWorkflowRunsRecursiveWithResolver(workflowFilePath, empty$2({
|
|
305
|
+
Compare: (x_2, y_2) => comparePrimitives(x_2, y_2) | 0
|
|
306
|
+
}), empty$1(), state, inlineWorkflow, tryResolveRunPath);
|
|
307
|
+
}
|
|
308
|
+
break;
|
|
309
|
+
}
|
|
310
|
+
case 2: {
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
179
314
|
}
|
|
180
315
|
|
|
181
|
-
export { RunResolutionState, RunResolutionState_$reflection, cacheResolvedProcessingUnit, getRunNodeCandidates, pathKey, resolveRunReferencesFromLookup, resolveWorkflowRunsRecursiveWithResolver,
|
|
316
|
+
export { RunResolutionState, RunResolutionState_$reflection, cacheResolvedProcessingUnit, getRunNodeCandidates, pathKey, resolveRunReferenceWithResolver, resolveRunReferencesFromLookup, resolveWorkflowRunsRecursiveWithResolver, resolveWorkflowStepFromLookup, tryRunFromProcessingUnit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ARC.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ARC.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"ARC.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ARC.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQzC;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,CAyEzE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { split } from '../FileSystem/Path.js';
|
|
2
2
|
import { $007CInvestigationPath$007C_$007C } from './ArcInvestigation.js';
|
|
3
|
-
import { value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
4
3
|
import { Contract } from './Contract.js';
|
|
5
4
|
import { $007CAssayPath$007C_$007C } from './ArcAssay.js';
|
|
6
5
|
import { $007CStudyPath$007C_$007C } from './ArcStudy.js';
|
|
7
|
-
import { $007CWorkflowPath$007C_$007C, $007CWorkflowCWLPath$007C_$007C } from './ArcWorkflow.js';
|
|
6
|
+
import { WorkflowContractExtensions_$007CWorkflowPath$007C_$007C, WorkflowContractExtensions_$007CWorkflowCWLPath$007C_$007C } from './ArcWorkflow.js';
|
|
8
7
|
import { $007CRunPath$007C_$007C, $007CRunCWLPath$007C_$007C, $007CRunYMLPath$007C_$007C } from './ArcRun.js';
|
|
9
8
|
import { $007CDatamapPath$007C_$007C } from './Datamap.js';
|
|
10
9
|
import { LicenseContractExtensions_$007CLicensePath$007C_$007C } from './License.js';
|
|
@@ -13,52 +12,52 @@ function tryISAReadContractFromPath(path) {
|
|
|
13
12
|
const split$1 = split(path);
|
|
14
13
|
const activePatternResult = $007CInvestigationPath$007C_$007C(split$1);
|
|
15
14
|
if (activePatternResult != null) {
|
|
16
|
-
const p =
|
|
15
|
+
const p = activePatternResult;
|
|
17
16
|
return Contract.createRead(p, "ISA_Investigation");
|
|
18
17
|
} else {
|
|
19
18
|
const activePatternResult_1 = $007CAssayPath$007C_$007C(split$1);
|
|
20
19
|
if (activePatternResult_1 != null) {
|
|
21
|
-
const p_1 =
|
|
20
|
+
const p_1 = activePatternResult_1;
|
|
22
21
|
return Contract.createRead(p_1, "ISA_Assay");
|
|
23
22
|
} else {
|
|
24
23
|
const activePatternResult_2 = $007CStudyPath$007C_$007C(split$1);
|
|
25
24
|
if (activePatternResult_2 != null) {
|
|
26
|
-
const p_2 =
|
|
25
|
+
const p_2 = activePatternResult_2;
|
|
27
26
|
return Contract.createRead(p_2, "ISA_Study");
|
|
28
27
|
} else {
|
|
29
|
-
const activePatternResult_3 = $007CWorkflowPath$007C_$007C(split$1);
|
|
28
|
+
const activePatternResult_3 = WorkflowContractExtensions_$007CWorkflowPath$007C_$007C(split$1);
|
|
30
29
|
if (activePatternResult_3 != null) {
|
|
31
|
-
const p_3 =
|
|
30
|
+
const p_3 = activePatternResult_3;
|
|
32
31
|
return Contract.createRead(p_3, "ISA_Workflow");
|
|
33
32
|
} else {
|
|
34
|
-
const activePatternResult_4 = $007CWorkflowCWLPath$007C_$007C(split$1);
|
|
33
|
+
const activePatternResult_4 = WorkflowContractExtensions_$007CWorkflowCWLPath$007C_$007C(split$1);
|
|
35
34
|
if (activePatternResult_4 != null) {
|
|
36
|
-
const p_4 =
|
|
35
|
+
const p_4 = activePatternResult_4;
|
|
37
36
|
return Contract.createRead(p_4, "CWL");
|
|
38
37
|
} else {
|
|
39
38
|
const activePatternResult_5 = $007CRunPath$007C_$007C(split$1);
|
|
40
39
|
if (activePatternResult_5 != null) {
|
|
41
|
-
const p_5 =
|
|
40
|
+
const p_5 = activePatternResult_5;
|
|
42
41
|
return Contract.createRead(p_5, "ISA_Run");
|
|
43
42
|
} else {
|
|
44
43
|
const activePatternResult_6 = $007CRunCWLPath$007C_$007C(split$1);
|
|
45
44
|
if (activePatternResult_6 != null) {
|
|
46
|
-
const p_6 =
|
|
45
|
+
const p_6 = activePatternResult_6;
|
|
47
46
|
return Contract.createRead(p_6, "CWL");
|
|
48
47
|
} else {
|
|
49
48
|
const activePatternResult_7 = $007CRunYMLPath$007C_$007C(split$1);
|
|
50
49
|
if (activePatternResult_7 != null) {
|
|
51
|
-
const p_7 =
|
|
50
|
+
const p_7 = activePatternResult_7;
|
|
52
51
|
return Contract.createRead(p_7, "YAML");
|
|
53
52
|
} else {
|
|
54
53
|
const activePatternResult_8 = $007CDatamapPath$007C_$007C(split$1);
|
|
55
54
|
if (activePatternResult_8 != null) {
|
|
56
|
-
const p_8 =
|
|
55
|
+
const p_8 = activePatternResult_8;
|
|
57
56
|
return Contract.createRead(p_8, "ISA_Datamap");
|
|
58
57
|
} else {
|
|
59
58
|
const activePatternResult_9 = LicenseContractExtensions_$007CLicensePath$007C_$007C(split$1);
|
|
60
59
|
if (activePatternResult_9 != null) {
|
|
61
|
-
const p_9 =
|
|
60
|
+
const p_9 = activePatternResult_9;
|
|
62
61
|
return Contract.createRead(p_9, "PlainText");
|
|
63
62
|
} else {
|
|
64
63
|
return void 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArcAssay.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcAssay.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,
|
|
1
|
+
{"version":3,"file":"ArcAssay.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcAssay.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAsB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEnF,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAIvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG/C,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CA0BrF;AAED,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,QAAQ,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAQjI;AAED,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAGpF;AAED,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAGpF;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAEpG;AAED,wBAAgB,2DAA2D,CAAC,KAAK,EAAE,QAAQ,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAEzI;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAEpG;AAED,wBAAgB,6DAA6D,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAmC3G"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { equalsWith, item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
2
2
|
import { combineMany, getAssayFolderPath } from '../FileSystem/Path.js';
|
|
3
3
|
import { defaultOf } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
4
|
-
import { defaultArg, unwrap
|
|
4
|
+
import { defaultArg, unwrap } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
5
5
|
import { Assay_fileNameFromIdentifier } from '../Core/Helper/Identifier.js';
|
|
6
6
|
import { Contract } from './Contract.js';
|
|
7
7
|
import { ARCtrl_ArcAssay__ArcAssay_toFsWorkbook_Static_Z2508BE4F, ARCtrl_ArcAssay__ArcAssay_fromFsWorkbook_Static_32154C9D } from '../Spreadsheet/ArcAssay.js';
|
|
@@ -63,11 +63,11 @@ function ARCtrl_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F(c) {
|
|
|
63
63
|
let matchResult = void 0, fsworkbook = void 0;
|
|
64
64
|
if (c.Operation === "READ") {
|
|
65
65
|
if (c.DTOType != null) {
|
|
66
|
-
if (
|
|
66
|
+
if (c.DTOType === "ISA_Assay") {
|
|
67
67
|
if (c.DTO != null) {
|
|
68
|
-
if (
|
|
68
|
+
if (c.DTO instanceof FsWorkbook) {
|
|
69
69
|
matchResult = 0;
|
|
70
|
-
fsworkbook =
|
|
70
|
+
fsworkbook = c.DTO;
|
|
71
71
|
} else {
|
|
72
72
|
matchResult = 1;
|
|
73
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArcInvestigation.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcInvestigation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,
|
|
1
|
+
{"version":3,"file":"ArcInvestigation.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcInvestigation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAmB7F;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,gBAAgB,GAAG,QAAQ,CAE5G;AAED,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,gBAAgB,GAAG,QAAQ,CAE5G;AAED,wBAAgB,2EAA2E,CAAC,GAAG,EAAE,gBAAgB,GAAG,QAAQ,CAE3H;AAED,wBAAgB,2EAA2E,CAAC,GAAG,EAAE,gBAAgB,GAAG,QAAQ,CAE3H;AAED,wBAAgB,6EAA6E,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAmCnI"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { combineMany } from '../FileSystem/Path.js';
|
|
2
2
|
import { equalsWith, item } from '../../node_modules/@fable-org/fable-library-ts/Array.js';
|
|
3
3
|
import { defaultOf } from '../../node_modules/@fable-org/fable-library-ts/Util.js';
|
|
4
|
-
import { value } from '../../node_modules/@fable-org/fable-library-ts/Option.js';
|
|
5
4
|
import { Contract } from './Contract.js';
|
|
6
5
|
import { ARCtrl_ArcInvestigation__ArcInvestigation_toFsWorkbook_Static_Z720BD3FF, ARCtrl_ArcInvestigation__ArcInvestigation_fromFsWorkbook_Static_32154C9D } from '../Spreadsheet/ArcInvestigation.js';
|
|
7
6
|
import { FsWorkbook } from '../fable_modules/FsSpreadsheet.7.0.1/FsWorkbook.fs.js';
|
|
@@ -40,11 +39,11 @@ function ARCtrl_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_75
|
|
|
40
39
|
let matchResult = void 0, fsworkbook = void 0;
|
|
41
40
|
if (c.Operation === "READ") {
|
|
42
41
|
if (c.DTOType != null) {
|
|
43
|
-
if (
|
|
42
|
+
if (c.DTOType === "ISA_Investigation") {
|
|
44
43
|
if (c.DTO != null) {
|
|
45
|
-
if (
|
|
44
|
+
if (c.DTO instanceof FsWorkbook) {
|
|
46
45
|
matchResult = 0;
|
|
47
|
-
fsworkbook =
|
|
46
|
+
fsworkbook = c.DTO;
|
|
48
47
|
} else {
|
|
49
48
|
matchResult = 1;
|
|
50
49
|
}
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import { MutableArray } from '@fable-org/fable-library-ts/Util.ts';
|
|
2
2
|
import { Option } from '@fable-org/fable-library-ts/Option.ts';
|
|
3
|
-
import { Contract } from './Contract.ts';
|
|
4
|
-
import { ArcRun } from '../Core/ArcTypes.ts';
|
|
5
3
|
import { CWLProcessingUnit_$union } from '../CWL/CWLProcessingUnit.ts';
|
|
4
|
+
import { Operation, Contract } from './Contract.ts';
|
|
5
|
+
import { ArcRun } from '../Core/ArcTypes.ts';
|
|
6
6
|
import { CWLParameterReference } from '../CWL/ParameterReference.ts';
|
|
7
7
|
export declare function $007CRunPath$007C_$007C(input: MutableArray<string>): Option<string>;
|
|
8
8
|
export declare function $007CRunCWLPath$007C_$007C(input: MutableArray<string>): Option<string>;
|
|
9
9
|
export declare function $007CRunYMLPath$007C_$007C(input: MutableArray<string>): Option<string>;
|
|
10
|
+
/**
|
|
11
|
+
* The contract that carries the CWL file of the run, or none for a run without a description. The operation is
|
|
12
|
+
* CREATE for a file that is new and UPDATE for a file that changed.
|
|
13
|
+
*/
|
|
14
|
+
export declare function ARCtrl_ArcRun__ArcRun_TryToCWLContract_Z2D283928(this$: ArcRun, operation: Operation): Option<Contract>;
|
|
15
|
+
/**
|
|
16
|
+
* The contract that carries the parameter file run.yml of the run, or none for a run without parameter
|
|
17
|
+
* references. The operation is CREATE for a file that is new and UPDATE for a file that changed.
|
|
18
|
+
*/
|
|
19
|
+
export declare function ARCtrl_ArcRun__ArcRun_TryToYMLContract_Z2D283928(this$: ArcRun, operation: Operation): Option<Contract>;
|
|
10
20
|
export declare function ARCtrl_ArcRun__ArcRun_ToCreateContract_6FCE9E49(this$: ArcRun, WithFolder?: boolean): MutableArray<Contract>;
|
|
11
21
|
export declare function ARCtrl_ArcRun__ArcRun_ToUpdateContract(this$: ArcRun): Contract;
|
|
12
22
|
export declare function ARCtrl_ArcRun__ArcRun_ToDeleteContract(this$: ArcRun): Contract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArcRun.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcRun.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,
|
|
1
|
+
{"version":3,"file":"ArcRun.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Contract/ArcRun.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAa,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAsB,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,OAAO,EAAgB,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CA0BnF;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CA0BtF;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CA0BtF;AAED;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAYtH;AAED;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAYtH;AAED,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAc3H;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAG9E;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAG9E;AAED,wBAAgB,uDAAuD,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAE7F;AAED,wBAAgB,uDAAuD,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC,QAAQ,CAAC,CAEjI;AAED,wBAAgB,uDAAuD,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAE7F;AAED,wBAAgB,yDAAyD,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAmCrG;AAED,wBAAgB,mDAAmD,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAyCxI;AAED,wBAAgB,mDAAmD,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,qBAAqB,EAAE,CAAC,CAyCvI"}
|