@nfdi4plants/arctrl 1.2.0 → 2.0.0-alpha.2
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/ARC.js +53 -35
- package/{Contracts/Contracts.ARCtrl.js → Contract/ARC.js} +4 -2
- package/Contract/ArcAssay.js +102 -0
- package/Contract/ArcInvestigation.js +78 -0
- package/Contract/ArcStudy.js +102 -0
- package/Contract/Contract.js +3 -3
- package/{Contracts/Contracts.Git.js → Contract/Git.js} +5 -5
- package/{ISA/ISA/ArcTypes → Core}/ArcTypes.js +307 -295
- package/Core/Comment.js +97 -0
- package/{ISA/ISA/JsonTypes → Core}/CommentList.js +12 -18
- package/Core/Conversion.js +1056 -0
- package/Core/Helper/Collections.js +318 -0
- package/Core/Helper/HashCodes.js +39 -0
- package/{ISA/ISA → Core/Helper}/Identifier.js +67 -2
- package/{ISA/ISA → Core/Helper}/Regex.js +3 -3
- package/{SemVer.js → Core/Helper/SemVer.js} +8 -8
- package/{ISA/ISA/ArcTypes → Core}/IdentifierSetters.js +1 -1
- package/Core/OntologyAnnotation.js +186 -0
- package/Core/OntologySourceReference.js +92 -0
- package/Core/Person.js +194 -0
- package/Core/Process/ColumnIndex.js +248 -0
- package/Core/Process/Component.js +188 -0
- package/{ISA/ISA/JsonTypes → Core/Process}/Data.js +8 -8
- package/{ISA/ISA/JsonTypes → Core/Process}/DataFile.js +3 -3
- package/Core/Process/Factor.js +109 -0
- package/{ISA/ISA/JsonTypes → Core/Process}/FactorValue.js +32 -13
- package/{ISA/ISA/JsonTypes → Core/Process}/Material.js +9 -9
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttribute.js +17 -17
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialAttributeValue.js +35 -16
- package/{ISA/ISA/JsonTypes → Core/Process}/MaterialType.js +3 -3
- package/{ISA/ISA/JsonTypes → Core/Process}/Process.js +46 -79
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessInput.js +42 -42
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessOutput.js +36 -36
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessParameterValue.js +26 -7
- package/{ISA/ISA/JsonTypes → Core/Process}/ProcessSequence.js +21 -25
- package/{ISA/ISA/JsonTypes → Core/Process}/Protocol.js +26 -57
- package/{ISA/ISA/JsonTypes → Core/Process}/ProtocolParameter.js +10 -10
- package/{ISA/ISA/JsonTypes → Core/Process}/Sample.js +12 -12
- package/{ISA/ISA/JsonTypes → Core/Process}/Source.js +9 -9
- package/{ISA/ISA/JsonTypes → Core/Process}/Value.js +13 -13
- package/Core/Publication.js +116 -0
- package/{ISA/ISA/ArcTypes → Core/Table}/ArcTable.js +43 -149
- package/Core/Table/ArcTableAux.js +532 -0
- package/{ISA/ISA/ArcTypes → Core/Table}/ArcTables.js +20 -32
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeCell.js +19 -76
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeColumn.js +6 -6
- package/{ISA/ISA/ArcTypes → Core/Table}/CompositeHeader.js +14 -34
- package/{Templates → Core}/Template.js +16 -17
- package/Core/Templates.js +84 -0
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +46 -8
- package/FileSystem/Path.js +10 -2
- package/Json/ARC.js +25 -0
- package/Json/Assay.js +202 -0
- package/Json/Comment.js +130 -0
- package/Json/ConverterOptions.js +18 -0
- package/Json/Decode.js +128 -0
- package/Json/Encode.js +45 -0
- package/Json/Investigation.js +220 -0
- package/Json/OntologyAnnotation.js +169 -0
- package/Json/OntologySourceReference.js +122 -0
- package/Json/Person.js +250 -0
- package/Json/Process/AssayMaterials.js +22 -0
- package/Json/Process/Component.js +79 -0
- package/Json/Process/Data.js +102 -0
- package/Json/Process/DataFile.js +81 -0
- package/Json/Process/Factor.js +48 -0
- package/Json/Process/FactorValue.js +53 -0
- package/Json/Process/Material.js +107 -0
- package/Json/Process/MaterialAttribute.js +45 -0
- package/Json/Process/MaterialAttributeValue.js +70 -0
- package/Json/Process/MaterialType.js +60 -0
- package/Json/Process/Process.js +107 -0
- package/Json/Process/ProcessInput.js +59 -0
- package/Json/Process/ProcessOutput.js +71 -0
- package/Json/Process/ProcessParameterValue.js +69 -0
- package/Json/Process/ProcessSequence.js +53 -0
- package/Json/Process/PropertyValue.js +82 -0
- package/Json/Process/Protocol.js +147 -0
- package/Json/Process/ProtocolParameter.js +45 -0
- package/Json/Process/Sample.js +134 -0
- package/Json/Process/Source.js +101 -0
- package/Json/Process/StudyMaterials.js +24 -0
- package/Json/Process/Value.js +42 -0
- package/Json/Publication.js +142 -0
- package/Json/StringTable.js +44 -0
- package/Json/Study.js +306 -0
- package/{ISA/ISA.Json/ArcTypes → Json/Table}/ArcTable.js +53 -49
- package/Json/Table/CellTable.js +40 -0
- package/Json/Table/CompositeCell.js +65 -0
- package/{ISA/ISA.Json/ArcTypes → Json/Table}/CompositeHeader.js +22 -19
- package/Json/Table/Compression.js +38 -0
- package/Json/Table/IOType.js +37 -0
- package/Json/Table/OATable.js +40 -0
- package/Json/Table/Templates.js +107 -0
- package/Json/context/rocrate/isa_assay_context.js +32 -0
- package/Json/context/rocrate/isa_comment_context.js +23 -0
- package/Json/context/rocrate/isa_component_context.js +24 -0
- package/Json/context/rocrate/isa_data_context.js +25 -0
- package/Json/context/rocrate/isa_factor_context.js +25 -0
- package/Json/context/rocrate/isa_factor_value_context.js +23 -0
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_investigation_context.js +5 -5
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_material_attribute_context.js +4 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +23 -0
- package/Json/context/rocrate/isa_material_context.js +26 -0
- package/Json/context/rocrate/isa_ontology_annotation_context.js +23 -0
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/Json/context/rocrate/isa_organization_context.js +22 -0
- package/Json/context/rocrate/isa_person_context.js +33 -0
- package/Json/context/rocrate/isa_process_context.js +29 -0
- package/Json/context/rocrate/isa_process_parameter_value_context.js +23 -0
- package/Json/context/rocrate/isa_protocol_context.js +28 -0
- package/{ISA/ISA.Json → Json}/context/rocrate/isa_protocol_parameter_context.js +4 -4
- package/Json/context/rocrate/isa_publication_context.js +25 -0
- package/Json/context/rocrate/isa_sample_context.js +24 -0
- package/Json/context/rocrate/isa_source_context.js +25 -0
- package/Json/context/rocrate/isa_study_context.js +40 -0
- package/Json/context/rocrate/property_value_context.js +4 -0
- package/Json/context/rocrate/rocrate_context.js +23 -0
- package/Json.js +193 -0
- package/README.md +33 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/ArcTable.js +12 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeCell.js +8 -7
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeColumn.js +10 -10
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/AnnotationTable/CompositeHeader.js +10 -10
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcAssay.js +11 -11
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcInvestigation.js +34 -37
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/ArcStudy.js +12 -12
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/CollectionAux.js +7 -7
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Assays.js +32 -32
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Comment.js +5 -5
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Contacts.js +28 -30
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Conversions.js +22 -16
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/DesignDescriptors.js +1 -1
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Factors.js +23 -22
- package/Spreadsheet/Metadata/OntologyAnnotation.js +64 -0
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/OntologySourceReference.js +22 -24
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Protocols.js +17 -17
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Publication.js +29 -31
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/SparseTable.js +23 -22
- package/{ISA/ISA.Spreadsheet → Spreadsheet}/Metadata/Study.js +38 -40
- package/{Templates/Template.Spreadsheet.js → Spreadsheet/Template.js} +31 -31
- package/Template.Web.js +27 -0
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +85 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +7 -7
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +3 -3
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCell.fs.js +14 -14
- package/fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/DSL.fs.js +2 -2
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Transform.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/Types.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsAddress.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/FsColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsRow.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js +6 -6
- package/fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js +9 -9
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeAddress.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/FsSpreadsheet.5.1.3/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.5.1.3/SheetBuilder.fs.js +8 -8
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTable.fs.js +7 -7
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/FsSpreadsheet.5.1.3/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +19 -19
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +5 -5
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +2 -2
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +1 -1
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +2 -2
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.js +2 -2
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/CHANGELOG.md +18 -0
- package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.d.ts +9 -0
- package/fable_modules/fable-library-js.4.16.0/ConditionalWeakTable.js +21 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.js +337 -40
- package/fable_modules/fable-library-js.4.16.0/MapUtil.d.ts +12 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MapUtil.js +15 -0
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.d.ts +6 -3
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Util.js +2 -13
- package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/index.js +14 -12
- package/package.json +1 -1
- package/Contracts/Contracts.ArcTypes.js +0 -268
- package/FileSystemTree.js +0 -51
- package/ISA/ISA/ArcTypes/ArcTableAux.js +0 -1155
- package/ISA/ISA/ArcTypes/CompositeRow.js +0 -111
- package/ISA/ISA/Builder/Types.js +0 -243
- package/ISA/ISA/Fable.js +0 -123
- package/ISA/ISA/Helper.js +0 -505
- package/ISA/ISA/JsonTypes/Assay.js +0 -620
- package/ISA/ISA/JsonTypes/AssayMaterials.js +0 -39
- package/ISA/ISA/JsonTypes/ColumnIndex.js +0 -246
- package/ISA/ISA/JsonTypes/Comment.js +0 -58
- package/ISA/ISA/JsonTypes/Component.js +0 -165
- package/ISA/ISA/JsonTypes/Factor.js +0 -128
- package/ISA/ISA/JsonTypes/Investigation.js +0 -204
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +0 -196
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +0 -85
- package/ISA/ISA/JsonTypes/Person.js +0 -152
- package/ISA/ISA/JsonTypes/Publication.js +0 -105
- package/ISA/ISA/JsonTypes/Study.js +0 -942
- package/ISA/ISA/JsonTypes/StudyMaterials.js +0 -45
- package/ISA/ISA/UIHelper.js +0 -19
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +0 -303
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +0 -122
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +0 -203
- package/ISA/ISA.Json/ArcTypes/CellTable.js +0 -40
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +0 -62
- package/ISA/ISA.Json/ArcTypes/IOType.js +0 -33
- package/ISA/ISA.Json/ArcTypes/OATable.js +0 -42
- package/ISA/ISA.Json/Assay.js +0 -129
- package/ISA/ISA.Json/Comment.js +0 -80
- package/ISA/ISA.Json/ConverterOptions.js +0 -51
- package/ISA/ISA.Json/Data.js +0 -253
- package/ISA/ISA.Json/Decode.js +0 -61
- package/ISA/ISA.Json/Factor.js +0 -194
- package/ISA/ISA.Json/GEncode.js +0 -40
- package/ISA/ISA.Json/Investigation.js +0 -89
- package/ISA/ISA.Json/Material.js +0 -232
- package/ISA/ISA.Json/Ontology.js +0 -200
- package/ISA/ISA.Json/Person.js +0 -186
- package/ISA/ISA.Json/Process.js +0 -305
- package/ISA/ISA.Json/Protocol.js +0 -281
- package/ISA/ISA.Json/Publication.js +0 -86
- package/ISA/ISA.Json/StringTable.js +0 -44
- package/ISA/ISA.Json/Study.js +0 -186
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +0 -34
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +0 -23
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +0 -24
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +0 -22
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +0 -31
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +0 -31
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +0 -30
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +0 -27
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +0 -26
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +0 -25
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +0 -42
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +0 -25
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +0 -65
- package/Path.js +0 -10
- package/Templates/Template.Json.js +0 -90
- package/Templates/Template.Web.js +0 -27
- package/Templates/Templates.js +0 -82
- package/fable_modules/fable-library-js.4.13.0/MapUtil.d.ts +0 -10
- /package/{ISA/ISA/JsonTypes → Core}/URI.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Array.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Async.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Choice.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/List.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Map.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Random.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Range.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Result.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Set.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/String.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/System.Text.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.13.0 → fable-library-js.4.16.0}/lib/big.js +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Union, toString } from "
|
|
2
|
-
import { printf, toText } from "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { union_type } from "
|
|
7
|
-
import { unwrap, map, defaultArg } from "
|
|
8
|
-
import { empty, choose } from "
|
|
1
|
+
import { Union, toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
3
|
+
import { Sample_create_62424AD2, Sample_getUnits_53716792, Sample_setFactorValues, Sample_get_empty, Sample_$reflection } from "./Sample.js";
|
|
4
|
+
import { Data_create_Z2AF98BBE, Data_$reflection } from "./Data.js";
|
|
5
|
+
import { Material_create_Z66909A6D, Material_getUnits_ZBCDEB61, Material_$reflection } from "./Material.js";
|
|
6
|
+
import { union_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
7
|
+
import { unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
8
|
+
import { empty, choose } from "../../fable_modules/fable-library-js.4.16.0/List.js";
|
|
9
9
|
import { DataFile } from "./DataFile.js";
|
|
10
10
|
|
|
11
11
|
export class ProcessOutput extends Union {
|
|
@@ -41,7 +41,7 @@ export class ProcessOutput extends Union {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export function ProcessOutput_$reflection() {
|
|
44
|
-
return union_type("ARCtrl.
|
|
44
|
+
return union_type("ARCtrl.Process.ProcessOutput", [], ProcessOutput, () => [[["Item", Sample_$reflection()]], [["Item", Data_$reflection()]], [["Item", Material_$reflection()]]]);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export function ProcessOutput__get_TryName(this$) {
|
|
@@ -66,14 +66,14 @@ export function ProcessOutput_get_Default() {
|
|
|
66
66
|
/**
|
|
67
67
|
* Returns name of processOutput
|
|
68
68
|
*/
|
|
69
|
-
export function
|
|
69
|
+
export function ProcessOutput_tryGetName_Z42C11600(po) {
|
|
70
70
|
return ProcessOutput__get_TryName(po);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Returns name of processInput
|
|
75
75
|
*/
|
|
76
|
-
export function
|
|
76
|
+
export function ProcessOutput_getName_Z42C11600(po) {
|
|
77
77
|
return ProcessOutput__get_Name(po);
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -87,7 +87,7 @@ export function ProcessOutput_nameEquals(name, po) {
|
|
|
87
87
|
/**
|
|
88
88
|
* Returns true, if Process Output is Sample
|
|
89
89
|
*/
|
|
90
|
-
export function
|
|
90
|
+
export function ProcessOutput_isSample_Z42C11600(po) {
|
|
91
91
|
if (po.tag === 0) {
|
|
92
92
|
return true;
|
|
93
93
|
}
|
|
@@ -99,7 +99,7 @@ export function ProcessOutput_isSample_11830B70(po) {
|
|
|
99
99
|
/**
|
|
100
100
|
* Returns true, if Process Output is Data
|
|
101
101
|
*/
|
|
102
|
-
export function
|
|
102
|
+
export function ProcessOutput_isData_Z42C11600(po) {
|
|
103
103
|
if (po.tag === 1) {
|
|
104
104
|
return true;
|
|
105
105
|
}
|
|
@@ -111,7 +111,7 @@ export function ProcessOutput_isData_11830B70(po) {
|
|
|
111
111
|
/**
|
|
112
112
|
* Returns true, if Process Output is Material
|
|
113
113
|
*/
|
|
114
|
-
export function
|
|
114
|
+
export function ProcessOutput_isMaterial_Z42C11600(po) {
|
|
115
115
|
if (po.tag === 2) {
|
|
116
116
|
return true;
|
|
117
117
|
}
|
|
@@ -124,27 +124,27 @@ export function ProcessOutput_isMaterial_11830B70(po) {
|
|
|
124
124
|
* Returns true, if Process Output is Sample
|
|
125
125
|
*/
|
|
126
126
|
export function ProcessOutput__isSample(this$) {
|
|
127
|
-
return
|
|
127
|
+
return ProcessOutput_isSample_Z42C11600(this$);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
131
|
* Returns true, if Process Output is Data
|
|
132
132
|
*/
|
|
133
133
|
export function ProcessOutput__isData(this$) {
|
|
134
|
-
return
|
|
134
|
+
return ProcessOutput_isData_Z42C11600(this$);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Returns true, if Process Output is Material
|
|
139
139
|
*/
|
|
140
140
|
export function ProcessOutput__isMaterial(this$) {
|
|
141
|
-
return
|
|
141
|
+
return ProcessOutput_isMaterial_Z42C11600(this$);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* If given process output is a sample, returns it, else returns None
|
|
146
146
|
*/
|
|
147
|
-
export function
|
|
147
|
+
export function ProcessOutput_trySample_Z42C11600(po) {
|
|
148
148
|
if (po.tag === 0) {
|
|
149
149
|
return po.fields[0];
|
|
150
150
|
}
|
|
@@ -156,7 +156,7 @@ export function ProcessOutput_trySample_11830B70(po) {
|
|
|
156
156
|
/**
|
|
157
157
|
* If given process output is a data, returns it, else returns None
|
|
158
158
|
*/
|
|
159
|
-
export function
|
|
159
|
+
export function ProcessOutput_tryData_Z42C11600(po) {
|
|
160
160
|
if (po.tag === 1) {
|
|
161
161
|
return po.fields[0];
|
|
162
162
|
}
|
|
@@ -168,7 +168,7 @@ export function ProcessOutput_tryData_11830B70(po) {
|
|
|
168
168
|
/**
|
|
169
169
|
* If given process output is a material, returns it, else returns None
|
|
170
170
|
*/
|
|
171
|
-
export function
|
|
171
|
+
export function ProcessOutput_tryMaterial_Z42C11600(po) {
|
|
172
172
|
if (po.tag === 2) {
|
|
173
173
|
return po.fields[0];
|
|
174
174
|
}
|
|
@@ -180,7 +180,7 @@ export function ProcessOutput_tryMaterial_11830B70(po) {
|
|
|
180
180
|
/**
|
|
181
181
|
* If given process output contains characteristics, returns them
|
|
182
182
|
*/
|
|
183
|
-
export function
|
|
183
|
+
export function ProcessOutput_tryGetCharacteristicValues_Z42C11600(po) {
|
|
184
184
|
switch (po.tag) {
|
|
185
185
|
case 2:
|
|
186
186
|
return po.fields[0].Characteristics;
|
|
@@ -194,14 +194,14 @@ export function ProcessOutput_tryGetCharacteristicValues_11830B70(po) {
|
|
|
194
194
|
/**
|
|
195
195
|
* If given process output contains characteristics, returns them
|
|
196
196
|
*/
|
|
197
|
-
export function
|
|
198
|
-
return map((list) => choose((c) => c.Category, list),
|
|
197
|
+
export function ProcessOutput_tryGetCharacteristics_Z42C11600(po) {
|
|
198
|
+
return map((list) => choose((c) => c.Category, list), ProcessOutput_tryGetCharacteristicValues_Z42C11600(po));
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* If given process output contains factors, returns them
|
|
203
203
|
*/
|
|
204
|
-
export function
|
|
204
|
+
export function ProcessOutput_tryGetFactorValues_Z42C11600(po) {
|
|
205
205
|
switch (po.tag) {
|
|
206
206
|
case 2:
|
|
207
207
|
return void 0;
|
|
@@ -223,41 +223,41 @@ export function ProcessOutput_setFactorValues(values, po) {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
export function
|
|
227
|
-
return defaultArg(
|
|
226
|
+
export function ProcessOutput_getFactorValues_Z42C11600(po) {
|
|
227
|
+
return defaultArg(ProcessOutput_tryGetFactorValues_Z42C11600(po), empty());
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* If given process output contains units, returns them
|
|
232
232
|
*/
|
|
233
|
-
export function
|
|
233
|
+
export function ProcessOutput_getUnits_Z42C11600(po) {
|
|
234
234
|
switch (po.tag) {
|
|
235
235
|
case 2:
|
|
236
|
-
return
|
|
236
|
+
return Material_getUnits_ZBCDEB61(po.fields[0]);
|
|
237
237
|
case 1:
|
|
238
238
|
return empty();
|
|
239
239
|
default:
|
|
240
|
-
return
|
|
240
|
+
return Sample_getUnits_53716792(po.fields[0]);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
export function
|
|
245
|
-
return new ProcessOutput(0, [
|
|
244
|
+
export function ProcessOutput_createSample_Z598187B7(name, characteristics, factors, derivesFrom) {
|
|
245
|
+
return new ProcessOutput(0, [Sample_create_62424AD2(void 0, name, unwrap(characteristics), unwrap(factors), unwrap(derivesFrom))]);
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
export function
|
|
249
|
-
return new ProcessOutput(2, [
|
|
248
|
+
export function ProcessOutput_createMaterial_4452CB4C(name, characteristics, derivesFrom) {
|
|
249
|
+
return new ProcessOutput(2, [Material_create_Z66909A6D(void 0, name, void 0, unwrap(characteristics), unwrap(derivesFrom))]);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
export function ProcessOutput_createImageFile_Z721C83C5(name) {
|
|
253
|
-
return new ProcessOutput(1, [
|
|
253
|
+
return new ProcessOutput(1, [Data_create_Z2AF98BBE(void 0, name, new DataFile(2, []))]);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export function ProcessOutput_createRawData_Z721C83C5(name) {
|
|
257
|
-
return new ProcessOutput(1, [
|
|
257
|
+
return new ProcessOutput(1, [Data_create_Z2AF98BBE(void 0, name, new DataFile(0, []))]);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
export function ProcessOutput_createDerivedData_Z721C83C5(name) {
|
|
261
|
-
return new ProcessOutput(1, [
|
|
261
|
+
return new ProcessOutput(1, [Data_create_Z2AF98BBE(void 0, name, new DataFile(1, []))]);
|
|
262
262
|
}
|
|
263
263
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { bind, unwrap, map, defaultArg } from "
|
|
2
|
-
import { int32ToString } from "
|
|
3
|
-
import { printf, toText } from "
|
|
1
|
+
import { bind, unwrap, map, defaultArg } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
2
|
+
import { int32ToString } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
3
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.16.0/String.js";
|
|
4
4
|
import { ProtocolParameter_$reflection, ProtocolParameter } from "./ProtocolParameter.js";
|
|
5
|
-
import { Record, toString } from "
|
|
6
|
-
import { record_type, option_type } from "
|
|
5
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
6
|
+
import { record_type, option_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
7
7
|
import { Value_$reflection } from "./Value.js";
|
|
8
|
-
import { OntologyAnnotation_$reflection } from "
|
|
8
|
+
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
9
9
|
|
|
10
10
|
export class ProcessParameterValue extends Record {
|
|
11
11
|
constructor(Category, Value, Unit) {
|
|
@@ -79,6 +79,10 @@ export class ProcessParameterValue extends Record {
|
|
|
79
79
|
static getCategory(pv) {
|
|
80
80
|
return pv.Category;
|
|
81
81
|
}
|
|
82
|
+
static createAsPV(category, value, unit) {
|
|
83
|
+
const category_1 = map((c) => ProtocolParameter.create(void 0, c), category);
|
|
84
|
+
return ProcessParameterValue.create(unwrap(category_1), unwrap(value), unwrap(unit));
|
|
85
|
+
}
|
|
82
86
|
Print() {
|
|
83
87
|
const this$ = this;
|
|
84
88
|
return toString(this$);
|
|
@@ -99,9 +103,24 @@ export class ProcessParameterValue extends Record {
|
|
|
99
103
|
}, this$.Value);
|
|
100
104
|
return (category == null) ? ((value == null) ? "" : ((value_2 = value, value_2))) : ((value == null) ? ((category_2 = category, (category_2 + ":") + "No Value")) : ((category_1 = category, (value_1 = value, (category_1 + ":") + value_1))));
|
|
101
105
|
}
|
|
106
|
+
GetCategory() {
|
|
107
|
+
const this$ = this;
|
|
108
|
+
return bind((p) => p.ParameterName, this$.Category);
|
|
109
|
+
}
|
|
110
|
+
GetAdditionalType() {
|
|
111
|
+
return "ProcessParameterValue";
|
|
112
|
+
}
|
|
113
|
+
GetValue() {
|
|
114
|
+
const this$ = this;
|
|
115
|
+
return this$.Value;
|
|
116
|
+
}
|
|
117
|
+
GetUnit() {
|
|
118
|
+
const this$ = this;
|
|
119
|
+
return this$.Unit;
|
|
120
|
+
}
|
|
102
121
|
}
|
|
103
122
|
|
|
104
123
|
export function ProcessParameterValue_$reflection() {
|
|
105
|
-
return record_type("ARCtrl.
|
|
124
|
+
return record_type("ARCtrl.Process.ProcessParameterValue", [], ProcessParameterValue, () => [["Category", option_type(ProtocolParameter_$reflection())], ["Value", option_type(Value_$reflection())], ["Unit", option_type(OntologyAnnotation_$reflection())]]);
|
|
106
125
|
}
|
|
107
126
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { List_groupBy, List_distinct } from "
|
|
2
|
-
import { singleton, zip, map, empty, collect, concat, filter, choose } from "
|
|
3
|
-
import { value as value_4, defaultArg, bind } from "
|
|
4
|
-
import { arrayHash, equalArrays, comparePrimitives, safeHash, equals, stringHash } from "
|
|
5
|
-
import {
|
|
6
|
-
import { FSharpSet__Contains, ofList } from "
|
|
7
|
-
import { ProcessOutput__get_Name,
|
|
8
|
-
import { ProcessInput__get_Name,
|
|
9
|
-
import { FSharpMap__TryFind, ofList as ofList_1 } from "
|
|
1
|
+
import { List_groupBy, List_distinct } from "../../fable_modules/fable-library-js.4.16.0/Seq2.js";
|
|
2
|
+
import { singleton, zip, map, empty, collect, concat, filter, choose } from "../../fable_modules/fable-library-js.4.16.0/List.js";
|
|
3
|
+
import { value as value_4, defaultArg, bind } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
4
|
+
import { arrayHash, equalArrays, comparePrimitives, safeHash, equals, stringHash } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
5
|
+
import { Process_getMaterials_763471FF, Process_getSamples_763471FF, Process_getSources_763471FF, Process_getData_763471FF, Process_getUnits_763471FF, Process_getFactors_763471FF, Process_tryGetOutputsWithFactorBy, Process_tryGetOutputsWithCharacteristicBy, Process_tryGetInputsWithCharacteristicBy, Process_getCharacteristics_763471FF, Process_getParameters_763471FF, Process_tryGetOutputsWithParameterBy, Process_tryGetInputsWithParameterBy } from "./Process.js";
|
|
6
|
+
import { FSharpSet__Contains, ofList } from "../../fable_modules/fable-library-js.4.16.0/Set.js";
|
|
7
|
+
import { ProcessOutput__get_Name, ProcessOutput_getName_Z42C11600 } from "./ProcessOutput.js";
|
|
8
|
+
import { ProcessInput__get_Name, ProcessInput_getName_5B3D5BA9 } from "./ProcessInput.js";
|
|
9
|
+
import { FSharpMap__TryFind, ofList as ofList_1 } from "../../fable_modules/fable-library-js.4.16.0/Map.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns the names of the protocols the given processes impelement
|
|
@@ -81,7 +81,7 @@ export function getOutputsWithParameterBy(predicate, processSequence) {
|
|
|
81
81
|
* Returns the parameters implemented by the processes contained in these processes
|
|
82
82
|
*/
|
|
83
83
|
export function getParameters(processSequence) {
|
|
84
|
-
return List_distinct(collect(
|
|
84
|
+
return List_distinct(collect(Process_getParameters_763471FF, processSequence), {
|
|
85
85
|
Equals: equals,
|
|
86
86
|
GetHashCode: safeHash,
|
|
87
87
|
});
|
|
@@ -91,7 +91,7 @@ export function getParameters(processSequence) {
|
|
|
91
91
|
* Returns the characteristics describing the inputs and outputs of the processssequence
|
|
92
92
|
*/
|
|
93
93
|
export function getCharacteristics(processSequence) {
|
|
94
|
-
return List_distinct(collect(
|
|
94
|
+
return List_distinct(collect(Process_getCharacteristics_763471FF, processSequence), {
|
|
95
95
|
Equals: equals,
|
|
96
96
|
GetHashCode: safeHash,
|
|
97
97
|
});
|
|
@@ -122,7 +122,7 @@ export function getOutputsWithFactorBy(predicate, processSequence) {
|
|
|
122
122
|
* Returns the factors implemented by the processes contained in these processes
|
|
123
123
|
*/
|
|
124
124
|
export function getFactors(processSequence) {
|
|
125
|
-
return List_distinct(collect(
|
|
125
|
+
return List_distinct(collect(Process_getFactors_763471FF, processSequence), {
|
|
126
126
|
Equals: equals,
|
|
127
127
|
GetHashCode: safeHash,
|
|
128
128
|
});
|
|
@@ -133,20 +133,20 @@ export function getFactors(processSequence) {
|
|
|
133
133
|
*/
|
|
134
134
|
export function getRootInputs(processSequence) {
|
|
135
135
|
const inputs = collect((p) => defaultArg(p.Inputs, empty()), processSequence);
|
|
136
|
-
const outputs = ofList(collect((p_1) => map(
|
|
136
|
+
const outputs = ofList(collect((p_1) => map(ProcessOutput_getName_Z42C11600, defaultArg(p_1.Outputs, empty())), processSequence), {
|
|
137
137
|
Compare: comparePrimitives,
|
|
138
138
|
});
|
|
139
|
-
return filter((i) => !FSharpSet__Contains(outputs,
|
|
139
|
+
return filter((i) => !FSharpSet__Contains(outputs, ProcessInput_getName_5B3D5BA9(i)), inputs);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* Returns the final outputs of the processSequence, which point to no further nodes
|
|
144
144
|
*/
|
|
145
145
|
export function getFinalOutputs(processSequence) {
|
|
146
|
-
const inputs = ofList(collect((p) => map(
|
|
146
|
+
const inputs = ofList(collect((p) => map(ProcessInput_getName_5B3D5BA9, defaultArg(p.Inputs, empty())), processSequence), {
|
|
147
147
|
Compare: comparePrimitives,
|
|
148
148
|
});
|
|
149
|
-
return filter((o) => !FSharpSet__Contains(inputs,
|
|
149
|
+
return filter((o) => !FSharpSet__Contains(inputs, ProcessOutput_getName_Z42C11600(o)), collect((p_1) => defaultArg(p_1.Outputs, empty()), processSequence));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/**
|
|
@@ -212,7 +212,7 @@ export function getFinalOutputsOf(processSequence, sample) {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
export function getUnits(processSequence) {
|
|
215
|
-
return List_distinct(collect(
|
|
215
|
+
return List_distinct(collect(Process_getUnits_763471FF, processSequence), {
|
|
216
216
|
Equals: equals,
|
|
217
217
|
GetHashCode: safeHash,
|
|
218
218
|
});
|
|
@@ -222,34 +222,30 @@ export function getUnits(processSequence) {
|
|
|
222
222
|
* Returns the data the given processes contain
|
|
223
223
|
*/
|
|
224
224
|
export function getData(processSequence) {
|
|
225
|
-
return List_distinct(collect(
|
|
225
|
+
return List_distinct(collect(Process_getData_763471FF, processSequence), {
|
|
226
226
|
Equals: equals,
|
|
227
227
|
GetHashCode: safeHash,
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
export function getSources(processSequence) {
|
|
232
|
-
return List_distinct(collect(
|
|
232
|
+
return List_distinct(collect(Process_getSources_763471FF, processSequence), {
|
|
233
233
|
Equals: equals,
|
|
234
234
|
GetHashCode: safeHash,
|
|
235
235
|
});
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
export function getSamples(processSequence) {
|
|
239
|
-
return List_distinct(collect(
|
|
239
|
+
return List_distinct(collect(Process_getSamples_763471FF, processSequence), {
|
|
240
240
|
Equals: equals,
|
|
241
241
|
GetHashCode: safeHash,
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
export function getMaterials(processSequence) {
|
|
246
|
-
return List_distinct(collect(
|
|
246
|
+
return List_distinct(collect(Process_getMaterials_763471FF, processSequence), {
|
|
247
247
|
Equals: equals,
|
|
248
248
|
GetHashCode: safeHash,
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
export function updateProtocols(protocols, processSequence) {
|
|
253
|
-
return map((p) => Process_updateProtocol(protocols, p), processSequence);
|
|
254
|
-
}
|
|
255
|
-
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { Record } from "
|
|
2
|
-
import {
|
|
3
|
-
import { OntologyAnnotation_$reflection } from "
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
2
|
+
import { record_type, list_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
3
|
+
import { OntologyAnnotation_$reflection } from "../OntologyAnnotation.js";
|
|
4
4
|
import { ProtocolParameter_$reflection } from "./ProtocolParameter.js";
|
|
5
5
|
import { Component_$reflection } from "./Component.js";
|
|
6
|
-
import { Comment$_$reflection } from "
|
|
7
|
-
import { empty, filter,
|
|
8
|
-
import { equals } from "
|
|
9
|
-
import {
|
|
10
|
-
import { Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
|
|
11
|
-
import { defaultArg, map as map_1 } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
6
|
+
import { Comment$_$reflection } from "../Comment.js";
|
|
7
|
+
import { empty, filter, singleton, append, exists, tryFind } from "../../fable_modules/fable-library-js.4.16.0/List.js";
|
|
8
|
+
import { equals } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
9
|
+
import { defaultArg, map } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
12
10
|
|
|
13
11
|
export class Protocol extends Record {
|
|
14
12
|
constructor(ID, Name, ProtocolType, Description, Uri, Version, Parameters, Components, Comments) {
|
|
@@ -26,19 +24,19 @@ export class Protocol extends Record {
|
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
export function Protocol_$reflection() {
|
|
29
|
-
return record_type("ARCtrl.
|
|
27
|
+
return record_type("ARCtrl.Process.Protocol", [], Protocol, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["ProtocolType", option_type(OntologyAnnotation_$reflection())], ["Description", option_type(string_type)], ["Uri", option_type(string_type)], ["Version", option_type(string_type)], ["Parameters", option_type(list_type(ProtocolParameter_$reflection()))], ["Components", option_type(list_type(Component_$reflection()))], ["Comments", option_type(list_type(Comment$_$reflection()))]]);
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
export function Protocol_make(id, name, protocolType, description, uri, version, parameters, components, comments) {
|
|
33
31
|
return new Protocol(id, name, protocolType, description, uri, version, parameters, components, comments);
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
export function
|
|
34
|
+
export function Protocol_create_Z414665E7(Id, Name, ProtocolType, Description, Uri, Version, Parameters, Components, Comments) {
|
|
37
35
|
return Protocol_make(Id, Name, ProtocolType, Description, Uri, Version, Parameters, Components, Comments);
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
export function Protocol_get_empty() {
|
|
41
|
-
return
|
|
39
|
+
return Protocol_create_Z414665E7();
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
/**
|
|
@@ -62,35 +60,6 @@ export function Protocol_add(protocols, protocol) {
|
|
|
62
60
|
return append(protocols, singleton(protocol));
|
|
63
61
|
}
|
|
64
62
|
|
|
65
|
-
/**
|
|
66
|
-
* Updates all protocols for which the predicate returns true with the given protocol values
|
|
67
|
-
*/
|
|
68
|
-
export function Protocol_updateBy(predicate, updateOption, protocol, protocols) {
|
|
69
|
-
if (exists(predicate, protocols)) {
|
|
70
|
-
return map((p) => {
|
|
71
|
-
if (predicate(p)) {
|
|
72
|
-
const this$ = updateOption;
|
|
73
|
-
const recordType_1 = p;
|
|
74
|
-
const recordType_2 = protocol;
|
|
75
|
-
return (this$.tag === 2) ? makeRecord(Protocol_$reflection(), map2(Update_updateAppend, getRecordFields(recordType_1), getRecordFields(recordType_2))) : ((this$.tag === 1) ? makeRecord(Protocol_$reflection(), map2(Update_updateOnlyByExisting, getRecordFields(recordType_1), getRecordFields(recordType_2))) : ((this$.tag === 3) ? makeRecord(Protocol_$reflection(), map2(Update_updateOnlyByExistingAppend, getRecordFields(recordType_1), getRecordFields(recordType_2))) : recordType_2));
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return p;
|
|
79
|
-
}
|
|
80
|
-
}, protocols);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
return protocols;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Updates all protocols with the same name as the given protocol with its values
|
|
89
|
-
*/
|
|
90
|
-
export function Protocol_updateByName(updateOption, protocol, protocols) {
|
|
91
|
-
return Protocol_updateBy((p) => equals(p.Name, protocol.Name), updateOption, protocol, protocols);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
63
|
/**
|
|
95
64
|
* If a protocol with the given name exists in the list, removes it
|
|
96
65
|
*/
|
|
@@ -101,7 +70,7 @@ export function Protocol_removeByName(name, protocols) {
|
|
|
101
70
|
/**
|
|
102
71
|
* Returns comments of a protocol
|
|
103
72
|
*/
|
|
104
|
-
export function
|
|
73
|
+
export function Protocol_getComments_3BF20962(protocol) {
|
|
105
74
|
return protocol.Comments;
|
|
106
75
|
}
|
|
107
76
|
|
|
@@ -109,7 +78,7 @@ export function Protocol_getComments_Z5F51792E(protocol) {
|
|
|
109
78
|
* Applies function f on comments of a protocol
|
|
110
79
|
*/
|
|
111
80
|
export function Protocol_mapComments(f, protocol) {
|
|
112
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters, protocol.Components,
|
|
81
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters, protocol.Components, map(f, protocol.Comments));
|
|
113
82
|
}
|
|
114
83
|
|
|
115
84
|
/**
|
|
@@ -122,7 +91,7 @@ export function Protocol_setComments(protocol, comments) {
|
|
|
122
91
|
/**
|
|
123
92
|
* Returns protocol type of a protocol
|
|
124
93
|
*/
|
|
125
|
-
export function
|
|
94
|
+
export function Protocol_getProtocolType_3BF20962(protocol) {
|
|
126
95
|
return protocol.ProtocolType;
|
|
127
96
|
}
|
|
128
97
|
|
|
@@ -130,7 +99,7 @@ export function Protocol_getProtocolType_Z5F51792E(protocol) {
|
|
|
130
99
|
* Applies function f on protocol type of a protocol
|
|
131
100
|
*/
|
|
132
101
|
export function Protocol_mapProtocolType(f, protocol) {
|
|
133
|
-
return new Protocol(protocol.ID, protocol.Name,
|
|
102
|
+
return new Protocol(protocol.ID, protocol.Name, map(f, protocol.ProtocolType), protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters, protocol.Components, protocol.Comments);
|
|
134
103
|
}
|
|
135
104
|
|
|
136
105
|
/**
|
|
@@ -143,7 +112,7 @@ export function Protocol_setProtocolType(protocol, protocolType) {
|
|
|
143
112
|
/**
|
|
144
113
|
* Returns protocol version of a protocol
|
|
145
114
|
*/
|
|
146
|
-
export function
|
|
115
|
+
export function Protocol_getVersion_3BF20962(protocol) {
|
|
147
116
|
return protocol.Version;
|
|
148
117
|
}
|
|
149
118
|
|
|
@@ -151,7 +120,7 @@ export function Protocol_getVersion_Z5F51792E(protocol) {
|
|
|
151
120
|
* Applies function f on protocol version of a protocol
|
|
152
121
|
*/
|
|
153
122
|
export function Protocol_mapVersion(f, protocol) {
|
|
154
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri,
|
|
123
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, map(f, protocol.Version), protocol.Parameters, protocol.Components, protocol.Comments);
|
|
155
124
|
}
|
|
156
125
|
|
|
157
126
|
/**
|
|
@@ -165,7 +134,7 @@ export function Protocol_setVersion(protocol, version) {
|
|
|
165
134
|
* Protocol Name
|
|
166
135
|
* Returns protocol name of a protocol
|
|
167
136
|
*/
|
|
168
|
-
export function
|
|
137
|
+
export function Protocol_getName_3BF20962(protocol) {
|
|
169
138
|
return protocol.Name;
|
|
170
139
|
}
|
|
171
140
|
|
|
@@ -173,7 +142,7 @@ export function Protocol_getName_Z5F51792E(protocol) {
|
|
|
173
142
|
* Applies function f on protocol name of a protocol
|
|
174
143
|
*/
|
|
175
144
|
export function Protocol_mapName(f, protocol) {
|
|
176
|
-
return new Protocol(protocol.ID,
|
|
145
|
+
return new Protocol(protocol.ID, map(f, protocol.Name), protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters, protocol.Components, protocol.Comments);
|
|
177
146
|
}
|
|
178
147
|
|
|
179
148
|
/**
|
|
@@ -186,7 +155,7 @@ export function Protocol_setName(protocol, name) {
|
|
|
186
155
|
/**
|
|
187
156
|
* Returns protocol description of a protocol
|
|
188
157
|
*/
|
|
189
|
-
export function
|
|
158
|
+
export function Protocol_getDescription_3BF20962(protocol) {
|
|
190
159
|
return protocol.Description;
|
|
191
160
|
}
|
|
192
161
|
|
|
@@ -194,7 +163,7 @@ export function Protocol_getDescription_Z5F51792E(protocol) {
|
|
|
194
163
|
* Applies function f on protocol description of a protocol
|
|
195
164
|
*/
|
|
196
165
|
export function Protocol_mapDescription(f, protocol) {
|
|
197
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType,
|
|
166
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, map(f, protocol.Description), protocol.Uri, protocol.Version, protocol.Parameters, protocol.Components, protocol.Comments);
|
|
198
167
|
}
|
|
199
168
|
|
|
200
169
|
/**
|
|
@@ -207,7 +176,7 @@ export function Protocol_setDescription(protocol, description) {
|
|
|
207
176
|
/**
|
|
208
177
|
* Returns protocol URI of a protocol
|
|
209
178
|
*/
|
|
210
|
-
export function
|
|
179
|
+
export function Protocol_getUri_3BF20962(protocol) {
|
|
211
180
|
return protocol.Uri;
|
|
212
181
|
}
|
|
213
182
|
|
|
@@ -215,7 +184,7 @@ export function Protocol_getUri_Z5F51792E(protocol) {
|
|
|
215
184
|
* Applies function f on protocol URI of a protocol
|
|
216
185
|
*/
|
|
217
186
|
export function Protocol_mapUri(f, protocol) {
|
|
218
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description,
|
|
187
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, map(f, protocol.Uri), protocol.Version, protocol.Parameters, protocol.Components, protocol.Comments);
|
|
219
188
|
}
|
|
220
189
|
|
|
221
190
|
/**
|
|
@@ -228,7 +197,7 @@ export function Protocol_setUri(protocol, uri) {
|
|
|
228
197
|
/**
|
|
229
198
|
* Returns components of a protocol
|
|
230
199
|
*/
|
|
231
|
-
export function
|
|
200
|
+
export function Protocol_getComponents_3BF20962(protocol) {
|
|
232
201
|
return protocol.Components;
|
|
233
202
|
}
|
|
234
203
|
|
|
@@ -236,7 +205,7 @@ export function Protocol_getComponents_Z5F51792E(protocol) {
|
|
|
236
205
|
* Applies function f on components of a protocol
|
|
237
206
|
*/
|
|
238
207
|
export function Protocol_mapComponents(f, protocol) {
|
|
239
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters,
|
|
208
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, protocol.Parameters, map(f, protocol.Components), protocol.Comments);
|
|
240
209
|
}
|
|
241
210
|
|
|
242
211
|
/**
|
|
@@ -253,7 +222,7 @@ export function Protocol_addComponent(comp, protocol) {
|
|
|
253
222
|
/**
|
|
254
223
|
* Returns protocol parameters of a protocol
|
|
255
224
|
*/
|
|
256
|
-
export function
|
|
225
|
+
export function Protocol_getParameters_3BF20962(protocol) {
|
|
257
226
|
return protocol.Parameters;
|
|
258
227
|
}
|
|
259
228
|
|
|
@@ -261,7 +230,7 @@ export function Protocol_getParameters_Z5F51792E(protocol) {
|
|
|
261
230
|
* Applies function f on protocol parameters of a protocol
|
|
262
231
|
*/
|
|
263
232
|
export function Protocol_mapParameters(f, protocol) {
|
|
264
|
-
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version,
|
|
233
|
+
return new Protocol(protocol.ID, protocol.Name, protocol.ProtocolType, protocol.Description, protocol.Uri, protocol.Version, map(f, protocol.Parameters), protocol.Components, protocol.Comments);
|
|
265
234
|
}
|
|
266
235
|
|
|
267
236
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "
|
|
2
|
-
import { bind, map, defaultArg, unwrap } from "
|
|
3
|
-
import { Option_fromValueWithDefault } from "../Helper.js";
|
|
4
|
-
import { Record, toString } from "
|
|
5
|
-
import { record_type, option_type, string_type } from "
|
|
1
|
+
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../OntologyAnnotation.js";
|
|
2
|
+
import { bind, map, defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
3
|
+
import { Option_fromValueWithDefault } from "../Helper/Collections.js";
|
|
4
|
+
import { Record, toString } from "../../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
5
|
+
import { record_type, option_type, string_type } from "../../fable_modules/fable-library-js.4.16.0/Reflection.js";
|
|
6
6
|
|
|
7
7
|
export class ProtocolParameter extends Record {
|
|
8
8
|
constructor(ID, ParameterName) {
|
|
@@ -20,17 +20,17 @@ export class ProtocolParameter extends Record {
|
|
|
20
20
|
return ProtocolParameter.create();
|
|
21
21
|
}
|
|
22
22
|
static fromString(term, source, accession, comments) {
|
|
23
|
-
const oa = OntologyAnnotation.
|
|
24
|
-
const parameterName = Option_fromValueWithDefault(OntologyAnnotation
|
|
23
|
+
const oa = OntologyAnnotation.create(term, source, accession, unwrap(comments));
|
|
24
|
+
const parameterName = Option_fromValueWithDefault(new OntologyAnnotation(), oa);
|
|
25
25
|
return ProtocolParameter.make(void 0, parameterName);
|
|
26
26
|
}
|
|
27
|
-
static
|
|
27
|
+
static toStringObject(pp) {
|
|
28
28
|
const value = {
|
|
29
29
|
TermAccessionNumber: "",
|
|
30
30
|
TermName: "",
|
|
31
31
|
TermSourceREF: "",
|
|
32
32
|
};
|
|
33
|
-
return defaultArg(map((oa) => OntologyAnnotation.
|
|
33
|
+
return defaultArg(map((oa) => OntologyAnnotation.toStringObject(oa), pp.ParameterName), value);
|
|
34
34
|
}
|
|
35
35
|
get NameText() {
|
|
36
36
|
const this$ = this;
|
|
@@ -68,6 +68,6 @@ export class ProtocolParameter extends Record {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
export function ProtocolParameter_$reflection() {
|
|
71
|
-
return record_type("ARCtrl.
|
|
71
|
+
return record_type("ARCtrl.Process.ProtocolParameter", [], ProtocolParameter, () => [["ID", option_type(string_type)], ["ParameterName", option_type(OntologyAnnotation_$reflection())]]);
|
|
72
72
|
}
|
|
73
73
|
|