@nfdi4plants/arctrl 1.0.7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARC.js +47 -11
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcTypes.js +30 -18
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +8 -8
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +23 -31
- package/ISA/ISA/ArcTypes/ArcTableAux.js +27 -16
- package/ISA/ISA/ArcTypes/ArcTables.js +11 -11
- package/ISA/ISA/ArcTypes/ArcTypes.js +118 -83
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +8 -7
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +6 -6
- package/ISA/ISA/Helper.js +15 -13
- package/ISA/ISA/Identifier.js +1 -1
- package/ISA/ISA/JsonTypes/Assay.js +8 -8
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +5 -5
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +4 -4
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +6 -6
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +3 -3
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +6 -6
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +6 -6
- package/ISA/ISA/JsonTypes/Person.js +23 -8
- package/ISA/ISA/JsonTypes/Process.js +13 -13
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +6 -6
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +3 -3
- package/ISA/ISA/JsonTypes/Publication.js +6 -6
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +8 -8
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +22 -29
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +157 -65
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +78 -49
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +136 -24
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +183 -21
- package/ISA/ISA.Json/ArcTypes/CellTable.js +40 -0
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +34 -23
- package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +18 -46
- package/ISA/ISA.Json/ArcTypes/IOType.js +11 -13
- package/ISA/ISA.Json/ArcTypes/OATable.js +42 -0
- package/ISA/ISA.Json/Assay.js +71 -47
- package/ISA/ISA.Json/Comment.js +31 -35
- package/ISA/ISA.Json/ConverterOptions.js +19 -1
- package/ISA/ISA.Json/Data.js +119 -137
- package/ISA/ISA.Json/Decode.js +51 -36
- package/ISA/ISA.Json/Factor.js +90 -90
- package/ISA/ISA.Json/GEncode.js +31 -6
- package/ISA/ISA.Json/Investigation.js +54 -79
- package/ISA/ISA.Json/Material.js +103 -104
- package/ISA/ISA.Json/Ontology.js +99 -92
- package/ISA/ISA.Json/Person.js +47 -65
- package/ISA/ISA.Json/Process.js +144 -130
- package/ISA/ISA.Json/Protocol.js +144 -105
- package/ISA/ISA.Json/Publication.js +34 -40
- package/ISA/ISA.Json/StringTable.js +44 -0
- package/ISA/ISA.Json/Study.js +70 -96
- package/ISA/ISA.Json/context/rocrate/isa_assay_context.js +34 -0
- package/ISA/ISA.Json/context/rocrate/isa_comment_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_component_context.js +24 -0
- package/ISA/ISA.Json/context/rocrate/isa_data_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_factor_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_investigation_context.js +33 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_attribute_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_material_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_annotation_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_ontology_source_reference_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_organization_context.js +22 -0
- package/ISA/ISA.Json/context/rocrate/isa_person_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_context.js +31 -0
- package/ISA/ISA.Json/context/rocrate/isa_process_parameter_value_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_context.js +30 -0
- package/ISA/ISA.Json/context/rocrate/isa_protocol_parameter_context.js +23 -0
- package/ISA/ISA.Json/context/rocrate/isa_publication_context.js +27 -0
- package/ISA/ISA.Json/context/rocrate/isa_sample_context.js +26 -0
- package/ISA/ISA.Json/context/rocrate/isa_source_context.js +25 -0
- package/ISA/ISA.Json/context/rocrate/isa_study_context.js +42 -0
- package/ISA/ISA.Json/context/rocrate/rocrate_context.js +25 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +56 -43
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +11 -11
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +5 -5
- package/ISA/ISA.Spreadsheet/ArcAssay.js +100 -88
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +12 -12
- package/ISA/ISA.Spreadsheet/ArcStudy.js +36 -24
- package/ISA/ISA.Spreadsheet/CollectionAux.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +31 -20
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +28 -23
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +8 -8
- package/README.md +20 -3
- package/SemVer.js +6 -6
- package/Templates/Template.Json.js +43 -36
- package/Templates/Template.Spreadsheet.js +12 -12
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +7 -7
- package/WebRequest/WebRequest.Node.js +15 -0
- package/WebRequest/WebRequest.js +10 -29
- 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.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs +22 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs.js +24 -14
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs +12 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs.js +21 -17
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs.js +4 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs +1390 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Decode.fs.js +1230 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs +233 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +113 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +28 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs +76 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/Types.fs.js +33 -0
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/{Thoth.Json.10.1.0/obj/Release/netstandard2.0/Thoth.Json.AssemblyInfo.fs → Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs} +8 -7
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs +79 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Decode.fs.js +85 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs +32 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +45 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +21 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +18 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +19 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.d.ts +4 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Array.js +124 -86
- package/fable_modules/fable-library-js.4.13.0/CHANGELOG.md +29 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.d.ts +0 -17
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Choice.js +0 -43
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.js +3 -2
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.d.ts +12 -0
- package/fable_modules/fable-library-js.4.13.0/FSharp.Core.CompilerServices.js +27 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.js +3 -3
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.js +2 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.js +7 -7
- package/fable_modules/fable-library-js.4.13.0/Result.d.ts +37 -0
- package/fable_modules/fable-library-js.4.13.0/Result.js +165 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.js +2 -2
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.d.ts +1 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/String.js +8 -5
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.d.ts +15 -7
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Collections.Generic.js +46 -36
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.d.ts +9 -1
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/System.Text.js +60 -8
- package/fable_modules/fable-library-js.4.13.0/big.d.ts +338 -0
- package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/package.json +4 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/ISA/ISA.Json/Validation/Fable.js +0 -69
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +0 -88
- package/ISA/ISA.Json/Validation/ValidationResult.js +0 -45
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs +0 -1366
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +0 -1798
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs +0 -621
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +0 -472
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs +0 -31
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +0 -8
- package/fable_modules/Thoth.Json.10.1.0/Thoth.Json.fableproj +0 -30
- package/fable_modules/Thoth.Json.10.1.0/Types.fs +0 -59
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +0 -98
- package/fable_modules/Thoth.Json.10.1.0/package.json +0 -5
- package/fable_modules/fable-library.4.5.0/CHANGELOG.md +0 -11
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Decimal.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Double.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Long.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/README.md +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/Util.js +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.d.ts +0 -0
- /package/fable_modules/{fable-library.4.5.0 → fable-library-js.4.13.0}/lib/big.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
2
|
-
import { iterate, isEmpty as isEmpty_1, choose, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../../fable_modules/fable-library.4.
|
|
1
|
+
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
|
|
2
|
+
import { iterate, isEmpty as isEmpty_1, choose, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
|
|
3
3
|
import { SparseRowModule_tryGetValueAt, SparseRowModule_fromFsRow, SparseRowModule_fromValues, SparseRowModule_writeToSheet } from "./Metadata/SparseTable.js";
|
|
4
4
|
import { fromRows as fromRows_1, toRows as toRows_1 } from "./Metadata/Assays.js";
|
|
5
|
-
import { empty, isEmpty, toArray, ofArray, singleton as singleton_1 } from "../../fable_modules/fable-library.4.
|
|
5
|
+
import { empty, isEmpty, toArray, ofArray, singleton as singleton_1 } from "../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
6
6
|
import { fromRows as fromRows_2, toRows as toRows_2 } from "./Metadata/Contacts.js";
|
|
7
|
-
import {
|
|
7
|
+
import { toConsole, printf, toFail } from "../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
8
|
+
import { getEnumerator } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
8
9
|
import { ArcAssay } from "../ISA/ArcTypes/ArcTypes.js";
|
|
9
10
|
import { createMissingIdentifier } from "../ISA/Identifier.js";
|
|
10
|
-
import { defaultArg } from "../../fable_modules/fable-library.4.
|
|
11
|
-
import { printf, toConsole } from "../../fable_modules/fable-library.4.5.0/String.js";
|
|
11
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
12
12
|
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
13
|
-
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
13
|
+
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
|
|
14
14
|
|
|
15
15
|
export function toMetadataSheet(assay) {
|
|
16
16
|
let assay_1;
|
|
@@ -22,89 +22,95 @@ export function toMetadataSheet(assay) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export function fromMetadataSheet(sheet) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
25
|
+
try {
|
|
26
|
+
const rows_1 = map(SparseRowModule_fromFsRow, sheet.Rows);
|
|
27
|
+
const patternInput = exists((row) => {
|
|
28
|
+
const s = head(row)[1];
|
|
29
|
+
return s.indexOf("Assay") === 0;
|
|
30
|
+
}, rows_1) ? ["Assay", "Assay Person"] : [void 0, void 0];
|
|
31
|
+
const en = getEnumerator(rows_1);
|
|
32
|
+
const loop = (lastLine_mut, assays_mut, contacts_mut, lineNumber_mut) => {
|
|
33
|
+
let k;
|
|
34
|
+
loop:
|
|
35
|
+
while (true) {
|
|
36
|
+
const lastLine = lastLine_mut, assays = assays_mut, contacts = contacts_mut, lineNumber = lineNumber_mut;
|
|
37
|
+
let matchResult, k_2, k_3, k_4;
|
|
38
|
+
if (lastLine != null) {
|
|
39
|
+
if ((k = lastLine, (k === "ASSAY") ? true : (k === "ASSAY METADATA"))) {
|
|
40
|
+
matchResult = 0;
|
|
41
|
+
k_2 = lastLine;
|
|
42
|
+
}
|
|
43
|
+
else if (lastLine === "ASSAY PERFORMERS") {
|
|
44
|
+
matchResult = 1;
|
|
45
|
+
k_3 = lastLine;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
matchResult = 2;
|
|
49
|
+
k_4 = lastLine;
|
|
50
|
+
}
|
|
45
51
|
}
|
|
46
52
|
else {
|
|
47
53
|
matchResult = 2;
|
|
48
54
|
k_4 = lastLine;
|
|
49
55
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
56
|
+
switch (matchResult) {
|
|
57
|
+
case 0: {
|
|
58
|
+
const patternInput_1 = fromRows_1(patternInput[0], lineNumber + 1, en);
|
|
59
|
+
lastLine_mut = patternInput_1[0];
|
|
60
|
+
assays_mut = patternInput_1[3];
|
|
61
|
+
contacts_mut = contacts;
|
|
62
|
+
lineNumber_mut = patternInput_1[1];
|
|
63
|
+
continue loop;
|
|
64
|
+
}
|
|
65
|
+
case 1: {
|
|
66
|
+
const patternInput_2 = fromRows_2(patternInput[1], lineNumber + 1, en);
|
|
67
|
+
lastLine_mut = patternInput_2[0];
|
|
68
|
+
assays_mut = assays;
|
|
69
|
+
contacts_mut = patternInput_2[3];
|
|
70
|
+
lineNumber_mut = patternInput_2[1];
|
|
71
|
+
continue loop;
|
|
72
|
+
}
|
|
73
|
+
default: {
|
|
74
|
+
let matchResult_1, assays_2, contacts_2;
|
|
75
|
+
if (isEmpty(assays)) {
|
|
76
|
+
if (isEmpty(contacts)) {
|
|
77
|
+
matchResult_1 = 0;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
matchResult_1 = 1;
|
|
81
|
+
assays_2 = assays;
|
|
82
|
+
contacts_2 = contacts;
|
|
83
|
+
}
|
|
77
84
|
}
|
|
78
85
|
else {
|
|
79
86
|
matchResult_1 = 1;
|
|
80
87
|
assays_2 = assays;
|
|
81
88
|
contacts_2 = contacts;
|
|
82
89
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
return ArcAssay.create(createMissingIdentifier());
|
|
92
|
-
default: {
|
|
93
|
-
const performers = toArray(contacts_2);
|
|
94
|
-
const assay = defaultArg(tryHead(assays_2), ArcAssay.create(createMissingIdentifier()));
|
|
95
|
-
return ArcAssay.setPerformers(performers, assay);
|
|
90
|
+
switch (matchResult_1) {
|
|
91
|
+
case 0:
|
|
92
|
+
return ArcAssay.create(createMissingIdentifier());
|
|
93
|
+
default: {
|
|
94
|
+
const performers = toArray(contacts_2);
|
|
95
|
+
const assay = defaultArg(tryHead(assays_2), ArcAssay.create(createMissingIdentifier()));
|
|
96
|
+
return ArcAssay.setPerformers(performers, assay);
|
|
97
|
+
}
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
}
|
|
101
|
+
break;
|
|
99
102
|
}
|
|
100
|
-
|
|
103
|
+
};
|
|
104
|
+
if (en["System.Collections.IEnumerator.MoveNext"]()) {
|
|
105
|
+
return loop(SparseRowModule_tryGetValueAt(0, en["System.Collections.Generic.IEnumerator`1.get_Current"]()), empty(), empty(), 1);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
throw new Error("empty assay metadata sheet");
|
|
101
109
|
}
|
|
102
|
-
};
|
|
103
|
-
if (en["System.Collections.IEnumerator.MoveNext"]()) {
|
|
104
|
-
return loop(SparseRowModule_tryGetValueAt(0, en["System.Collections.Generic.IEnumerator`1.get_Current"]()), empty(), empty(), 1);
|
|
105
110
|
}
|
|
106
|
-
|
|
107
|
-
|
|
111
|
+
catch (err) {
|
|
112
|
+
const arg = err.message;
|
|
113
|
+
return toFail(printf("Failed while parsing metadatasheet: %s"))(arg);
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
116
|
|
|
@@ -112,26 +118,32 @@ export function fromMetadataSheet(sheet) {
|
|
|
112
118
|
* Reads an assay from a spreadsheet
|
|
113
119
|
*/
|
|
114
120
|
export function fromFsWorkbook(doc) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
try {
|
|
122
|
+
let assayMetaData;
|
|
123
|
+
const matchValue = doc.TryGetWorksheetByName("isa_assay");
|
|
124
|
+
if (matchValue == null) {
|
|
125
|
+
const matchValue_1 = doc.TryGetWorksheetByName("Assay");
|
|
126
|
+
if (matchValue_1 == null) {
|
|
127
|
+
toConsole(printf("Cannot retrieve metadata: Assay file does not contain \"%s\" or \"%s\" sheet."))("isa_assay")("Assay");
|
|
128
|
+
assayMetaData = ArcAssay.create(createMissingIdentifier());
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
assayMetaData = fromMetadataSheet(matchValue_1);
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
else {
|
|
124
|
-
assayMetaData = fromMetadataSheet(
|
|
135
|
+
assayMetaData = fromMetadataSheet(matchValue);
|
|
125
136
|
}
|
|
137
|
+
const annotationTables = choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
138
|
+
if (!isEmpty_1(annotationTables)) {
|
|
139
|
+
assayMetaData.Tables = Array.from(annotationTables);
|
|
140
|
+
}
|
|
141
|
+
return assayMetaData;
|
|
126
142
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const annotationTables = choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
131
|
-
if (!isEmpty_1(annotationTables)) {
|
|
132
|
-
assayMetaData.Tables = Array.from(annotationTables);
|
|
143
|
+
catch (err) {
|
|
144
|
+
const arg_2 = err.message;
|
|
145
|
+
return toFail(printf("Could not parse assay: \n%s"))(arg_2);
|
|
133
146
|
}
|
|
134
|
-
return assayMetaData;
|
|
135
147
|
}
|
|
136
148
|
|
|
137
149
|
export function toFsWorkbook(assay) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Record } from "../../fable_modules/fable-library.4.
|
|
2
|
-
import { record_type, list_type, string_type } from "../../fable_modules/fable-library.4.
|
|
1
|
+
import { Record } from "../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type } from "../../fable_modules/fable-library-js.4.13.0/Reflection.js";
|
|
3
3
|
import { Remark, Comment$_$reflection } from "../ISA/JsonTypes/Comment.js";
|
|
4
|
-
import { ofSeq, head, tail, isEmpty, concat, unzip, append, toArray, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library.4.
|
|
4
|
+
import { ofSeq, head, tail, isEmpty, concat, unzip, append, toArray, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
5
5
|
import { Remark_wrapRemark, Comment_toString, Comment_fromString } from "./Metadata/Comment.js";
|
|
6
6
|
import { SparseRowModule_writeToSheet, SparseRowModule_fromFsRow, SparseRowModule_fromValues, SparseRowModule_tryGetValueAt, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./Metadata/SparseTable.js";
|
|
7
|
-
import { addToDict } from "../../fable_modules/fable-library.4.
|
|
8
|
-
import { value as value_1, defaultArg } from "../../fable_modules/fable-library.4.
|
|
9
|
-
import { List_distinctBy, List_distinct } from "../../fable_modules/fable-library.4.
|
|
10
|
-
import { comparePrimitives, getEnumerator, stringHash } from "../../fable_modules/fable-library.4.
|
|
7
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
8
|
+
import { value as value_1, defaultArg } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
9
|
+
import { List_distinctBy, List_distinct } from "../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
10
|
+
import { comparePrimitives, getEnumerator, stringHash } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
11
11
|
import { Option_fromValueWithDefault } from "./Metadata/Conversions.js";
|
|
12
12
|
import { ArcStudy, ArcInvestigation } from "../ISA/ArcTypes/ArcTypes.js";
|
|
13
13
|
import { toRows as toRows_1, fromRows as fromRows_1 } from "./Metadata/OntologySourceReference.js";
|
|
14
14
|
import { toRows as toRows_2, fromRows as fromRows_2 } from "./Metadata/Publication.js";
|
|
15
15
|
import { toRows as toRows_3, fromRows as fromRows_3 } from "./Metadata/Contacts.js";
|
|
16
16
|
import { toRows as toRows_4, fromRows as fromRows_4 } from "./Metadata/Study.js";
|
|
17
|
-
import { iterateIndexed, map as map_1, toList, empty as empty_1, collect, singleton, append as append_1, delay } from "../../fable_modules/fable-library.4.
|
|
18
|
-
import { tryFind, ofList } from "../../fable_modules/fable-library.4.
|
|
19
|
-
import { printf, toFail } from "../../fable_modules/fable-library.4.
|
|
20
|
-
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
21
|
-
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
17
|
+
import { iterateIndexed, map as map_1, toList, empty as empty_1, collect, singleton, append as append_1, delay } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
|
|
18
|
+
import { tryFind, ofList } from "../../fable_modules/fable-library-js.4.13.0/Map.js";
|
|
19
|
+
import { printf, toFail } from "../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
20
|
+
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
|
|
21
|
+
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
|
|
22
22
|
|
|
23
23
|
export class InvestigationInfo extends Record {
|
|
24
24
|
constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Comments) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
2
|
-
import { map, append, iterateIndexed } from "../../fable_modules/fable-library.4.
|
|
1
|
+
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorksheet.fs.js";
|
|
2
|
+
import { map, append, iterateIndexed } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
|
|
3
3
|
import { SparseRowModule_fromFsRow, SparseRowModule_fromValues, SparseRowModule_writeToSheet } from "./Metadata/SparseTable.js";
|
|
4
4
|
import { fromRows as fromRows_1, toRows } from "./Metadata/Study.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { toConsole, printf, toFail } from "../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
6
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
|
+
import { getEnumerator } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
7
8
|
import { ArcStudy } from "../ISA/ArcTypes/ArcTypes.js";
|
|
8
9
|
import { createMissingIdentifier } from "../ISA/Identifier.js";
|
|
9
|
-
import { empty } from "../../fable_modules/fable-library.4.
|
|
10
|
-
import { printf, toConsole } from "../../fable_modules/fable-library.4.5.0/String.js";
|
|
10
|
+
import { empty } from "../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
11
11
|
import { ResizeArray_iter, ResizeArray_isEmpty, ResizeArray_choose } from "../ISA/Helper.js";
|
|
12
12
|
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
13
|
-
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.
|
|
13
|
+
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.1.3/FsWorkbook.fs.js";
|
|
14
14
|
|
|
15
15
|
export function ArcStudy_toMetadataSheet(study, assays) {
|
|
16
16
|
let source_1;
|
|
@@ -23,34 +23,46 @@ export function ArcStudy_toMetadataSheet(study, assays) {
|
|
|
23
23
|
|
|
24
24
|
export function ArcStudy_fromMetadataSheet(sheet) {
|
|
25
25
|
let en;
|
|
26
|
-
|
|
26
|
+
try {
|
|
27
|
+
return defaultArg((en = getEnumerator(map(SparseRowModule_fromFsRow, sheet.Rows)), (void en["System.Collections.IEnumerator.MoveNext"](), fromRows_1(2, en)[3])), [ArcStudy.create(createMissingIdentifier()), empty()]);
|
|
28
|
+
}
|
|
29
|
+
catch (err) {
|
|
30
|
+
const arg = err.message;
|
|
31
|
+
return toFail(printf("Failed while parsing metadatasheet: %s"))(arg);
|
|
32
|
+
}
|
|
27
33
|
}
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
* Reads an assay from a spreadsheet
|
|
31
37
|
*/
|
|
32
38
|
export function ARCtrl_ISA_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(doc) {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
try {
|
|
40
|
+
let patternInput;
|
|
41
|
+
const matchValue = doc.TryGetWorksheetByName("isa_study");
|
|
42
|
+
if (matchValue == null) {
|
|
43
|
+
const matchValue_1 = doc.TryGetWorksheetByName("Study");
|
|
44
|
+
if (matchValue_1 == null) {
|
|
45
|
+
toConsole(printf("Cannot retrieve metadata: Study file does not contain \"%s\" or \"%s\" sheet."))("isa_study")("Study");
|
|
46
|
+
patternInput = [ArcStudy.create(createMissingIdentifier()), empty()];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
patternInput = ArcStudy_fromMetadataSheet(matchValue_1);
|
|
50
|
+
}
|
|
40
51
|
}
|
|
41
52
|
else {
|
|
42
|
-
patternInput = ArcStudy_fromMetadataSheet(
|
|
53
|
+
patternInput = ArcStudy_fromMetadataSheet(matchValue);
|
|
43
54
|
}
|
|
55
|
+
const studyMetadata = patternInput[0];
|
|
56
|
+
const annotationTables = ResizeArray_choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
57
|
+
if (!ResizeArray_isEmpty(annotationTables)) {
|
|
58
|
+
studyMetadata.Tables = annotationTables;
|
|
59
|
+
}
|
|
60
|
+
return [studyMetadata, patternInput[1]];
|
|
44
61
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const studyMetadata = patternInput[0];
|
|
49
|
-
const annotationTables = ResizeArray_choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
50
|
-
if (!ResizeArray_isEmpty(annotationTables)) {
|
|
51
|
-
studyMetadata.Tables = annotationTables;
|
|
62
|
+
catch (err) {
|
|
63
|
+
const arg_2 = err.message;
|
|
64
|
+
return toFail(printf("Could not parse study: \n%s"))(arg_2);
|
|
52
65
|
}
|
|
53
|
-
return [studyMetadata, patternInput[1]];
|
|
54
66
|
}
|
|
55
67
|
|
|
56
68
|
export function ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9(study, assays) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { tryFind, maxBy, skip } from "../../fable_modules/fable-library.4.
|
|
2
|
-
import { tryItem, skip as skip_1, initialize } from "../../fable_modules/fable-library.4.
|
|
3
|
-
import { defaultOf, comparePrimitives } from "../../fable_modules/fable-library.4.
|
|
4
|
-
import { some, value } from "../../fable_modules/fable-library.4.
|
|
5
|
-
import { empty, tail, cons, head, reverse, isEmpty, tryPick } from "../../fable_modules/fable-library.4.
|
|
6
|
-
import { tryGetValue } from "../../fable_modules/fable-library.4.
|
|
7
|
-
import { FSharpRef } from "../../fable_modules/fable-library.4.
|
|
1
|
+
import { tryFind, maxBy, skip } from "../../fable_modules/fable-library-js.4.13.0/Seq.js";
|
|
2
|
+
import { item, tryItem, skip as skip_1, initialize } from "../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
3
|
+
import { defaultOf, comparePrimitives } from "../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
4
|
+
import { some, value } from "../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
5
|
+
import { empty, tail, cons, head, reverse, isEmpty, tryPick } from "../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
6
|
+
import { tryGetValue } from "../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
7
|
+
import { FSharpRef } from "../../fable_modules/fable-library-js.4.13.0/Types.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* If at least i values exist in seq a, builds a new array that contains the elements of the given seq, exluding the first i elements
|
|
@@ -62,7 +62,7 @@ export function Array_map4(f, aa, ba, ca, da) {
|
|
|
62
62
|
if (!(((aa.length === ba.length) && (ba.length === ca.length)) && (ca.length === da.length))) {
|
|
63
63
|
throw new Error("");
|
|
64
64
|
}
|
|
65
|
-
return initialize(aa.length, (i) => f(aa
|
|
65
|
+
return initialize(aa.length, (i) => f(item(i, aa), item(i, ba), item(i, ca), item(i, da)));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export function List_tryPickDefault(chooser, d, list) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
4
|
-
import { unwrap, defaultArg, map } from "../../../fable_modules/fable-library.4.
|
|
4
|
+
import { unwrap, defaultArg, map } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
5
5
|
import { ArcAssay } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
6
6
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
7
7
|
import { Assay_fileNameFromIdentifier, removeMissingIdentifier, Assay_identifierFromFileName, createMissingIdentifier } from "../../ISA/Identifier.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.
|
|
9
|
+
import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
12
12
|
|
|
13
13
|
export const labels = ofArray(["Measurement Type", "Measurement Type Term Accession Number", "Measurement Type Term Source REF", "Technology Type", "Technology Type Term Accession Number", "Technology Type Term Source REF", "Technology Platform", "File Name"]);
|
|
14
14
|
|
|
@@ -1,29 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { printf, toText } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
1
|
+
import { ActivePatterns_$007CRegex$007C_$007C } from "../../ISA/Regex.js";
|
|
2
|
+
import { printf, toText } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
4
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
5
4
|
import { Comment$ } from "../../ISA/JsonTypes/Comment.js";
|
|
5
|
+
import { bind, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
6
6
|
|
|
7
|
-
export const
|
|
7
|
+
export const Comment_commentValueKey = "commentValue";
|
|
8
8
|
|
|
9
|
-
export const
|
|
9
|
+
export const Comment_commentPattern = `Comment\\s*\\[<(?<${Comment_commentValueKey}>.+)>\\]`;
|
|
10
|
+
|
|
11
|
+
export const Comment_commentPatternNoAngleBrackets = `Comment\\s*\\[(?<${Comment_commentValueKey}>.+)\\]`;
|
|
10
12
|
|
|
11
13
|
export function Comment_$007CComment$007C_$007C(key) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Comment_commentPattern, key);
|
|
15
|
+
if (activePatternResult != null) {
|
|
16
|
+
const r = activePatternResult;
|
|
17
|
+
return (r.groups && r.groups[Comment_commentValueKey]) || "";
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const activePatternResult_1 = ActivePatterns_$007CRegex$007C_$007C(Comment_commentPatternNoAngleBrackets, key);
|
|
21
|
+
if (activePatternResult_1 != null) {
|
|
22
|
+
const r_1 = activePatternResult_1;
|
|
23
|
+
const v = (r_1.groups && r_1.groups[Comment_commentValueKey]) || "";
|
|
24
|
+
if (v === "<>") {
|
|
25
|
+
return void 0;
|
|
21
26
|
}
|
|
22
27
|
else {
|
|
23
|
-
return
|
|
28
|
+
return v;
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
|
-
|
|
31
|
+
else {
|
|
32
|
+
return void 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
27
35
|
}
|
|
28
36
|
|
|
29
37
|
export function Comment_wrapCommentKey(k) {
|
|
@@ -40,13 +48,16 @@ export function Comment_toString(c) {
|
|
|
40
48
|
return [defaultArg(c.Name, ""), defaultArg(c.Value, "")];
|
|
41
49
|
}
|
|
42
50
|
|
|
43
|
-
export const
|
|
51
|
+
export const Remark_remarkValueKey = "remarkValue";
|
|
52
|
+
|
|
53
|
+
export const Remark_remarkPattern = `#(?<${Remark_remarkValueKey}>.+)`;
|
|
44
54
|
|
|
45
55
|
export function Remark_$007CRemark$007C_$007C(key) {
|
|
46
56
|
return bind((k) => {
|
|
47
|
-
const
|
|
48
|
-
if (
|
|
49
|
-
|
|
57
|
+
const activePatternResult = ActivePatterns_$007CRegex$007C_$007C(Remark_remarkPattern, k);
|
|
58
|
+
if (activePatternResult != null) {
|
|
59
|
+
const r = activePatternResult;
|
|
60
|
+
return (r.groups && r.groups[Remark_remarkValueKey]) || "";
|
|
50
61
|
}
|
|
51
62
|
else {
|
|
52
63
|
return void 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { OntologyAnnotation_toAggregatedStrings, OntologyAnnotation_fromAggregatedStrings, Option_fromValueWithDefault } from "./Conversions.js";
|
|
3
3
|
import { Person } from "../../ISA/JsonTypes/Person.js";
|
|
4
4
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { unwrap, defaultArg } from "../../../fable_modules/fable-library.4.
|
|
7
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { unwrap, defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
|
+
import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
10
10
|
|
|
11
11
|
export const lastNameLabel = "Last Name";
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { equals } from "../../../fable_modules/fable-library.4.
|
|
2
|
-
import { value, some } from "../../../fable_modules/fable-library.4.
|
|
3
|
-
import { map, equalsWith, fill, map3, fold } from "../../../fable_modules/fable-library.4.
|
|
4
|
-
import { toText, printf, toFail } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { equals } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
2
|
+
import { value, some } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
3
|
+
import { map, equalsWith, fill, map3, fold } from "../../../fable_modules/fable-library-js.4.13.0/Array.js";
|
|
4
|
+
import { toText, printf, toFail } from "../../../fable_modules/fable-library-js.4.13.0/String.js";
|
|
5
5
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
6
|
-
import { map as map_1, fold as fold_1, ofArray, empty } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { map as map_1, fold as fold_1, ofArray, empty } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
7
7
|
import { Array_map4 } from "../CollectionAux.js";
|
|
8
8
|
import { Component_toString_Z609B8895, Component_fromString_Z61E08C1 } from "../../ISA/JsonTypes/Component.js";
|
|
9
9
|
import { ProtocolParameter } from "../../ISA/JsonTypes/ProtocolParameter.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ofArray } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { toRows as toRows_1, fromRows as fromRows_1, toSparseTable as toSparseTable_1, fromSparseTable as fromSparseTable_1 } from "./OntologyAnnotation.js";
|
|
3
3
|
|
|
4
4
|
export const designTypeLabel = "Type";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
4
4
|
import { Factor } from "../../ISA/JsonTypes/Factor.js";
|
|
5
5
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
6
6
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
7
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
8
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.
|
|
9
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
10
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.
|
|
7
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
8
|
+
import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
9
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
10
|
+
import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
11
11
|
|
|
12
12
|
export const nameLabel = "Name";
|
|
13
13
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, ofArray, map, toArray, initialize, singleton, length } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, ofArray, map, toArray, initialize, singleton, length } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
3
3
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
4
4
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { unwrap } from "../../../fable_modules/fable-library.4.
|
|
7
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { unwrap } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
7
|
+
import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
10
10
|
|
|
11
11
|
export function fromSparseTable(label, labelTSR, labelTAN, matrix) {
|
|
12
12
|
if ((matrix.ColumnCount === 0) && (length(matrix.CommentKeys) !== 0)) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library-js.4.13.0/List.js";
|
|
2
2
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
3
3
|
import { OntologySourceReference } from "../../ISA/JsonTypes/OntologySourceReference.js";
|
|
4
4
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.
|
|
7
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.
|
|
6
|
+
import { addToDict } from "../../../fable_modules/fable-library-js.4.13.0/MapUtil.js";
|
|
7
|
+
import { defaultArg } from "../../../fable_modules/fable-library-js.4.13.0/Option.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library-js.4.13.0/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library-js.4.13.0/Util.js";
|
|
10
10
|
|
|
11
11
|
export const nameLabel = "Term Source Name";
|
|
12
12
|
|