@nfdi4plants/arctrl 3.2.2 → 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/README.md +0 -64
- 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 +22 -5
- package/dist/ts/ts/ARC.d.ts.map +1 -1
- package/dist/ts/ts/ARC.js +282 -185
- 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 +7 -0
- package/dist/ts/ts/ContractIO/ContractIO.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/ContractIO.js +95 -18
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts +1 -0
- package/dist/ts/ts/ContractIO/FileSystemHelper.d.ts.map +1 -1
- package/dist/ts/ts/ContractIO/FileSystemHelper.js +12 -5
- 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.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Investigation.js +15 -14
- package/dist/ts/ts/Conversion/Person.js +11 -11
- package/dist/ts/ts/Conversion/Process.d.ts +4 -2
- package/dist/ts/ts/Conversion/Process.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Process.js +134 -97
- 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.d.ts +3 -2
- package/dist/ts/ts/Conversion/Table.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Table.js +8 -8
- 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 +68 -59
- package/dist/ts/ts/Core/Data.d.ts +6 -0
- package/dist/ts/ts/Core/Data.d.ts.map +1 -1
- package/dist/ts/ts/Core/Data.js +32 -12
- 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 +59 -70
- package/dist/ts/ts/Core/Table/ArcTables.js +16 -16
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts +4 -0
- package/dist/ts/ts/Core/Table/CompositeCell.d.ts.map +1 -1
- package/dist/ts/ts/Core/Table/CompositeCell.js +39 -2
- 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.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +10 -12
- 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 +8 -10
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts +8 -0
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +18 -7
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +4 -6
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -8
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +5 -7
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +2 -4
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +7 -9
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +6 -8
- 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 +9 -11
- 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 +10 -12
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.d.ts.map +1 -1
- package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +7 -9
- 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,13 +1,22 @@
|
|
|
1
|
+
import { substring } from '../../node_modules/@fable-org/fable-library-ts/String.js';
|
|
2
|
+
import { CWLToolDescription, CWLToolDescription_$reflection } from './ToolDescription.js';
|
|
3
|
+
import { CWLWorkflowDescription, CWLWorkflowDescription_$reflection } from './WorkflowDescription.js';
|
|
4
|
+
import { CWLExpressionToolDescription, CWLExpressionToolDescription_$reflection } from './ExpressionToolDescription.js';
|
|
5
|
+
import { CWLOperationDescription, CWLOperationDescription_$reflection } from './OperationDescription.js';
|
|
6
|
+
import { RawYaml_$reflection } from './CWLTypes.js';
|
|
7
|
+
import { HintEntry } from './Requirements.js';
|
|
8
|
+
import { choose } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
1
9
|
import { Union } from '../../node_modules/@fable-org/fable-library-ts/Types.js';
|
|
2
|
-
import { CWLToolDescription_$reflection, CWLToolDescription } from './ToolDescription.js';
|
|
3
|
-
import { CWLWorkflowDescription_$reflection, CWLWorkflowDescription } from './WorkflowDescription.js';
|
|
4
|
-
import { CWLExpressionToolDescription_$reflection, CWLExpressionToolDescription } from './ExpressionToolDescription.js';
|
|
5
|
-
import { CWLOperationDescription_$reflection, CWLOperationDescription } from './OperationDescription.js';
|
|
6
10
|
import { union_type } from '../../node_modules/@fable-org/fable-library-ts/Reflection.js';
|
|
7
|
-
import { HintEntry_get_tryAsRequirement } from './Requirements.js';
|
|
8
|
-
import { choose } from '../../node_modules/@fable-org/fable-library-ts/Seq.js';
|
|
9
11
|
import { WorkflowStepRun_RunCommandLineTool, WorkflowStepRun_RunWorkflow, WorkflowStepRun_RunExpressionTool, WorkflowStepRun_RunOperation } from './WorkflowSteps.js';
|
|
10
12
|
|
|
13
|
+
function LocalReference_withoutHash(reference) {
|
|
14
|
+
if (reference.startsWith("#")) {
|
|
15
|
+
return substring(reference, 1);
|
|
16
|
+
} else {
|
|
17
|
+
return reference;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
11
20
|
function CWLProcessingUnit_CommandLineTool(Item) {
|
|
12
21
|
return new CWLProcessingUnit(0, [Item]);
|
|
13
22
|
}
|
|
@@ -20,6 +29,9 @@ function CWLProcessingUnit_ExpressionTool(Item) {
|
|
|
20
29
|
function CWLProcessingUnit_Operation(Item) {
|
|
21
30
|
return new CWLProcessingUnit(3, [Item]);
|
|
22
31
|
}
|
|
32
|
+
function CWLProcessingUnit_RawProcess(Item) {
|
|
33
|
+
return new CWLProcessingUnit(4, [Item]);
|
|
34
|
+
}
|
|
23
35
|
class CWLProcessingUnit extends Union {
|
|
24
36
|
constructor(tag, fields) {
|
|
25
37
|
super();
|
|
@@ -27,132 +39,261 @@ class CWLProcessingUnit extends Union {
|
|
|
27
39
|
this.fields = fields;
|
|
28
40
|
}
|
|
29
41
|
cases() {
|
|
30
|
-
return ["CommandLineTool", "Workflow", "ExpressionTool", "Operation"];
|
|
42
|
+
return ["CommandLineTool", "Workflow", "ExpressionTool", "Operation", "RawProcess"];
|
|
31
43
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return union_type("ARCtrl.CWL.CWLProcessingUnit", [], CWLProcessingUnit, () => [[["Item", CWLToolDescription_$reflection()]], [["Item", CWLWorkflowDescription_$reflection()]], [["Item", CWLExpressionToolDescription_$reflection()]], [["Item", CWLOperationDescription_$reflection()]]]);
|
|
35
|
-
}
|
|
36
|
-
function CWLProcessingUnit_getInputs_30922B92(processingUnit) {
|
|
37
|
-
switch (processingUnit.tag) {
|
|
38
|
-
case /* Workflow */
|
|
39
|
-
1: {
|
|
40
|
-
const workflow = processingUnit.fields[0];
|
|
41
|
-
return CWLWorkflowDescription.getInputs(workflow);
|
|
42
|
-
}
|
|
43
|
-
case /* ExpressionTool */
|
|
44
|
-
2: {
|
|
45
|
-
const tool_1 = processingUnit.fields[0];
|
|
46
|
-
return CWLExpressionToolDescription.getInputsOrEmpty(tool_1);
|
|
47
|
-
}
|
|
48
|
-
case /* Operation */
|
|
49
|
-
3: {
|
|
50
|
-
const operation = processingUnit.fields[0];
|
|
51
|
-
return CWLOperationDescription.getInputs(operation);
|
|
52
|
-
}
|
|
53
|
-
default: {
|
|
54
|
-
const tool = processingUnit.fields[0];
|
|
55
|
-
return CWLToolDescription.getInputsOrEmpty(tool);
|
|
56
|
-
}
|
|
44
|
+
static commandLineTool(value) {
|
|
45
|
+
return CWLProcessingUnit_CommandLineTool(value);
|
|
57
46
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
switch (processingUnit.tag) {
|
|
61
|
-
case /* Workflow */
|
|
62
|
-
1: {
|
|
63
|
-
const workflow = processingUnit.fields[0];
|
|
64
|
-
return CWLWorkflowDescription.getOutputs(workflow);
|
|
65
|
-
}
|
|
66
|
-
case /* ExpressionTool */
|
|
67
|
-
2: {
|
|
68
|
-
const tool_1 = processingUnit.fields[0];
|
|
69
|
-
return CWLExpressionToolDescription.getOutputs(tool_1);
|
|
70
|
-
}
|
|
71
|
-
case /* Operation */
|
|
72
|
-
3: {
|
|
73
|
-
const operation = processingUnit.fields[0];
|
|
74
|
-
return CWLOperationDescription.getOutputs(operation);
|
|
75
|
-
}
|
|
76
|
-
default: {
|
|
77
|
-
const tool = processingUnit.fields[0];
|
|
78
|
-
return CWLToolDescription.getOutputs(tool);
|
|
79
|
-
}
|
|
47
|
+
static workflow(value) {
|
|
48
|
+
return CWLProcessingUnit_Workflow(value);
|
|
80
49
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
switch (processingUnit.tag) {
|
|
84
|
-
case /* Workflow */
|
|
85
|
-
1: {
|
|
86
|
-
const workflow = processingUnit.fields[0];
|
|
87
|
-
return CWLWorkflowDescription.getRequirementsOrEmpty(workflow);
|
|
88
|
-
}
|
|
89
|
-
case /* ExpressionTool */
|
|
90
|
-
2: {
|
|
91
|
-
const tool_1 = processingUnit.fields[0];
|
|
92
|
-
return CWLExpressionToolDescription.getRequirementsOrEmpty(tool_1);
|
|
93
|
-
}
|
|
94
|
-
case /* Operation */
|
|
95
|
-
3: {
|
|
96
|
-
const operation = processingUnit.fields[0];
|
|
97
|
-
return CWLOperationDescription.getRequirementsOrEmpty(operation);
|
|
98
|
-
}
|
|
99
|
-
default: {
|
|
100
|
-
const tool = processingUnit.fields[0];
|
|
101
|
-
return CWLToolDescription.getRequirementsOrEmpty(tool);
|
|
102
|
-
}
|
|
50
|
+
static expressionTool(value) {
|
|
51
|
+
return CWLProcessingUnit_ExpressionTool(value);
|
|
103
52
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
53
|
+
static operation(value) {
|
|
54
|
+
return CWLProcessingUnit_Operation(value);
|
|
55
|
+
}
|
|
56
|
+
static rawProcess(value) {
|
|
57
|
+
return CWLProcessingUnit_RawProcess(value);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns a new list of the inputs of the process that are objects, for every kind of process. A change of the list
|
|
61
|
+
* changes nothing in the process.
|
|
62
|
+
*/
|
|
63
|
+
static getInputValues(processingUnit) {
|
|
64
|
+
switch (processingUnit.tag) {
|
|
65
|
+
case /* Workflow */
|
|
66
|
+
1: {
|
|
67
|
+
const workflow = processingUnit.fields[0];
|
|
68
|
+
return CWLWorkflowDescription.getInputValues(workflow);
|
|
69
|
+
}
|
|
70
|
+
case /* ExpressionTool */
|
|
71
|
+
2: {
|
|
72
|
+
const tool_1 = processingUnit.fields[0];
|
|
73
|
+
return CWLExpressionToolDescription.getInputValuesOrEmpty(tool_1);
|
|
74
|
+
}
|
|
75
|
+
case /* Operation */
|
|
76
|
+
3: {
|
|
77
|
+
const operation = processingUnit.fields[0];
|
|
78
|
+
return CWLOperationDescription.getInputValues(operation);
|
|
79
|
+
}
|
|
80
|
+
case /* RawProcess */
|
|
81
|
+
4:
|
|
82
|
+
return [];
|
|
83
|
+
default: {
|
|
84
|
+
const tool = processingUnit.fields[0];
|
|
85
|
+
return CWLToolDescription.getInputValuesOrEmpty(tool);
|
|
86
|
+
}
|
|
116
87
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Returns a new list of the outputs of the process that are objects, for every kind of process. A change of the list
|
|
91
|
+
* changes nothing in the process.
|
|
92
|
+
*/
|
|
93
|
+
static getOutputValues(processingUnit) {
|
|
94
|
+
switch (processingUnit.tag) {
|
|
95
|
+
case /* Workflow */
|
|
96
|
+
1: {
|
|
97
|
+
const workflow = processingUnit.fields[0];
|
|
98
|
+
return CWLWorkflowDescription.getOutputValues(workflow);
|
|
99
|
+
}
|
|
100
|
+
case /* ExpressionTool */
|
|
101
|
+
2: {
|
|
102
|
+
const tool_1 = processingUnit.fields[0];
|
|
103
|
+
return CWLExpressionToolDescription.getOutputValues(tool_1);
|
|
104
|
+
}
|
|
105
|
+
case /* Operation */
|
|
106
|
+
3: {
|
|
107
|
+
const operation = processingUnit.fields[0];
|
|
108
|
+
return CWLOperationDescription.getOutputValues(operation);
|
|
109
|
+
}
|
|
110
|
+
case /* RawProcess */
|
|
111
|
+
4:
|
|
112
|
+
return [];
|
|
113
|
+
default: {
|
|
114
|
+
const tool = processingUnit.fields[0];
|
|
115
|
+
return CWLToolDescription.getOutputValues(tool);
|
|
116
|
+
}
|
|
121
117
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Returns requirements for all CWL processing unit variants.
|
|
121
|
+
*/
|
|
122
|
+
static getRequirements(processingUnit) {
|
|
123
|
+
switch (processingUnit.tag) {
|
|
124
|
+
case /* Workflow */
|
|
125
|
+
1: {
|
|
126
|
+
const workflow = processingUnit.fields[0];
|
|
127
|
+
return CWLWorkflowDescription.getRequirementsOrEmpty(workflow);
|
|
128
|
+
}
|
|
129
|
+
case /* ExpressionTool */
|
|
130
|
+
2: {
|
|
131
|
+
const tool_1 = processingUnit.fields[0];
|
|
132
|
+
return CWLExpressionToolDescription.getRequirementsOrEmpty(tool_1);
|
|
133
|
+
}
|
|
134
|
+
case /* Operation */
|
|
135
|
+
3: {
|
|
136
|
+
const operation = processingUnit.fields[0];
|
|
137
|
+
return CWLOperationDescription.getRequirementsOrEmpty(operation);
|
|
138
|
+
}
|
|
139
|
+
case /* RawProcess */
|
|
140
|
+
4:
|
|
141
|
+
return [];
|
|
142
|
+
default: {
|
|
143
|
+
const tool = processingUnit.fields[0];
|
|
144
|
+
return CWLToolDescription.getRequirementsOrEmpty(tool);
|
|
145
|
+
}
|
|
125
146
|
}
|
|
126
147
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
148
|
+
/**
|
|
149
|
+
* Returns hints for all CWL processing unit variants.
|
|
150
|
+
*/
|
|
151
|
+
static getHints(processingUnit) {
|
|
152
|
+
switch (processingUnit.tag) {
|
|
153
|
+
case /* Workflow */
|
|
154
|
+
1: {
|
|
155
|
+
const workflow = processingUnit.fields[0];
|
|
156
|
+
return CWLWorkflowDescription.getHintsOrEmpty(workflow);
|
|
157
|
+
}
|
|
158
|
+
case /* ExpressionTool */
|
|
159
|
+
2: {
|
|
160
|
+
const tool_1 = processingUnit.fields[0];
|
|
161
|
+
return CWLExpressionToolDescription.getHintsOrEmpty(tool_1);
|
|
162
|
+
}
|
|
163
|
+
case /* Operation */
|
|
164
|
+
3: {
|
|
165
|
+
const operation = processingUnit.fields[0];
|
|
166
|
+
return CWLOperationDescription.getHintsOrEmpty(operation);
|
|
167
|
+
}
|
|
168
|
+
case /* RawProcess */
|
|
169
|
+
4:
|
|
170
|
+
return [];
|
|
171
|
+
default: {
|
|
172
|
+
const tool = processingUnit.fields[0];
|
|
173
|
+
return CWLToolDescription.getHintsOrEmpty(tool);
|
|
174
|
+
}
|
|
134
175
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Returns intent for all CWL processing unit variants.
|
|
179
|
+
*/
|
|
180
|
+
static getIntent(processingUnit) {
|
|
181
|
+
switch (processingUnit.tag) {
|
|
182
|
+
case /* Workflow */
|
|
183
|
+
1: {
|
|
184
|
+
const workflow = processingUnit.fields[0];
|
|
185
|
+
return CWLWorkflowDescription.getIntentOrEmpty(workflow);
|
|
186
|
+
}
|
|
187
|
+
case /* ExpressionTool */
|
|
188
|
+
2: {
|
|
189
|
+
const tool_1 = processingUnit.fields[0];
|
|
190
|
+
return CWLExpressionToolDescription.getIntentOrEmpty(tool_1);
|
|
191
|
+
}
|
|
192
|
+
case /* Operation */
|
|
193
|
+
3: {
|
|
194
|
+
const operation = processingUnit.fields[0];
|
|
195
|
+
return CWLOperationDescription.getIntentOrEmpty(operation);
|
|
196
|
+
}
|
|
197
|
+
case /* RawProcess */
|
|
198
|
+
4:
|
|
199
|
+
return [];
|
|
200
|
+
default: {
|
|
201
|
+
const tool = processingUnit.fields[0];
|
|
202
|
+
return CWLToolDescription.getIntentOrEmpty(tool);
|
|
203
|
+
}
|
|
139
204
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Returns known requirement hints only, dropping unknown extension hints.
|
|
208
|
+
*/
|
|
209
|
+
static getKnownHints(processingUnit) {
|
|
210
|
+
let collection;
|
|
211
|
+
const source = CWLProcessingUnit.getHints(processingUnit);
|
|
212
|
+
collection = choose(HintEntry.tryAsRequirement, source);
|
|
213
|
+
return Array.from(collection);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* True when both values wrap the same description object. Two union values around one object are the same process.
|
|
217
|
+
*/
|
|
218
|
+
static isSameObject(left, right) {
|
|
219
|
+
let matchResult = void 0, leftTool = void 0, rightTool = void 0, leftWorkflow = void 0, rightWorkflow = void 0, leftTool_1 = void 0, rightTool_1 = void 0, leftOperation = void 0, rightOperation = void 0, leftRaw = void 0, rightRaw = void 0;
|
|
220
|
+
switch (left.tag) {
|
|
221
|
+
case /* Workflow */
|
|
222
|
+
1: {
|
|
223
|
+
if (right.tag === /* Workflow */
|
|
224
|
+
1) {
|
|
225
|
+
matchResult = 1;
|
|
226
|
+
leftWorkflow = left.fields[0];
|
|
227
|
+
rightWorkflow = right.fields[0];
|
|
228
|
+
} else {
|
|
229
|
+
matchResult = 5;
|
|
230
|
+
}
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
case /* ExpressionTool */
|
|
234
|
+
2: {
|
|
235
|
+
if (right.tag === /* ExpressionTool */
|
|
236
|
+
2) {
|
|
237
|
+
matchResult = 2;
|
|
238
|
+
leftTool_1 = left.fields[0];
|
|
239
|
+
rightTool_1 = right.fields[0];
|
|
240
|
+
} else {
|
|
241
|
+
matchResult = 5;
|
|
242
|
+
}
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
case /* Operation */
|
|
246
|
+
3: {
|
|
247
|
+
if (right.tag === /* Operation */
|
|
248
|
+
3) {
|
|
249
|
+
matchResult = 3;
|
|
250
|
+
leftOperation = left.fields[0];
|
|
251
|
+
rightOperation = right.fields[0];
|
|
252
|
+
} else {
|
|
253
|
+
matchResult = 5;
|
|
254
|
+
}
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
case /* RawProcess */
|
|
258
|
+
4: {
|
|
259
|
+
if (right.tag === /* RawProcess */
|
|
260
|
+
4) {
|
|
261
|
+
matchResult = 4;
|
|
262
|
+
leftRaw = left.fields[0];
|
|
263
|
+
rightRaw = right.fields[0];
|
|
264
|
+
} else {
|
|
265
|
+
matchResult = 5;
|
|
266
|
+
}
|
|
267
|
+
break;
|
|
268
|
+
}
|
|
269
|
+
default:
|
|
270
|
+
if (right.tag === /* CommandLineTool */
|
|
271
|
+
0) {
|
|
272
|
+
matchResult = 0;
|
|
273
|
+
leftTool = left.fields[0];
|
|
274
|
+
rightTool = right.fields[0];
|
|
275
|
+
} else {
|
|
276
|
+
matchResult = 5;
|
|
277
|
+
}
|
|
144
278
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
279
|
+
switch (matchResult) {
|
|
280
|
+
case 0:
|
|
281
|
+
return leftTool === rightTool;
|
|
282
|
+
case 1:
|
|
283
|
+
return leftWorkflow === rightWorkflow;
|
|
284
|
+
case 2:
|
|
285
|
+
return leftTool_1 === rightTool_1;
|
|
286
|
+
case 3:
|
|
287
|
+
return leftOperation === rightOperation;
|
|
288
|
+
case 4:
|
|
289
|
+
return leftRaw === rightRaw;
|
|
290
|
+
default:
|
|
291
|
+
return false;
|
|
148
292
|
}
|
|
149
293
|
}
|
|
150
294
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
153
|
-
const source = CWLProcessingUnit_getHints_30922B92(processingUnit);
|
|
154
|
-
collection = choose(HintEntry_get_tryAsRequirement(), source);
|
|
155
|
-
return Array.from(collection);
|
|
295
|
+
function CWLProcessingUnit_$reflection() {
|
|
296
|
+
return union_type("ARCtrl.CWL.CWLProcessingUnit", [], CWLProcessingUnit, () => [[["Item", CWLToolDescription_$reflection()]], [["Item", CWLWorkflowDescription_$reflection()]], [["Item", CWLExpressionToolDescription_$reflection()]], [["Item", CWLOperationDescription_$reflection()]], [["Item", RawYaml_$reflection()]]]);
|
|
156
297
|
}
|
|
157
298
|
function WorkflowStepRunOps_fromTool(tool) {
|
|
158
299
|
return WorkflowStepRun_RunCommandLineTool(tool);
|
|
@@ -169,7 +310,7 @@ function WorkflowStepRunOps_fromOperation(operation) {
|
|
|
169
310
|
function WorkflowStepRunOps_tryGetTool(run) {
|
|
170
311
|
let matchResult = void 0, tool = void 0;
|
|
171
312
|
if (run.tag === /* RunCommandLineTool */
|
|
172
|
-
|
|
313
|
+
4) {
|
|
173
314
|
if (run.fields[0] instanceof CWLToolDescription) {
|
|
174
315
|
matchResult = 0;
|
|
175
316
|
tool = run.fields[0];
|
|
@@ -189,7 +330,7 @@ function WorkflowStepRunOps_tryGetTool(run) {
|
|
|
189
330
|
function WorkflowStepRunOps_tryGetWorkflow(run) {
|
|
190
331
|
let matchResult = void 0, workflow = void 0;
|
|
191
332
|
if (run.tag === /* RunWorkflow */
|
|
192
|
-
|
|
333
|
+
5) {
|
|
193
334
|
if (run.fields[0] instanceof CWLWorkflowDescription) {
|
|
194
335
|
matchResult = 0;
|
|
195
336
|
workflow = run.fields[0];
|
|
@@ -209,7 +350,7 @@ function WorkflowStepRunOps_tryGetWorkflow(run) {
|
|
|
209
350
|
function WorkflowStepRunOps_tryGetExpressionTool(run) {
|
|
210
351
|
let matchResult = void 0, expressionTool = void 0;
|
|
211
352
|
if (run.tag === /* RunExpressionTool */
|
|
212
|
-
|
|
353
|
+
6) {
|
|
213
354
|
if (run.fields[0] instanceof CWLExpressionToolDescription) {
|
|
214
355
|
matchResult = 0;
|
|
215
356
|
expressionTool = run.fields[0];
|
|
@@ -229,7 +370,7 @@ function WorkflowStepRunOps_tryGetExpressionTool(run) {
|
|
|
229
370
|
function WorkflowStepRunOps_tryGetOperation(run) {
|
|
230
371
|
let matchResult = void 0, operation = void 0;
|
|
231
372
|
if (run.tag === /* RunOperation */
|
|
232
|
-
|
|
373
|
+
7) {
|
|
233
374
|
if (run.fields[0] instanceof CWLOperationDescription) {
|
|
234
375
|
matchResult = 0;
|
|
235
376
|
operation = run.fields[0];
|
|
@@ -246,5 +387,53 @@ function WorkflowStepRunOps_tryGetOperation(run) {
|
|
|
246
387
|
return void 0;
|
|
247
388
|
}
|
|
248
389
|
}
|
|
390
|
+
function WorkflowStepRunOps_tryGetProcessingUnit(run) {
|
|
391
|
+
switch (run.tag) {
|
|
392
|
+
case /* RunWorkflow */
|
|
393
|
+
5: {
|
|
394
|
+
const option_3 = WorkflowStepRunOps_tryGetWorkflow(run);
|
|
395
|
+
if (option_3 != null) {
|
|
396
|
+
return CWLProcessingUnit_Workflow(option_3);
|
|
397
|
+
} else {
|
|
398
|
+
return void 0;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
case /* RunExpressionTool */
|
|
402
|
+
6: {
|
|
403
|
+
const option_5 = WorkflowStepRunOps_tryGetExpressionTool(run);
|
|
404
|
+
if (option_5 != null) {
|
|
405
|
+
return CWLProcessingUnit_ExpressionTool(option_5);
|
|
406
|
+
} else {
|
|
407
|
+
return void 0;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
case /* RunOperation */
|
|
411
|
+
7: {
|
|
412
|
+
const option_7 = WorkflowStepRunOps_tryGetOperation(run);
|
|
413
|
+
if (option_7 != null) {
|
|
414
|
+
return CWLProcessingUnit_Operation(option_7);
|
|
415
|
+
} else {
|
|
416
|
+
return void 0;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
case /* RunString */
|
|
420
|
+
0:
|
|
421
|
+
case /* RunImport */
|
|
422
|
+
1:
|
|
423
|
+
case /* RunMixed */
|
|
424
|
+
2:
|
|
425
|
+
case /* RunRaw */
|
|
426
|
+
3:
|
|
427
|
+
return void 0;
|
|
428
|
+
default: {
|
|
429
|
+
const option_1 = WorkflowStepRunOps_tryGetTool(run);
|
|
430
|
+
if (option_1 != null) {
|
|
431
|
+
return CWLProcessingUnit_CommandLineTool(option_1);
|
|
432
|
+
} else {
|
|
433
|
+
return void 0;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
249
438
|
|
|
250
|
-
export { CWLProcessingUnit, CWLProcessingUnit_$reflection, CWLProcessingUnit_CommandLineTool, CWLProcessingUnit_ExpressionTool, CWLProcessingUnit_Operation,
|
|
439
|
+
export { CWLProcessingUnit, CWLProcessingUnit_$reflection, CWLProcessingUnit_CommandLineTool, CWLProcessingUnit_ExpressionTool, CWLProcessingUnit_Operation, CWLProcessingUnit_RawProcess, CWLProcessingUnit_Workflow, LocalReference_withoutHash, WorkflowStepRunOps_fromExpressionTool, WorkflowStepRunOps_fromOperation, WorkflowStepRunOps_fromTool, WorkflowStepRunOps_fromWorkflow, WorkflowStepRunOps_tryGetExpressionTool, WorkflowStepRunOps_tryGetOperation, WorkflowStepRunOps_tryGetProcessingUnit, WorkflowStepRunOps_tryGetTool, WorkflowStepRunOps_tryGetWorkflow };
|