@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,246 +0,0 @@
|
|
|
1
|
-
import { tryParse } from "../../../fable_modules/fable-library-js.4.13.0/Int32.js";
|
|
2
|
-
import { FSharpRef } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
3
|
-
import { int32ToString } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
4
|
-
import { Comment$ } from "./Comment.js";
|
|
5
|
-
import { value as value_1, bind } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
6
|
-
import { tryItem } from "./CommentList.js";
|
|
7
|
-
import { append } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
8
|
-
import { OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
9
|
-
import { Factor } from "./Factor.js";
|
|
10
|
-
import { MaterialAttribute_fromString_Z2304A83C } from "./MaterialAttribute.js";
|
|
11
|
-
import { ProtocolParameter } from "./ProtocolParameter.js";
|
|
12
|
-
import { Component_fromString_Z61E08C1 } from "./Component.js";
|
|
13
|
-
|
|
14
|
-
function tryInt(str) {
|
|
15
|
-
let matchValue;
|
|
16
|
-
let outArg = 0;
|
|
17
|
-
matchValue = [tryParse(str, 511, false, 32, new FSharpRef(() => outArg, (v) => {
|
|
18
|
-
outArg = (v | 0);
|
|
19
|
-
})), outArg];
|
|
20
|
-
if (matchValue[0]) {
|
|
21
|
-
return matchValue[1];
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
return void 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export const orderName = "ColumnIndex";
|
|
29
|
-
|
|
30
|
-
export function createOrderComment(index) {
|
|
31
|
-
const value = int32ToString(index);
|
|
32
|
-
return Comment$.fromString(orderName, value);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function tryGetIndex(comments) {
|
|
36
|
-
return bind(tryInt, tryItem(orderName, comments));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function setOntologyAnnotationIndex(i, oa) {
|
|
40
|
-
let matchValue, cs;
|
|
41
|
-
return new OntologyAnnotation(oa.ID, oa.Name, oa.TermSourceREF, oa.TermAccessionNumber, (matchValue = oa.Comments, (matchValue == null) ? [createOrderComment(i)] : ((cs = matchValue, append([createOrderComment(i)], cs)))));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function tryGetOntologyAnnotationIndex(oa) {
|
|
45
|
-
return bind(tryGetIndex, oa.Comments);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function tryGetParameterIndex(param) {
|
|
49
|
-
return bind((oa) => bind(tryGetIndex, oa.Comments), param.ParameterName);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function tryGetParameterColumnIndex(paramValue) {
|
|
53
|
-
return bind(tryGetParameterIndex, paramValue.Category);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function tryGetFactorIndex(factor) {
|
|
57
|
-
return bind((oa) => bind(tryGetIndex, oa.Comments), factor.FactorType);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function tryGetFactorColumnIndex(factorValue) {
|
|
61
|
-
return bind(tryGetFactorIndex, factorValue.Category);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function tryGetCharacteristicIndex(characteristic) {
|
|
65
|
-
return bind((oa) => bind(tryGetIndex, oa.Comments), characteristic.CharacteristicType);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function tryGetCharacteristicColumnIndex(characteristicValue) {
|
|
69
|
-
return bind(tryGetCharacteristicIndex, characteristicValue.Category);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function tryGetComponentIndex(comp) {
|
|
73
|
-
return bind((oa) => bind(tryGetIndex, oa.Comments), comp.ComponentType);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Create a ISAJson Factor from ISATab string entries
|
|
78
|
-
*/
|
|
79
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
|
|
80
|
-
return Factor.fromString(name, term, source, accession, [createOrderComment(valueIndex)]);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_getColumnIndex_Static_Z4C0FE73C(f) {
|
|
84
|
-
return value_1(tryGetOntologyAnnotationIndex(f));
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_GetColumnIndex(this$) {
|
|
88
|
-
return value_1(tryGetOntologyAnnotationIndex(this$));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_tryGetColumnIndex_Static_Z4C0FE73C(f) {
|
|
92
|
-
return tryGetOntologyAnnotationIndex(f);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_TryGetColumnIndex(this$) {
|
|
96
|
-
return tryGetOntologyAnnotationIndex(this$);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_setColumnIndex_Static(i, oa) {
|
|
100
|
-
return setOntologyAnnotationIndex(i, oa);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4(this$, i) {
|
|
104
|
-
return setOntologyAnnotationIndex(i, this$);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Create a ISAJson Factor from ISATab string entries
|
|
109
|
-
*/
|
|
110
|
-
export function ARCtrl_ISA_Factor__Factor_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
|
|
111
|
-
return Factor.fromString(name, term, source, accession, [createOrderComment(valueIndex)]);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export function ARCtrl_ISA_Factor__Factor_getColumnIndex_Static_Z55333BD7(f) {
|
|
115
|
-
return value_1(tryGetFactorIndex(f));
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export function ARCtrl_ISA_Factor__Factor_GetColumnIndex(this$) {
|
|
119
|
-
return value_1(tryGetFactorIndex(this$));
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function ARCtrl_ISA_Factor__Factor_tryGetColumnIndex_Static_Z55333BD7(f) {
|
|
123
|
-
return tryGetFactorIndex(f);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export function ARCtrl_ISA_Factor__Factor_TryGetColumnIndex(this$) {
|
|
127
|
-
return tryGetFactorIndex(this$);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export function ARCtrl_ISA_FactorValue__FactorValue_getColumnIndex_Static_Z2623397E(f) {
|
|
131
|
-
return value_1(tryGetFactorColumnIndex(f));
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export function ARCtrl_ISA_FactorValue__FactorValue_GetColumnIndex(this$) {
|
|
135
|
-
return value_1(tryGetFactorColumnIndex(this$));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export function ARCtrl_ISA_FactorValue__FactorValue_tryGetColumnIndex_Static_Z2623397E(f) {
|
|
139
|
-
return tryGetFactorColumnIndex(f);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function ARCtrl_ISA_FactorValue__FactorValue_TryGetColumnIndex(this$) {
|
|
143
|
-
return tryGetFactorColumnIndex(this$);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Create a ISAJson characteristic from ISATab string entries
|
|
148
|
-
*/
|
|
149
|
-
export function ARCtrl_ISA_MaterialAttribute__MaterialAttribute_fromStringWithColumnIndex_Static(term, source, accession, valueIndex) {
|
|
150
|
-
return MaterialAttribute_fromString_Z2304A83C(term, source, accession, [createOrderComment(valueIndex)]);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export function ARCtrl_ISA_MaterialAttribute__MaterialAttribute_getColumnIndex_Static_Z5F39696D(m) {
|
|
154
|
-
return value_1(tryGetCharacteristicIndex(m));
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export function ARCtrl_ISA_MaterialAttribute__MaterialAttribute_GetColumnIndex(this$) {
|
|
158
|
-
return value_1(tryGetCharacteristicIndex(this$));
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export function ARCtrl_ISA_MaterialAttribute__MaterialAttribute_tryGetColumnIndex_Static_Z5F39696D(m) {
|
|
162
|
-
return tryGetCharacteristicIndex(m);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export function ARCtrl_ISA_MaterialAttribute__MaterialAttribute_TryGetColumnIndex(this$) {
|
|
166
|
-
return tryGetCharacteristicIndex(this$);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export function ARCtrl_ISA_MaterialAttributeValue__MaterialAttributeValue_getColumnIndex_Static_43A5B238(m) {
|
|
170
|
-
return value_1(tryGetCharacteristicColumnIndex(m));
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export function ARCtrl_ISA_MaterialAttributeValue__MaterialAttributeValue_GetColumnIndex(this$) {
|
|
174
|
-
return value_1(tryGetCharacteristicColumnIndex(this$));
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export function ARCtrl_ISA_MaterialAttributeValue__MaterialAttributeValue_tryGetColumnIndex_Static_43A5B238(m) {
|
|
178
|
-
return tryGetCharacteristicColumnIndex(m);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export function ARCtrl_ISA_MaterialAttributeValue__MaterialAttributeValue_TryGetColumnIndex(this$) {
|
|
182
|
-
return tryGetCharacteristicColumnIndex(this$);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Create a ISAJson parameter from ISATab string entries
|
|
187
|
-
*/
|
|
188
|
-
export function ARCtrl_ISA_ProtocolParameter__ProtocolParameter_fromStringWithColumnIndex_Static(term, source, accession, valueIndex) {
|
|
189
|
-
return ProtocolParameter.fromString(term, source, accession, [createOrderComment(valueIndex)]);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export function ARCtrl_ISA_ProtocolParameter__ProtocolParameter_getColumnIndex_Static_Z3A4310A5(p) {
|
|
193
|
-
return value_1(tryGetParameterIndex(p));
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export function ARCtrl_ISA_ProtocolParameter__ProtocolParameter_GetColumnIndex(this$) {
|
|
197
|
-
return value_1(tryGetParameterIndex(this$));
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export function ARCtrl_ISA_ProtocolParameter__ProtocolParameter_tryGetColumnIndex_Static_Z3A4310A5(p) {
|
|
201
|
-
return tryGetParameterIndex(p);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export function ARCtrl_ISA_ProtocolParameter__ProtocolParameter_TryGetColumnIndex(this$) {
|
|
205
|
-
return tryGetParameterIndex(this$);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export function ARCtrl_ISA_ProcessParameterValue__ProcessParameterValue_getColumnIndex_Static_5FD7232D(p) {
|
|
209
|
-
return value_1(tryGetParameterColumnIndex(p));
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export function ARCtrl_ISA_ProcessParameterValue__ProcessParameterValue_GetColumnIndex(this$) {
|
|
213
|
-
return value_1(tryGetParameterColumnIndex(this$));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
export function ARCtrl_ISA_ProcessParameterValue__ProcessParameterValue_tryGetColumnIndex_Static_5FD7232D(p) {
|
|
217
|
-
return tryGetParameterColumnIndex(p);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export function ARCtrl_ISA_ProcessParameterValue__ProcessParameterValue_TryGetColumnIndex(this$) {
|
|
221
|
-
return tryGetParameterColumnIndex(this$);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Create a ISAJson Factor from ISATab string entries
|
|
226
|
-
*/
|
|
227
|
-
export function ARCtrl_ISA_Component__Component_fromStringWithColumnIndex_Static(name, term, source, accession, valueIndex) {
|
|
228
|
-
return Component_fromString_Z61E08C1(name, term, source, accession, [createOrderComment(valueIndex)]);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
export function ARCtrl_ISA_Component__Component_getColumnIndex_Static_Z609B8895(f) {
|
|
232
|
-
return value_1(tryGetComponentIndex(f));
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export function ARCtrl_ISA_Component__Component_GetColumnIndex(this$) {
|
|
236
|
-
return value_1(tryGetComponentIndex(this$));
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export function ARCtrl_ISA_Component__Component_tryGetColumnIndex_Static_Z609B8895(f) {
|
|
240
|
-
return tryGetComponentIndex(f);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export function ARCtrl_ISA_Component__Component_TryGetColumnIndex(this$) {
|
|
244
|
-
return tryGetComponentIndex(this$);
|
|
245
|
-
}
|
|
246
|
-
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
2
|
-
import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
3
|
-
import { int32_type, record_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
4
|
-
|
|
5
|
-
export class Comment$ extends Record {
|
|
6
|
-
constructor(ID, Name, Value) {
|
|
7
|
-
super();
|
|
8
|
-
this.ID = ID;
|
|
9
|
-
this.Name = Name;
|
|
10
|
-
this.Value = Value;
|
|
11
|
-
}
|
|
12
|
-
static make(id, name, value) {
|
|
13
|
-
return new Comment$(id, name, value);
|
|
14
|
-
}
|
|
15
|
-
static create(Id, Name, Value) {
|
|
16
|
-
return Comment$.make(Id, Name, Value);
|
|
17
|
-
}
|
|
18
|
-
static fromString(name, value) {
|
|
19
|
-
return Comment$.create(void 0, name, value);
|
|
20
|
-
}
|
|
21
|
-
static toString(comment) {
|
|
22
|
-
return [defaultArg(comment.Name, ""), defaultArg(comment.Value, "")];
|
|
23
|
-
}
|
|
24
|
-
Copy() {
|
|
25
|
-
const this$ = this;
|
|
26
|
-
return Comment$.make(this$.ID, this$.Name, this$.Value);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function Comment$_$reflection() {
|
|
31
|
-
return record_type("ARCtrl.ISA.Comment", [], Comment$, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["Value", option_type(string_type)]]);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export class Remark extends Record {
|
|
35
|
-
constructor(Line, Value) {
|
|
36
|
-
super();
|
|
37
|
-
this.Line = (Line | 0);
|
|
38
|
-
this.Value = Value;
|
|
39
|
-
}
|
|
40
|
-
static make(line, value) {
|
|
41
|
-
return new Remark(line, value);
|
|
42
|
-
}
|
|
43
|
-
static create(line, value) {
|
|
44
|
-
return Remark.make(line, value);
|
|
45
|
-
}
|
|
46
|
-
static toTuple(remark) {
|
|
47
|
-
return [remark.Line, remark.Value];
|
|
48
|
-
}
|
|
49
|
-
Copy() {
|
|
50
|
-
const this$ = this;
|
|
51
|
-
return Remark.make(this$.Line, this$.Value);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function Remark_$reflection() {
|
|
56
|
-
return record_type("ARCtrl.ISA.Remark", [], Remark, () => [["Line", int32_type], ["Value", string_type]]);
|
|
57
|
-
}
|
|
58
|
-
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
|
-
import { record_type, option_type, string_type } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
3
|
-
import { Value as Value_1, Value_$reflection } from "./Value.js";
|
|
4
|
-
import { OntologyAnnotation, OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
|
|
5
|
-
import { ActivePatterns_$007CRegex$007C_$007C } from "../Regex.js";
|
|
6
|
-
import { map, defaultArg, unwrap } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
|
-
import { Option_fromValueWithDefault } from "../Helper.js";
|
|
8
|
-
import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
9
|
-
|
|
10
|
-
export class Component extends Record {
|
|
11
|
-
constructor(ComponentName, ComponentValue, ComponentUnit, ComponentType) {
|
|
12
|
-
super();
|
|
13
|
-
this.ComponentName = ComponentName;
|
|
14
|
-
this.ComponentValue = ComponentValue;
|
|
15
|
-
this.ComponentUnit = ComponentUnit;
|
|
16
|
-
this.ComponentType = ComponentType;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function Component_$reflection() {
|
|
21
|
-
return record_type("ARCtrl.ISA.Component", [], Component, () => [["ComponentName", option_type(string_type)], ["ComponentValue", option_type(Value_$reflection())], ["ComponentUnit", option_type(OntologyAnnotation_$reflection())], ["ComponentType", option_type(OntologyAnnotation_$reflection())]]);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export function Component_make(name, value, unit, componentType) {
|
|
25
|
-
return new Component(name, value, unit, componentType);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export function Component_create_61502994(Name, Value, Unit, ComponentType) {
|
|
29
|
-
return Component_make(Name, Value, Unit, ComponentType);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export function Component_get_empty() {
|
|
33
|
-
return Component_create_61502994();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* This function creates a string containing full isa term triplet information about the component
|
|
38
|
-
*
|
|
39
|
-
* Components do not have enough fields in ISA-JSON to include all existing ontology term information.
|
|
40
|
-
* This function allows us, to add the same information as `Parameter`, `Characteristics`.., to `Component`.
|
|
41
|
-
* Without this string composition we loose the ontology information for the header value.
|
|
42
|
-
*/
|
|
43
|
-
export function Component_composeName(value, unit) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return "";
|
|
46
|
-
}
|
|
47
|
-
else if (value.tag === 0) {
|
|
48
|
-
const oa = value.fields[0];
|
|
49
|
-
return `${oa.NameText} (${oa.TermAccessionShort})`;
|
|
50
|
-
}
|
|
51
|
-
else if (unit != null) {
|
|
52
|
-
const u = unit;
|
|
53
|
-
const v_1 = value;
|
|
54
|
-
return `${v_1.Text} ${u.NameText} (${u.TermAccessionShort})`;
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
const v = value;
|
|
58
|
-
return `${v.Text}`;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* This function parses the given Component header string format into the ISA-JSON Component type
|
|
64
|
-
*
|
|
65
|
-
* Components do not have enough fields in ISA-JSON to include all existing ontology term information.
|
|
66
|
-
* This function allows us, to add the same information as `Parameter`, `Characteristics`.., to `Component`.
|
|
67
|
-
* Without this string composition we loose the ontology information for the header value.
|
|
68
|
-
*/
|
|
69
|
-
export function Component_decomposeName_Z721C83C5(name) {
|
|
70
|
-
let value;
|
|
71
|
-
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C("(?<value>[\\d\\.]+) (?<unit>.+) \\((?<ontology>[^(]*:[^)]*)\\)", name);
|
|
72
|
-
if (activePatternResult != null) {
|
|
73
|
-
const unitr = activePatternResult;
|
|
74
|
-
let oa;
|
|
75
|
-
const termAnnotation = (unitr.groups && unitr.groups.ontology) || "";
|
|
76
|
-
oa = OntologyAnnotation.fromTermAnnotation(termAnnotation);
|
|
77
|
-
return [(value = ((unitr.groups && unitr.groups.value) || ""), Value_1.fromString(value)), new OntologyAnnotation(oa.ID, (unitr.groups && unitr.groups.unit) || "", oa.TermSourceREF, oa.TermAccessionNumber, oa.Comments)];
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
const activePatternResult_1 = ActivePatterns_$007CRegex$007C_$007C("(?<value>[^\\(]+) \\((?<ontology>[^(]*:[^)]*)\\)", name);
|
|
81
|
-
if (activePatternResult_1 != null) {
|
|
82
|
-
const r = activePatternResult_1;
|
|
83
|
-
let oa_1;
|
|
84
|
-
const termAnnotation_1 = (r.groups && r.groups.ontology) || "";
|
|
85
|
-
oa_1 = OntologyAnnotation.fromTermAnnotation(termAnnotation_1);
|
|
86
|
-
let v_1;
|
|
87
|
-
const value_1 = (r.groups && r.groups.value) || "";
|
|
88
|
-
v_1 = Value_1.fromString(value_1);
|
|
89
|
-
return [new Value_1(0, [new OntologyAnnotation(oa_1.ID, v_1.Text, oa_1.TermSourceREF, oa_1.TermAccessionNumber, oa_1.Comments)]), void 0];
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return [new Value_1(3, [name]), void 0];
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Create a ISAJson Component from ISATab string entries
|
|
99
|
-
*/
|
|
100
|
-
export function Component_fromString_Z61E08C1(name, term, source, accession, comments) {
|
|
101
|
-
let cType;
|
|
102
|
-
const v = OntologyAnnotation.fromString(unwrap(term), unwrap(source), unwrap(accession), unwrap(comments));
|
|
103
|
-
cType = Option_fromValueWithDefault(OntologyAnnotation.empty, v);
|
|
104
|
-
if (name == null) {
|
|
105
|
-
return Component_make(void 0, void 0, void 0, cType);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
const patternInput = Component_decomposeName_Z721C83C5(name);
|
|
109
|
-
return Component_make(name, Option_fromValueWithDefault(new Value_1(3, [""]), patternInput[0]), patternInput[1], cType);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export function Component_fromOptions(value, unit, header) {
|
|
114
|
-
return Component_make(Option_fromValueWithDefault("", Component_composeName(value, unit)), value, unit, header);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Get ISATab string entries from an ISAJson Component object
|
|
119
|
-
*/
|
|
120
|
-
export function Component_toString_Z609B8895(c) {
|
|
121
|
-
let oa_1;
|
|
122
|
-
const value = {
|
|
123
|
-
TermAccessionNumber: "",
|
|
124
|
-
TermName: "",
|
|
125
|
-
TermSourceREF: "",
|
|
126
|
-
};
|
|
127
|
-
oa_1 = defaultArg(map((oa) => OntologyAnnotation.toString(oa), c.ComponentType), value);
|
|
128
|
-
return [defaultArg(c.ComponentName, ""), oa_1];
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export function Component__get_NameText(this$) {
|
|
132
|
-
return defaultArg(map((c) => c.NameText, this$.ComponentType), "");
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Returns the ontology of the category of the Value as string
|
|
137
|
-
*/
|
|
138
|
-
export function Component__get_UnitText(this$) {
|
|
139
|
-
return defaultArg(map((c) => c.NameText, this$.ComponentUnit), "");
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function Component__get_ValueText(this$) {
|
|
143
|
-
return defaultArg(map((c) => c.Text, this$.ComponentValue), "");
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function Component__get_ValueWithUnitText(this$) {
|
|
147
|
-
const unit = map((oa) => oa.NameText, this$.ComponentUnit);
|
|
148
|
-
const v = Component__get_ValueText(this$);
|
|
149
|
-
if (unit == null) {
|
|
150
|
-
return v;
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
const u = unit;
|
|
154
|
-
return toText(printf("%s %s"))(v)(u);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export function Component__MapCategory_Z69DD836A(this$, f) {
|
|
159
|
-
return new Component(this$.ComponentName, this$.ComponentValue, this$.ComponentUnit, map(f, this$.ComponentType));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export function Component__SetCategory_Z4C0FE73C(this$, c) {
|
|
163
|
-
return new Component(this$.ComponentName, this$.ComponentValue, this$.ComponentUnit, c);
|
|
164
|
-
}
|
|
165
|
-
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "./OntologyAnnotation.js";
|
|
2
|
-
import { map, defaultArg, unwrap } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
3
|
-
import { Option_fromValueWithDefault } from "../Helper.js";
|
|
4
|
-
import { filter, map as map_1, singleton, append, exists, tryFind } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
5
|
-
import { equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
6
|
-
import { record_type, array_type, option_type, string_type, getRecordFields, makeRecord } from "../../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
7
|
-
import { map as map_2, map2 } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
8
|
-
import { Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
|
|
9
|
-
import { Record, toString } from "../../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
10
|
-
import { Comment$_$reflection } from "./Comment.js";
|
|
11
|
-
|
|
12
|
-
export class Factor extends Record {
|
|
13
|
-
constructor(ID, Name, FactorType, Comments) {
|
|
14
|
-
super();
|
|
15
|
-
this.ID = ID;
|
|
16
|
-
this.Name = Name;
|
|
17
|
-
this.FactorType = FactorType;
|
|
18
|
-
this.Comments = Comments;
|
|
19
|
-
}
|
|
20
|
-
static make(id, name, factorType, comments) {
|
|
21
|
-
return new Factor(id, name, factorType, comments);
|
|
22
|
-
}
|
|
23
|
-
static create(Id, Name, FactorType, Comments) {
|
|
24
|
-
return Factor.make(Id, Name, FactorType, Comments);
|
|
25
|
-
}
|
|
26
|
-
static get empty() {
|
|
27
|
-
return Factor.create();
|
|
28
|
-
}
|
|
29
|
-
static fromString(name, term, source, accession, comments) {
|
|
30
|
-
const oa = OntologyAnnotation.fromString(term, source, accession, unwrap(comments));
|
|
31
|
-
const name_1 = Option_fromValueWithDefault("", name);
|
|
32
|
-
const factorType = Option_fromValueWithDefault(OntologyAnnotation.empty, oa);
|
|
33
|
-
return Factor.make(void 0, name_1, factorType, void 0);
|
|
34
|
-
}
|
|
35
|
-
static toString(factor) {
|
|
36
|
-
const value = {
|
|
37
|
-
TermAccessionNumber: "",
|
|
38
|
-
TermName: "",
|
|
39
|
-
TermSourceREF: "",
|
|
40
|
-
};
|
|
41
|
-
return defaultArg(map((oa) => OntologyAnnotation.toString(oa), factor.FactorType), value);
|
|
42
|
-
}
|
|
43
|
-
get NameText() {
|
|
44
|
-
const this$ = this;
|
|
45
|
-
return defaultArg(this$.Name, "");
|
|
46
|
-
}
|
|
47
|
-
MapCategory(f) {
|
|
48
|
-
const this$ = this;
|
|
49
|
-
return new Factor(this$.ID, this$.Name, map(f, this$.FactorType), this$.Comments);
|
|
50
|
-
}
|
|
51
|
-
SetCategory(c) {
|
|
52
|
-
const this$ = this;
|
|
53
|
-
return new Factor(this$.ID, this$.Name, c, this$.Comments);
|
|
54
|
-
}
|
|
55
|
-
static tryGetByName(name, factors) {
|
|
56
|
-
return tryFind((f) => equals(f.Name, name), factors);
|
|
57
|
-
}
|
|
58
|
-
static existsByName(name, factors) {
|
|
59
|
-
return exists((f) => equals(f.Name, name), factors);
|
|
60
|
-
}
|
|
61
|
-
static add(factors, factor) {
|
|
62
|
-
return append(factors, singleton(factor));
|
|
63
|
-
}
|
|
64
|
-
static updateBy(predicate, updateOption, factor, factors) {
|
|
65
|
-
return exists(predicate, factors) ? map_1((f) => {
|
|
66
|
-
if (predicate(f)) {
|
|
67
|
-
const this$ = updateOption;
|
|
68
|
-
const recordType_1 = f;
|
|
69
|
-
const recordType_2 = factor;
|
|
70
|
-
return (this$.tag === 2) ? makeRecord(Factor_$reflection(), map2(Update_updateAppend, getRecordFields(recordType_1), getRecordFields(recordType_2))) : ((this$.tag === 1) ? makeRecord(Factor_$reflection(), map2(Update_updateOnlyByExisting, getRecordFields(recordType_1), getRecordFields(recordType_2))) : ((this$.tag === 3) ? makeRecord(Factor_$reflection(), map2(Update_updateOnlyByExistingAppend, getRecordFields(recordType_1), getRecordFields(recordType_2))) : recordType_2));
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
return f;
|
|
74
|
-
}
|
|
75
|
-
}, factors) : factors;
|
|
76
|
-
}
|
|
77
|
-
static updateByName(updateOption, factor, factors) {
|
|
78
|
-
return Factor.updateBy((f) => equals(f.Name, factor.Name), updateOption, factor, factors);
|
|
79
|
-
}
|
|
80
|
-
static removeByName(name, factors) {
|
|
81
|
-
return filter((f) => !equals(f.Name, name), factors);
|
|
82
|
-
}
|
|
83
|
-
static getComments(factor) {
|
|
84
|
-
return factor.Comments;
|
|
85
|
-
}
|
|
86
|
-
static mapComments(f, factor) {
|
|
87
|
-
return new Factor(factor.ID, factor.Name, factor.FactorType, map(f, factor.Comments));
|
|
88
|
-
}
|
|
89
|
-
static setComments(factor, comments) {
|
|
90
|
-
return new Factor(factor.ID, factor.Name, factor.FactorType, comments);
|
|
91
|
-
}
|
|
92
|
-
static getFactorType(factor) {
|
|
93
|
-
return factor.FactorType;
|
|
94
|
-
}
|
|
95
|
-
static mapFactorType(f, factor) {
|
|
96
|
-
return new Factor(factor.ID, factor.Name, map(f, factor.FactorType), factor.Comments);
|
|
97
|
-
}
|
|
98
|
-
static setFactorType(factor, factorType) {
|
|
99
|
-
return new Factor(factor.ID, factor.Name, factorType, factor.Comments);
|
|
100
|
-
}
|
|
101
|
-
static tryGetName(f) {
|
|
102
|
-
return f.Name;
|
|
103
|
-
}
|
|
104
|
-
static getNameAsString(f) {
|
|
105
|
-
return f.NameText;
|
|
106
|
-
}
|
|
107
|
-
static nameEqualsString(name, f) {
|
|
108
|
-
return f.NameText === name;
|
|
109
|
-
}
|
|
110
|
-
Copy() {
|
|
111
|
-
const this$ = this;
|
|
112
|
-
const comments = map((array) => map_2((c) => c.Copy(), array), this$.Comments);
|
|
113
|
-
return Factor.make(this$.ID, this$.Name, this$.FactorType, comments);
|
|
114
|
-
}
|
|
115
|
-
Print() {
|
|
116
|
-
const this$ = this;
|
|
117
|
-
return toString(this$);
|
|
118
|
-
}
|
|
119
|
-
PrintCompact() {
|
|
120
|
-
const this$ = this;
|
|
121
|
-
return "OA " + this$.NameText;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export function Factor_$reflection() {
|
|
126
|
-
return record_type("ARCtrl.ISA.Factor", [], Factor, () => [["ID", option_type(string_type)], ["Name", option_type(string_type)], ["FactorType", option_type(OntologyAnnotation_$reflection())], ["Comments", option_type(array_type(Comment$_$reflection()))]]);
|
|
127
|
-
}
|
|
128
|
-
|