@nfdi4plants/arctrl 2.0.1 → 2.1.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 +43 -108
- package/Contract/ARC.js +1 -1
- package/Contract/ArcAssay.js +37 -14
- package/Contract/ArcInvestigation.js +4 -4
- package/Contract/ArcStudy.js +37 -14
- package/Contract/Contract.js +6 -6
- package/Contract/Datamap.js +5 -5
- package/Contract/Git.js +6 -6
- package/Contract/ValidationPackagesConfig.js +5 -5
- package/Core/ArcTypes.js +17 -17
- package/Core/Comment.js +16 -9
- package/Core/CommentList.js +6 -6
- package/Core/Conversion.js +64 -64
- package/Core/Data.js +11 -11
- package/Core/DataContext.js +4 -4
- package/Core/DataFile.js +2 -2
- package/Core/DataMap.js +4 -4
- package/Core/Helper/Collections.js +11 -11
- package/Core/Helper/HashCodes.js +5 -5
- package/Core/Helper/Identifier.js +9 -9
- package/Core/Helper/Regex.js +38 -38
- package/Core/Helper/SemVer.js +8 -8
- package/Core/OntologyAnnotation.js +11 -11
- package/Core/OntologySourceReference.js +4 -4
- package/Core/Person.js +11 -11
- package/Core/Process/ColumnIndex.js +7 -7
- package/Core/Process/Component.js +10 -10
- package/Core/Process/Factor.js +6 -6
- package/Core/Process/FactorValue.js +10 -10
- package/Core/Process/Material.js +5 -5
- package/Core/Process/MaterialAttribute.js +4 -4
- package/Core/Process/MaterialAttributeValue.js +10 -10
- package/Core/Process/MaterialType.js +2 -2
- package/Core/Process/Process.js +19 -19
- package/Core/Process/ProcessInput.js +16 -16
- package/Core/Process/ProcessOutput.js +16 -16
- package/Core/Process/ProcessParameterValue.js +10 -10
- package/Core/Process/ProcessSequence.js +6 -6
- package/Core/Process/Protocol.js +5 -5
- package/Core/Process/ProtocolParameter.js +4 -4
- package/Core/Process/Sample.js +5 -5
- package/Core/Process/Source.js +5 -5
- package/Core/Publication.js +10 -10
- package/Core/Table/ArcTable.js +35 -28
- package/Core/Table/ArcTableAux.js +22 -22
- package/Core/Table/ArcTables.js +14 -14
- package/Core/Table/CompositeCell.js +6 -6
- package/Core/Table/CompositeColumn.js +5 -5
- package/Core/Table/CompositeHeader.js +9 -9
- package/Core/Template.js +7 -7
- package/Core/Templates.js +8 -8
- package/Core/Value.js +11 -11
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +14 -14
- package/FileSystem/Path.js +3 -3
- package/Json/ARC.js +21 -15
- package/Json/Assay.js +108 -169
- package/Json/Comment.js +84 -122
- package/Json/ConverterOptions.js +2 -2
- package/Json/Data.js +100 -107
- package/Json/DataFile.js +22 -57
- package/Json/DataMap/DataContext.js +25 -16
- package/Json/DataMap/DataMap.js +11 -7
- package/Json/Decode.js +11 -14
- package/Json/Encode.js +24 -13
- package/Json/IDTable.js +14 -3
- package/Json/Investigation.js +194 -176
- package/Json/OntologyAnnotation.js +113 -127
- package/Json/OntologySourceReference.js +93 -111
- package/Json/Person.js +204 -135
- package/Json/Process/AssayMaterials.js +12 -14
- package/Json/Process/Component.js +23 -68
- package/Json/Process/Factor.js +28 -46
- package/Json/Process/FactorValue.js +28 -50
- package/Json/Process/Material.js +56 -83
- package/Json/Process/MaterialAttribute.js +23 -45
- package/Json/Process/MaterialAttributeValue.js +28 -71
- package/Json/Process/MaterialType.js +17 -35
- package/Json/Process/Process.js +70 -85
- package/Json/Process/ProcessInput.js +18 -45
- package/Json/Process/ProcessOutput.js +15 -63
- package/Json/Process/ProcessParameterValue.js +21 -70
- package/Json/Process/Protocol.js +80 -83
- package/Json/Process/ProtocolParameter.js +23 -44
- package/Json/Process/Sample.js +66 -93
- package/Json/Process/Source.js +54 -81
- package/Json/Process/StudyMaterials.js +13 -15
- package/Json/Process/Value.js +19 -29
- package/Json/PropertyValue.js +86 -28
- package/Json/Publication.js +92 -115
- package/Json/ROCrateObject.js +146 -0
- package/Json/StringTable.js +27 -10
- package/Json/Study.js +193 -182
- package/Json/Table/ArcTable.js +119 -115
- package/Json/Table/CellTable.js +24 -11
- package/Json/Table/CompositeCell.js +40 -41
- package/Json/Table/CompositeHeader.js +24 -36
- package/Json/Table/IOType.js +9 -31
- package/Json/Table/OATable.js +23 -10
- package/Json/Table/Templates.js +82 -90
- package/Json/context/rocrate/isa_assay_context.js +60 -4
- package/Json/context/rocrate/isa_comment_context.js +28 -4
- package/Json/context/rocrate/isa_component_context.js +44 -4
- package/Json/context/rocrate/isa_data_context.js +40 -4
- package/Json/context/rocrate/isa_factor_context.js +40 -4
- package/Json/context/rocrate/isa_factor_value_context.js +52 -4
- package/Json/context/rocrate/isa_investigation_context.js +68 -4
- package/Json/context/rocrate/isa_material_attribute_context.js +32 -4
- package/Json/context/rocrate/isa_material_attribute_value_context.js +48 -4
- package/Json/context/rocrate/isa_material_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_annotation_context.js +36 -4
- package/Json/context/rocrate/isa_ontology_source_reference_context.js +40 -4
- package/Json/context/rocrate/isa_organization_context.js +24 -4
- package/Json/context/rocrate/isa_person_context.js +85 -5
- package/Json/context/rocrate/isa_process_context.js +56 -4
- package/Json/context/rocrate/isa_process_parameter_value_context.js +48 -4
- package/Json/context/rocrate/isa_protocol_context.js +60 -4
- package/Json/context/rocrate/isa_protocol_parameter_context.js +32 -4
- package/Json/context/rocrate/isa_publication_context.js +44 -4
- package/Json/context/rocrate/isa_sample_context.js +32 -4
- package/Json/context/rocrate/isa_source_context.js +32 -4
- package/Json/context/rocrate/isa_study_context.js +72 -4
- package/Json/context/rocrate/property_value_context.js +58 -2
- package/Json/context/rocrate/rocrate_context.js +45 -5
- package/Json.js +12 -12
- package/JsonIO/ARC.js +31 -0
- package/JsonIO/Assay.js +99 -0
- package/JsonIO/Comment.js +73 -0
- package/JsonIO/Data.js +50 -0
- package/JsonIO/DataFile.js +49 -0
- package/JsonIO/DataMap/DataMap.js +29 -0
- package/JsonIO/Decode.js +4 -0
- package/JsonIO/Investigation.js +99 -0
- package/JsonIO/OntologyAnnotation.js +73 -0
- package/JsonIO/OntologySourceReference.js +73 -0
- package/JsonIO/Person.js +74 -0
- package/JsonIO/Process/Component.js +50 -0
- package/JsonIO/Process/Factor.js +28 -0
- package/JsonIO/Process/FactorValue.js +29 -0
- package/JsonIO/Process/Material.js +50 -0
- package/JsonIO/Process/MaterialAttribute.js +29 -0
- package/JsonIO/Process/MaterialAttributeValue.js +50 -0
- package/JsonIO/Process/MaterialType.js +28 -0
- package/JsonIO/Process/Process.js +50 -0
- package/JsonIO/Process/ProcessInput.js +29 -0
- package/JsonIO/Process/ProcessOutput.js +50 -0
- package/JsonIO/Process/ProcessParameterValue.js +50 -0
- package/{Json → JsonIO}/Process/ProcessSequence.js +16 -16
- package/JsonIO/Process/Protocol.js +50 -0
- package/JsonIO/Process/ProtocolParameter.js +28 -0
- package/JsonIO/Process/Sample.js +50 -0
- package/JsonIO/Process/Source.js +50 -0
- package/JsonIO/Process/StudyMaterials.js +22 -0
- package/JsonIO/Process/Value.js +23 -0
- package/JsonIO/Publication.js +74 -0
- package/JsonIO/ROCrateObject.js +146 -0
- package/JsonIO/Study.js +99 -0
- package/JsonIO/Table/ArcTable.js +82 -0
- package/JsonIO/Table/CompositeCell.js +28 -0
- package/JsonIO/Table/CompositeHeader.js +28 -0
- package/{Json → JsonIO}/Table/Compression.js +20 -10
- package/JsonIO/Table/IOType.js +28 -0
- package/JsonIO/Table/Templates.js +88 -0
- package/ROCrate/ISAProfile/Assay.js +32 -0
- package/ROCrate/ISAProfile/Data.js +28 -0
- package/ROCrate/ISAProfile/Dataset.js +18 -0
- package/ROCrate/ISAProfile/Investigation.js +35 -0
- package/ROCrate/ISAProfile/LabProcess.js +32 -0
- package/ROCrate/ISAProfile/LabProtocol.js +33 -0
- package/ROCrate/ISAProfile/Person.js +35 -0
- package/ROCrate/ISAProfile/PropertyValue.js +30 -0
- package/ROCrate/ISAProfile/Sample.js +27 -0
- package/ROCrate/ISAProfile/ScholarlyArticle.js +30 -0
- package/ROCrate/ISAProfile/Study.js +35 -0
- package/ROCrate/ROCrateObject.js +61 -0
- package/Spreadsheet/AnnotationTable/ArcTable.js +16 -16
- package/Spreadsheet/AnnotationTable/CompositeCell.js +2 -2
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +7 -7
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +25 -25
- package/Spreadsheet/ArcAssay.js +9 -9
- package/Spreadsheet/ArcInvestigation.js +14 -14
- package/Spreadsheet/ArcStudy.js +7 -7
- package/Spreadsheet/CollectionAux.js +11 -11
- package/Spreadsheet/DataMap.js +3 -3
- package/Spreadsheet/DataMapTable/DataMapColumn.js +6 -6
- package/Spreadsheet/DataMapTable/DataMapHeader.js +23 -23
- package/Spreadsheet/DataMapTable/DataMapTable.js +13 -13
- package/Spreadsheet/Metadata/Assays.js +11 -11
- package/Spreadsheet/Metadata/Comment.js +5 -5
- package/Spreadsheet/Metadata/Contacts.js +7 -7
- package/Spreadsheet/Metadata/Conversions.js +7 -7
- package/Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/Spreadsheet/Metadata/Factors.js +8 -8
- package/Spreadsheet/Metadata/OntologyAnnotation.js +6 -6
- package/Spreadsheet/Metadata/OntologySourceReference.js +6 -6
- package/Spreadsheet/Metadata/Protocols.js +9 -9
- package/Spreadsheet/Metadata/Publication.js +7 -7
- package/Spreadsheet/Metadata/SparseTable.js +21 -21
- package/Spreadsheet/Metadata/Study.js +12 -12
- package/Spreadsheet/Template.js +21 -21
- package/Template.Web.js +6 -6
- package/ValidationPackages/ValidationPackage.js +6 -6
- package/ValidationPackages/ValidationPackagesConfig.js +9 -9
- package/WebRequest/WebRequest.Node.js +2 -2
- package/WebRequest/WebRequest.js +2 -2
- package/Xlsx.js +9 -9
- package/Yaml/Encode.js +1 -1
- package/Yaml/ValidationPackage.js +5 -5
- package/Yaml/ValidationPackagesConfig.js +5 -5
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs +219 -0
- package/fable_modules/DynamicObj.4.0.0/DynObj.fs.js +209 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fableproj +47 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs +310 -0
- package/fable_modules/DynamicObj.4.0.0/DynamicObj.fs.js +166 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs +162 -0
- package/fable_modules/DynamicObj.4.0.0/FableJS.fs.js +141 -0
- package/fable_modules/DynamicObj.4.0.0/FablePy.fs +215 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs +46 -0
- package/fable_modules/DynamicObj.4.0.0/HashCodes.fs.js +43 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs +33 -0
- package/fable_modules/DynamicObj.4.0.0/PropertyHelper.fs.js +21 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs +72 -0
- package/fable_modules/DynamicObj.4.0.0/ReflectionUtils.fs.js +86 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0/obj/Release → DynamicObj.4.0.0/obj/Debug}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Debug/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1/obj/Debug → DynamicObj.4.0.0/obj/Release}/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +1 -1
- package/fable_modules/DynamicObj.4.0.0/obj/Release/netstandard2.0/DynamicObj.AssemblyInfo.fs +19 -0
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +6 -6
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +11 -11
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs.js +15 -15
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs.js +1 -1
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Operators.fs.js +6 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs.js +6 -6
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsSpreadsheet.fableproj +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs.js +11 -11
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Cell.fs.js +64 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Column.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Row.fs.js +39 -0
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Table.fs.js +30 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs.js +38 -13
- package/fable_modules/FsSpreadsheet.6.3.0-alpha.4/Json/Workbook.fs.js +46 -0
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs.js +33 -8
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs.js +11 -11
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs.js +5 -5
- package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs.js +2 -2
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs +67 -28
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Decode.fs.js +79 -50
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Encode.fs +139 -54
- package/fable_modules/Thoth.Json.Core.0.4.0/Encode.fs.js +192 -0
- package/fable_modules/Thoth.Json.Core.0.4.0/Thoth.Json.Core.fableproj +33 -0
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs +12 -5
- package/fable_modules/{Thoth.Json.Core.0.2.1 → Thoth.Json.Core.0.4.0}/Types.fs.js +2 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs +9 -0
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Decode.fs.js +16 -2
- package/fable_modules/{Thoth.Json.JavaScript.0.1.0 → Thoth.Json.JavaScript.0.3.0}/Encode.fs +13 -5
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Encode.fs.js +58 -0
- package/fable_modules/Thoth.Json.JavaScript.0.3.0/Thoth.Json.JavaScript.fableproj +28 -0
- package/fable_modules/YAMLicious.0.0.1/Decode.fs.js +17 -17
- package/fable_modules/YAMLicious.0.0.1/Encode.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Library.fs.js +1 -1
- package/fable_modules/YAMLicious.0.0.1/Persil.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/Preprocessing.fs.js +6 -6
- package/fable_modules/YAMLicious.0.0.1/Reader.fs.js +9 -9
- package/fable_modules/YAMLicious.0.0.1/RegexActivePatterns.fs.js +36 -36
- package/fable_modules/YAMLicious.0.0.1/Writer.fs.js +4 -4
- package/fable_modules/YAMLicious.0.0.1/YAMLiciousTypes.fs.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.js +10 -10
- package/fable_modules/fable-library-js.4.22.0/Async.d.ts +27 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Async.js +1 -7
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.d.ts +13 -13
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.js +4 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/CHANGELOG.md +40 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.js +4 -5
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.js +6 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.js +31 -31
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.js +10 -10
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.js +4 -4
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.js +47 -48
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.js +3 -3
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.d.ts +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/String.js +17 -6
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.js +1 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.js +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.d.ts +2 -0
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Uri.js +19 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.d.ts +2 -2
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Util.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.js +0 -1
- package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/package.json +1 -1
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/FsSpreadsheet.6.2.0/DSL/Operators.fs.js +0 -6
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Cell.fs.js +0 -38
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Column.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Row.fs.js +0 -24
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Table.fs.js +0 -15
- package/fable_modules/FsSpreadsheet.6.2.0/Json/Workbook.fs.js +0 -35
- package/fable_modules/Thoth.Json.Core.0.2.1/Encode.fs.js +0 -113
- package/fable_modules/Thoth.Json.Core.0.2.1/Thoth.Json.Core.fableproj +0 -28
- package/fable_modules/Thoth.Json.Core.0.2.1/obj/Debug/netstandard2.0/Thoth.Json.Core.AssemblyInfo.fs +0 -20
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Encode.fs.js +0 -45
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/Thoth.Json.JavaScript.fableproj +0 -21
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Debug/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -18
- package/fable_modules/Thoth.Json.JavaScript.0.1.0/obj/Release/netstandard2.0/Thoth.Json.JavaScript.AssemblyInfo.fs +0 -19
- package/fable_modules/fable-library-js.4.16.0/Async.d.ts +0 -32
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Cell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Column.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Row.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Table.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Value.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Workbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Json/Worksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.6.2.0 → FsSpreadsheet.6.3.0-alpha.4}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Boolean.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Char.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/ConditionalWeakTable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Double.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Encoding.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Event.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.CompilerServices.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Global.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Guid.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Int32.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/List.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Long.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Native.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Numeric.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Observable.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Option.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/README.md +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Reflection.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Result.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Seq2.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/SystemException.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Timer.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Types.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/big.d.ts +0 -0
- /package/fable_modules/{fable-library-js.4.16.0 → fable-library-js.4.22.0}/lib/big.d.ts +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
3
3
|
import { freeTextFromStringCells, dataFromStringCells, unitizedFromStringCells, termFromStringCells } from "./CompositeCell.js";
|
|
4
|
-
import { tryFindIndex, skip, item, equalsWith } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { defaultOf } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { tryFindIndex, skip, item, equalsWith } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
5
|
+
import { defaultOf } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
6
6
|
import { ActivePatterns_$007CComment$007C_$007C, ActivePatterns_$007COutputColumnHeader$007C_$007C, ActivePatterns_$007CInputColumnHeader$007C_$007C, tryParseComponentColumnHeader, tryParseCharacteristicColumnHeader, tryParseFactorColumnHeader, tryParseParameterColumnHeader, ActivePatterns_$007CTSRColumnHeader$007C_$007C, ActivePatterns_$007CTANColumnHeader$007C_$007C, ActivePatterns_$007CUnitColumnHeader$007C_$007C } from "../../Core/Helper/Regex.js";
|
|
7
7
|
import { IOType, CompositeHeader } from "../../Core/Table/CompositeHeader.js";
|
|
8
|
-
import { map } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { toString } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { empty, singleton, append, delay, toArray } from "../../fable_modules/fable-library-js.4.
|
|
8
|
+
import { map } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
9
|
+
import { toString } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
10
|
+
import { empty, singleton, append, delay, toArray } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
11
11
|
|
|
12
12
|
export function ActivePattern_mergeIDInfo(idSpace1, localID1, idSpace2, localID2) {
|
|
13
13
|
if (idSpace1 !== idSpace2) {
|
|
@@ -64,7 +64,7 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryParser, f, cellValues
|
|
|
64
64
|
}
|
|
65
65
|
switch (matchResult) {
|
|
66
66
|
case 0:
|
|
67
|
-
return [f(OntologyAnnotation.create(name)), (cellValues_1) => termFromStringCells(
|
|
67
|
+
return [f(OntologyAnnotation.create(name)), (cellValues_1) => termFromStringCells(undefined, undefined, cellValues_1)];
|
|
68
68
|
case 1: {
|
|
69
69
|
const term = ActivePattern_mergeIDInfo(term1.IDSpace, term1.LocalID, term2.IDSpace, term2.LocalID);
|
|
70
70
|
return [f(OntologyAnnotation.create(name_1, term.TermSourceRef, term.TermAccessionNumber)), (cellValues_2) => termFromStringCells(1, 2, cellValues_2)];
|
|
@@ -182,7 +182,7 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryParser, f, cellValues
|
|
|
182
182
|
return [f(OntologyAnnotation.create(name_4, term_3.TermSourceRef, term_3.TermAccessionNumber)), (cellValues_5) => unitizedFromStringCells(1, 3, 2, cellValues_5)];
|
|
183
183
|
}
|
|
184
184
|
default:
|
|
185
|
-
return
|
|
185
|
+
return undefined;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -199,7 +199,7 @@ export function ActivePattern_$007CParameter$007C_$007C(cellValues) {
|
|
|
199
199
|
return r;
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
202
|
-
return
|
|
202
|
+
return undefined;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
|
|
@@ -210,7 +210,7 @@ export function ActivePattern_$007CFactor$007C_$007C(cellValues) {
|
|
|
210
210
|
return r;
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
|
-
return
|
|
213
|
+
return undefined;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -221,7 +221,7 @@ export function ActivePattern_$007CCharacteristic$007C_$007C(cellValues) {
|
|
|
221
221
|
return r;
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
224
|
-
return
|
|
224
|
+
return undefined;
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
|
|
@@ -232,13 +232,13 @@ export function ActivePattern_$007CComponent$007C_$007C(cellValues) {
|
|
|
232
232
|
return r;
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
235
|
-
return
|
|
235
|
+
return undefined;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
export function ActivePattern_$007CInput$007C_$007C(cellValues) {
|
|
240
240
|
if (cellValues.length === 0) {
|
|
241
|
-
return
|
|
241
|
+
return undefined;
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
244
244
|
const matchValue = item(0, cellValues);
|
|
@@ -248,8 +248,8 @@ export function ActivePattern_$007CInput$007C_$007C(cellValues) {
|
|
|
248
248
|
const cols = skip(1, cellValues);
|
|
249
249
|
const matchValue_1 = IOType.ofString(ioType);
|
|
250
250
|
if (matchValue_1.tag === 2) {
|
|
251
|
-
const format = map((y) => (1 + y), tryFindIndex((s) =>
|
|
252
|
-
const selectorFormat = map((y_1) => (1 + y_1), tryFindIndex((s_1) =>
|
|
251
|
+
const format = map((y) => (1 + y), tryFindIndex((s) => s.startsWith("Data Format"), cols));
|
|
252
|
+
const selectorFormat = map((y_1) => (1 + y_1), tryFindIndex((s_1) => s_1.startsWith("Data Selector Format"), cols));
|
|
253
253
|
return [new CompositeHeader(11, [new IOType(2, [])]), (cellValues_1) => dataFromStringCells(format, selectorFormat, cellValues_1)];
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
@@ -257,14 +257,14 @@ export function ActivePattern_$007CInput$007C_$007C(cellValues) {
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
260
|
-
return
|
|
260
|
+
return undefined;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
export function ActivePattern_$007COutput$007C_$007C(cellValues) {
|
|
266
266
|
if (cellValues.length === 0) {
|
|
267
|
-
return
|
|
267
|
+
return undefined;
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
270
270
|
const matchValue = item(0, cellValues);
|
|
@@ -274,8 +274,8 @@ export function ActivePattern_$007COutput$007C_$007C(cellValues) {
|
|
|
274
274
|
const cols = skip(1, cellValues);
|
|
275
275
|
const matchValue_1 = IOType.ofString(ioType);
|
|
276
276
|
if (matchValue_1.tag === 2) {
|
|
277
|
-
const format = map((y) => (1 + y), tryFindIndex((s) =>
|
|
278
|
-
const selectorFormat = map((y_1) => (1 + y_1), tryFindIndex((s_1) =>
|
|
277
|
+
const format = map((y) => (1 + y), tryFindIndex((s) => s.startsWith("Data Format"), cols));
|
|
278
|
+
const selectorFormat = map((y_1) => (1 + y_1), tryFindIndex((s_1) => s_1.startsWith("Data Selector Format"), cols));
|
|
279
279
|
return [new CompositeHeader(12, [new IOType(2, [])]), (cellValues_1) => dataFromStringCells(format, selectorFormat, cellValues_1)];
|
|
280
280
|
}
|
|
281
281
|
else {
|
|
@@ -283,7 +283,7 @@ export function ActivePattern_$007COutput$007C_$007C(cellValues) {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
286
|
-
return
|
|
286
|
+
return undefined;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
}
|
|
@@ -307,7 +307,7 @@ export function ActivePattern_$007CComment$007C_$007C(cellValues) {
|
|
|
307
307
|
case 0:
|
|
308
308
|
return [new CompositeHeader(14, [key]), freeTextFromStringCells];
|
|
309
309
|
default:
|
|
310
|
-
return
|
|
310
|
+
return undefined;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
|
|
@@ -317,7 +317,7 @@ export function ActivePattern_$007CProtocolType$007C_$007C(cellValues) {
|
|
|
317
317
|
return s;
|
|
318
318
|
}
|
|
319
319
|
else {
|
|
320
|
-
return
|
|
320
|
+
return undefined;
|
|
321
321
|
}
|
|
322
322
|
}, (_arg) => (new CompositeHeader(4, [])), cellValues);
|
|
323
323
|
if (activePatternResult != null) {
|
|
@@ -325,7 +325,7 @@ export function ActivePattern_$007CProtocolType$007C_$007C(cellValues) {
|
|
|
325
325
|
return r;
|
|
326
326
|
}
|
|
327
327
|
else {
|
|
328
|
-
return
|
|
328
|
+
return undefined;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
|
|
@@ -371,7 +371,7 @@ export function ActivePattern_$007CProtocolHeader$007C_$007C(cellValues) {
|
|
|
371
371
|
case 5:
|
|
372
372
|
return [new CompositeHeader(10, []), freeTextFromStringCells];
|
|
373
373
|
default:
|
|
374
|
-
return
|
|
374
|
+
return undefined;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
|
|
@@ -380,7 +380,7 @@ export function ActivePattern_$007CFreeText$007C_$007C(cellValues) {
|
|
|
380
380
|
return [new CompositeHeader(13, [item(0, cellValues)]), freeTextFromStringCells];
|
|
381
381
|
}
|
|
382
382
|
else {
|
|
383
|
-
return
|
|
383
|
+
return undefined;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
|
package/Spreadsheet/ArcAssay.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.
|
|
2
|
-
import { iterate, isEmpty as isEmpty_1, tryPick, choose, tryFind, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorksheet.fs.js";
|
|
2
|
+
import { iterate, isEmpty as isEmpty_1, tryPick, choose, tryFind, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../fable_modules/fable-library-js.4.22.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, ofSeq, singleton as singleton_1 } from "../fable_modules/fable-library-js.4.
|
|
5
|
+
import { empty, isEmpty, ofSeq, singleton as singleton_1 } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
6
6
|
import { fromRows as fromRows_2, toRows as toRows_2 } from "./Metadata/Contacts.js";
|
|
7
|
-
import { toConsole, printf, toFail } from "../fable_modules/fable-library-js.4.
|
|
8
|
-
import { getEnumerator } from "../fable_modules/fable-library-js.4.
|
|
7
|
+
import { toConsole, printf, toFail } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
8
|
+
import { getEnumerator } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
9
9
|
import { ArcAssay } from "../Core/ArcTypes.js";
|
|
10
10
|
import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
|
|
11
|
-
import { unwrap, toArray, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
11
|
+
import { unwrap, toArray, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
12
12
|
import { toFsWorksheet as toFsWorksheet_1, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
13
13
|
import { toFsWorksheet, tryFromFsWorksheet as tryFromFsWorksheet_1 } from "./DataMapTable/DataMapTable.js";
|
|
14
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.
|
|
14
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorkbook.fs.js";
|
|
15
15
|
|
|
16
16
|
export function ArcAssay_toMetadataSheet(assay) {
|
|
17
17
|
let assay_1;
|
|
@@ -27,8 +27,8 @@ export function ArcAssay_fromMetadataSheet(sheet) {
|
|
|
27
27
|
const rows_1 = map(SparseRowModule_fromFsRow, sheet.Rows);
|
|
28
28
|
const patternInput = exists((row) => {
|
|
29
29
|
const s = head(row)[1];
|
|
30
|
-
return s.
|
|
31
|
-
}, rows_1) ? ["Assay", "Assay Person"] : [
|
|
30
|
+
return s.startsWith("Assay");
|
|
31
|
+
}, rows_1) ? ["Assay", "Assay Person"] : [undefined, undefined];
|
|
32
32
|
const en = getEnumerator(rows_1);
|
|
33
33
|
const loop = (lastLine_mut, assays_mut, contacts_mut, lineNumber_mut) => {
|
|
34
34
|
let k;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Record } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { record_type, list_type, string_type } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { Record } from "../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type } from "../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
3
3
|
import { Remark, Comment$_$reflection } from "../Core/Comment.js";
|
|
4
|
-
import { head, tail, isEmpty, ofSeq, concat, unzip, append, reverse, cons, empty, map, ofArray } from "../fable_modules/fable-library-js.4.
|
|
4
|
+
import { head, tail, isEmpty, ofSeq, concat, unzip, append, reverse, cons, empty, map, ofArray } from "../fable_modules/fable-library-js.4.22.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_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./Metadata/SparseTable.js";
|
|
7
|
-
import { addToDict } from "../fable_modules/fable-library-js.4.
|
|
8
|
-
import { value as value_1, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
7
|
+
import { addToDict } from "../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
8
|
+
import { value as value_1, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
9
9
|
import { Option_fromValueWithDefault, ResizeArray_iter } from "../Core/Helper/Collections.js";
|
|
10
|
-
import { List_distinctBy, List_distinct } from "../fable_modules/fable-library-js.4.
|
|
11
|
-
import { comparePrimitives, getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.
|
|
10
|
+
import { List_distinctBy, List_distinct } from "../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
11
|
+
import { comparePrimitives, getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
12
12
|
import { ArcStudy, ArcInvestigation } from "../Core/ArcTypes.js";
|
|
13
13
|
import { toRows, fromRows } from "./Metadata/OntologySourceReference.js";
|
|
14
14
|
import { toRows as toRows_1, fromRows as fromRows_1 } from "./Metadata/Publication.js";
|
|
15
15
|
import { toRows as toRows_2, fromRows as fromRows_2 } from "./Metadata/Contacts.js";
|
|
16
16
|
import { toRows as toRows_3, fromRows as fromRows_3 } from "./Metadata/Study.js";
|
|
17
|
-
import { iterateIndexed, map as map_1, tryFind as tryFind_1, toList, collect, singleton, append as append_1, delay } from "../fable_modules/fable-library-js.4.
|
|
18
|
-
import { tryFind, ofList } from "../fable_modules/fable-library-js.4.
|
|
19
|
-
import { printf, toFail } from "../fable_modules/fable-library-js.4.
|
|
20
|
-
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.
|
|
21
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.
|
|
17
|
+
import { iterateIndexed, map as map_1, tryFind as tryFind_1, toList, collect, singleton, append as append_1, delay } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
18
|
+
import { tryFind, ofList } from "../fable_modules/fable-library-js.4.22.0/Map.js";
|
|
19
|
+
import { printf, toFail } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
20
|
+
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorksheet.fs.js";
|
|
21
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorkbook.fs.js";
|
|
22
22
|
|
|
23
23
|
export class ArcInvestigation_InvestigationInfo extends Record {
|
|
24
24
|
constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, Comments) {
|
|
@@ -50,7 +50,7 @@ export function ArcInvestigation_InvestigationInfo_FromSparseTable_3ECCA699(matr
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export function ArcInvestigation_InvestigationInfo_ToSparseTable_Z720BD3FF(investigation) {
|
|
53
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
53
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, ArcInvestigation_InvestigationInfo_get_Labels(), undefined, 2);
|
|
54
54
|
let commentKeys = empty();
|
|
55
55
|
addToDict(matrix.Matrix, ["Investigation Identifier", 1], investigation.Identifier);
|
|
56
56
|
addToDict(matrix.Matrix, ["Investigation Title", 1], defaultArg(investigation.Title, ""));
|
|
@@ -243,7 +243,7 @@ export function ArcInvestigation_toRows(investigation) {
|
|
|
243
243
|
let remarks, rows;
|
|
244
244
|
return (remarks = ofSeq(investigation.Remarks), (rows = delay(() => append_1(singleton(SparseRowModule_fromValues(["ONTOLOGY SOURCE REFERENCE"])), delay(() => append_1(toRows(ofSeq(investigation.OntologySourceReferences)), delay(() => append_1(singleton(SparseRowModule_fromValues(["INVESTIGATION"])), delay(() => append_1(ArcInvestigation_InvestigationInfo_toRows_Z720BD3FF(investigation), delay(() => append_1(singleton(SparseRowModule_fromValues(["INVESTIGATION PUBLICATIONS"])), delay(() => append_1(toRows_1("Investigation Publication", ofSeq(investigation.Publications)), delay(() => append_1(singleton(SparseRowModule_fromValues(["INVESTIGATION CONTACTS"])), delay(() => append_1(toRows_2("Investigation Person", ofSeq(investigation.Contacts)), delay(() => collect((studyIdentifier) => {
|
|
245
245
|
const study = defaultArg(investigation.TryGetStudy(studyIdentifier), new ArcStudy(studyIdentifier));
|
|
246
|
-
return append_1(singleton(SparseRowModule_fromValues(["STUDY"])), delay(() => toRows_3(study,
|
|
246
|
+
return append_1(singleton(SparseRowModule_fromValues(["STUDY"])), delay(() => toRows_3(study, undefined)));
|
|
247
247
|
}, investigation.RegisteredStudyIdentifiers)))))))))))))))))), (() => {
|
|
248
248
|
try {
|
|
249
249
|
const rm = ofList(map((remark) => Remark.toTuple(remark), remarks), {
|
package/Spreadsheet/ArcStudy.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.
|
|
2
|
-
import { iterate, tryPick, tryFind, map, append, iterateIndexed } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { FsWorksheet } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorksheet.fs.js";
|
|
2
|
+
import { iterate, tryPick, tryFind, map, append, iterateIndexed } from "../fable_modules/fable-library-js.4.22.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 { toConsole, printf, toFail } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { unwrap, toArray, defaultArg } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { getEnumerator } from "../fable_modules/fable-library-js.4.
|
|
5
|
+
import { toConsole, printf, toFail } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
6
|
+
import { unwrap, toArray, defaultArg } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
7
|
+
import { getEnumerator } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
8
8
|
import { ArcStudy } from "../Core/ArcTypes.js";
|
|
9
9
|
import { createMissingIdentifier } from "../Core/Helper/Identifier.js";
|
|
10
|
-
import { empty } from "../fable_modules/fable-library-js.4.
|
|
10
|
+
import { empty } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
11
11
|
import { ResizeArray_isEmpty, ResizeArray_choose } from "../Core/Helper/Collections.js";
|
|
12
12
|
import { toFsWorksheet as toFsWorksheet_1, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
13
13
|
import { toFsWorksheet, tryFromFsWorksheet as tryFromFsWorksheet_1 } from "./DataMapTable/DataMapTable.js";
|
|
14
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.
|
|
14
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorkbook.fs.js";
|
|
15
15
|
|
|
16
16
|
export function ArcStudy_toMetadataSheet(study, assays) {
|
|
17
17
|
let source_1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { tryFind, maxBy, skip } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { item, tryItem, skip as skip_1, initialize } from "../fable_modules/fable-library-js.4.
|
|
3
|
-
import { defaultOf, comparePrimitives } from "../fable_modules/fable-library-js.4.
|
|
4
|
-
import { some, value } from "../fable_modules/fable-library-js.4.
|
|
5
|
-
import { empty, tail, cons, head, reverse, isEmpty, tryPick } from "../fable_modules/fable-library-js.4.
|
|
6
|
-
import { tryGetValue } from "../fable_modules/fable-library-js.4.
|
|
7
|
-
import { FSharpRef } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { tryFind, maxBy, skip } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
2
|
+
import { item, tryItem, skip as skip_1, initialize } from "../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
3
|
+
import { defaultOf, comparePrimitives } from "../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
4
|
+
import { some, value } from "../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
5
|
+
import { empty, tail, cons, head, reverse, isEmpty, tryPick } from "../fable_modules/fable-library-js.4.22.0/List.js";
|
|
6
|
+
import { tryGetValue } from "../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
7
|
+
import { FSharpRef } from "../fable_modules/fable-library-js.4.22.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
|
|
@@ -14,7 +14,7 @@ export function Seq_trySkip(i, s) {
|
|
|
14
14
|
return skip(i, s);
|
|
15
15
|
}
|
|
16
16
|
catch (matchValue) {
|
|
17
|
-
return
|
|
17
|
+
return undefined;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -41,7 +41,7 @@ export function Array_trySkip(i, a) {
|
|
|
41
41
|
return skip_1(i, a);
|
|
42
42
|
}
|
|
43
43
|
catch (matchValue) {
|
|
44
|
-
return
|
|
44
|
+
return undefined;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -107,7 +107,7 @@ export function Dictionary_tryGetValue(k, dict) {
|
|
|
107
107
|
return some(patternInput[1]);
|
|
108
108
|
}
|
|
109
109
|
else {
|
|
110
|
-
return
|
|
110
|
+
return undefined;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -122,7 +122,7 @@ export function Dictionary_tryGetString(k, dict) {
|
|
|
122
122
|
return v_1.trim();
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
|
-
return
|
|
125
|
+
return undefined;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
package/Spreadsheet/DataMap.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { printf, toFail } from "../fable_modules/fable-library-js.4.
|
|
2
|
-
import { tryPick } from "../fable_modules/fable-library-js.4.
|
|
1
|
+
import { printf, toFail } from "../fable_modules/fable-library-js.4.22.0/String.js";
|
|
2
|
+
import { tryPick } from "../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
3
3
|
import { toFsWorksheet, tryFromFsWorksheet } from "./DataMapTable/DataMapTable.js";
|
|
4
|
-
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.
|
|
4
|
+
import { FsWorkbook } from "../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorkbook.fs.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Reads an datamap from a spreadsheet
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { toFsCells, fromFsCells } from "./DataMapHeader.js";
|
|
2
|
-
import { transpose, singleton, ofArray, map } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { tryFind, singleton as singleton_1, append, delay, map as map_1, collect, toList } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { distinct } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { bind, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
7
|
-
import { FsCell } from "../../fable_modules/FsSpreadsheet.6.
|
|
2
|
+
import { transpose, singleton, ofArray, map } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
3
|
+
import { tryFind, singleton as singleton_1, append, delay, map as map_1, collect, toList } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
4
|
+
import { distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
5
|
+
import { bind, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
6
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
7
|
+
import { FsCell } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCell.fs.js";
|
|
8
8
|
import { DataContext__get_GeneratedBy, DataContext__get_Description, DataContext__get_ObjectType, DataContext__get_Unit, DataContext__get_Explication } from "../../Core/DataContext.js";
|
|
9
9
|
|
|
10
10
|
export function setFromFsColumns(dc, columns) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { tryFindIndex, tail, head, isEmpty, item, map } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { map as map_1 } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { tryFindIndex, tail, head, isEmpty, item, map } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
|
+
import { unwrap, map as map_1 } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
3
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
4
4
|
import { Data } from "../../Core/Data.js";
|
|
5
5
|
import { DataContext__set_GeneratedBy_6DFDD678, DataContext__set_Description_6DFDD678, DataContext__set_ObjectType_279AAFF2, DataContext__set_Unit_279AAFF2, DataContext__set_Explication_279AAFF2 } from "../../Core/DataContext.js";
|
|
6
6
|
import { Comment$ } from "../../Core/Comment.js";
|
|
7
7
|
import { ActivePatterns_$007CComment$007C_$007C } from "../../Core/Helper/Regex.js";
|
|
8
|
-
import { printf, toFail, join } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { map as map_2, append, delay, toList } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { FsCell } from "../../fable_modules/FsSpreadsheet.6.
|
|
8
|
+
import { printf, toFail, join } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
9
|
+
import { map as map_2, append, delay, toList } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
10
|
+
import { FsCell } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCell.fs.js";
|
|
11
11
|
|
|
12
12
|
export function ActivePattern_ontologyAnnotationFromFsCells(tsrCol, tanCol, cells) {
|
|
13
13
|
const cellValues = map((c) => c.ValueAsString(), cells);
|
|
14
14
|
const tsr = map_1((i) => item(i, cellValues), tsrCol);
|
|
15
15
|
const tan = map_1((i_1) => item(i_1, cellValues), tanCol);
|
|
16
|
-
return new OntologyAnnotation(item(0, cellValues), tsr, tan);
|
|
16
|
+
return new OntologyAnnotation(item(0, cellValues), unwrap(tsr), unwrap(tan));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export function ActivePattern_freeTextFromFsCells(cells) {
|
|
@@ -24,7 +24,7 @@ export function ActivePattern_dataFromFsCells(format, selectorFormat, cells) {
|
|
|
24
24
|
const cellValues = map((c) => c.ValueAsString(), cells);
|
|
25
25
|
const format_1 = map_1((i) => item(i, cellValues), format);
|
|
26
26
|
const selectorFormat_1 = map_1((i_1) => item(i_1, cellValues), selectorFormat);
|
|
27
|
-
return new Data(
|
|
27
|
+
return new Data(undefined, item(0, cellValues), undefined, unwrap(format_1), unwrap(selectorFormat_1));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export function ActivePattern_$007CTerm$007C_$007C(categoryString, cells) {
|
|
@@ -33,23 +33,23 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryString, cells) {
|
|
|
33
33
|
return 1;
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
return
|
|
36
|
+
return undefined;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
const $007CTSRColumnHeaderRaw$007C_$007C = (s_1) => {
|
|
40
|
-
if (s_1.
|
|
40
|
+
if (s_1.startsWith("Term Source REF")) {
|
|
41
41
|
return s_1;
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
|
-
return
|
|
44
|
+
return undefined;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
const $007CTANColumnHeaderRaw$007C_$007C = (s_2) => {
|
|
48
|
-
if (s_2.
|
|
48
|
+
if (s_2.startsWith("Term Accession Number")) {
|
|
49
49
|
return s_2;
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
return
|
|
52
|
+
return undefined;
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
const cellValues = map((c) => c.ValueAsString(), cells);
|
|
@@ -74,7 +74,7 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryString, cells) {
|
|
|
74
74
|
}
|
|
75
75
|
switch (matchResult) {
|
|
76
76
|
case 0:
|
|
77
|
-
return (cells_1) => ActivePattern_ontologyAnnotationFromFsCells(
|
|
77
|
+
return (cells_1) => ActivePattern_ontologyAnnotationFromFsCells(undefined, undefined, cells_1);
|
|
78
78
|
default: {
|
|
79
79
|
let matchResult_1, header_1;
|
|
80
80
|
if (!isEmpty(cellValues)) {
|
|
@@ -162,7 +162,7 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryString, cells) {
|
|
|
162
162
|
case 0:
|
|
163
163
|
return (cells_3) => ActivePattern_ontologyAnnotationFromFsCells(2, 1, cells_3);
|
|
164
164
|
default:
|
|
165
|
-
return
|
|
165
|
+
return undefined;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
@@ -180,7 +180,7 @@ export function ActivePattern_$007CExplication$007C_$007C(cells) {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
183
|
-
return
|
|
183
|
+
return undefined;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
|
|
@@ -194,7 +194,7 @@ export function ActivePattern_$007CUnit$007C_$007C(cells) {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
else {
|
|
197
|
-
return
|
|
197
|
+
return undefined;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
@@ -208,7 +208,7 @@ export function ActivePattern_$007CObjectType$007C_$007C(cells) {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
211
|
-
return
|
|
211
|
+
return undefined;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -238,7 +238,7 @@ export function ActivePattern_$007CDescription$007C_$007C(cells) {
|
|
|
238
238
|
return dc;
|
|
239
239
|
});
|
|
240
240
|
default:
|
|
241
|
-
return
|
|
241
|
+
return undefined;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
@@ -268,7 +268,7 @@ export function ActivePattern_$007CGeneratedBy$007C_$007C(cells) {
|
|
|
268
268
|
return dc;
|
|
269
269
|
});
|
|
270
270
|
default:
|
|
271
|
-
return
|
|
271
|
+
return undefined;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
@@ -290,7 +290,7 @@ export function ActivePattern_$007CData$007C_$007C(cells) {
|
|
|
290
290
|
switch (matchResult) {
|
|
291
291
|
case 0:
|
|
292
292
|
return (dc) => ((cells_1) => {
|
|
293
|
-
const d = ActivePattern_dataFromFsCells(map_1((y) => (1 + y), tryFindIndex((s) =>
|
|
293
|
+
const d = ActivePattern_dataFromFsCells(map_1((y) => (1 + y), tryFindIndex((s) => s.startsWith("Data Format"), cols)), map_1((y_1) => (1 + y_1), tryFindIndex((s_1) => s_1.startsWith("Data Selector Format"), cols)), cells_1);
|
|
294
294
|
dc.FilePath = d.FilePath;
|
|
295
295
|
dc.Selector = d.Selector;
|
|
296
296
|
dc.Format = d.Format;
|
|
@@ -298,7 +298,7 @@ export function ActivePattern_$007CData$007C_$007C(cells) {
|
|
|
298
298
|
return dc;
|
|
299
299
|
});
|
|
300
300
|
default:
|
|
301
|
-
return
|
|
301
|
+
return undefined;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -331,7 +331,7 @@ export function ActivePattern_$007CComment$007C_$007C(cells) {
|
|
|
331
331
|
return dc;
|
|
332
332
|
});
|
|
333
333
|
default:
|
|
334
|
-
return
|
|
334
|
+
return undefined;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -358,7 +358,7 @@ export function ActivePattern_$007CFreetext$007C_$007C(cells) {
|
|
|
358
358
|
return dc;
|
|
359
359
|
});
|
|
360
360
|
default:
|
|
361
|
-
return
|
|
361
|
+
return undefined;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { iterateIndexed, head, length, iterate, exists, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { iterateIndexed, head, length, iterate, exists, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { Aux_List_groupWhen } from "../AnnotationTable/ArcTable.js";
|
|
3
|
-
import { toList, map, delay, toArray, item, tryFind } from "../../fable_modules/fable-library-js.4.
|
|
3
|
+
import { toList, map, delay, toArray, item, tryFind } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
4
4
|
import { DataContext_$ctor_Z780A8A2A } from "../../Core/DataContext.js";
|
|
5
|
-
import { rangeDouble } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { rangeDouble } from "../../fable_modules/fable-library-js.4.22.0/Range.js";
|
|
6
6
|
import { toFsColumns, setFromFsColumns } from "./DataMapColumn.js";
|
|
7
|
-
import { printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
8
8
|
import { DataMap__get_DataContexts, DataMap_$ctor_4E3220A7 } from "../../Core/DataMap.js";
|
|
9
|
-
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.6.
|
|
10
|
-
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../fable_modules/FsSpreadsheet.6.
|
|
11
|
-
import { FsAddress_$ctor_Z37302880 } from "../../fable_modules/FsSpreadsheet.6.
|
|
12
|
-
import { Dictionary_tryGet } from "../../fable_modules/FsSpreadsheet.6.
|
|
13
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
14
|
-
import { FsRangeBase__Cell_Z3407A44B } from "../../fable_modules/FsSpreadsheet.6.
|
|
9
|
+
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsWorksheet.fs.js";
|
|
10
|
+
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Ranges/FsRangeAddress.fs.js";
|
|
11
|
+
import { FsAddress_$ctor_Z37302880 } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsAddress.fs.js";
|
|
12
|
+
import { Dictionary_tryGet } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCellsCollection.fs.js";
|
|
13
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
14
|
+
import { FsRangeBase__Cell_Z3407A44B } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Ranges/FsRangeBase.fs.js";
|
|
15
15
|
|
|
16
16
|
export const helperColumnStrings = ofArray(["Term Source REF", "Term Accession Number", "Data Format", "Data Selector Format"]);
|
|
17
17
|
|
|
18
18
|
export function groupColumnsByHeader(columns) {
|
|
19
19
|
return Aux_List_groupWhen((c) => {
|
|
20
20
|
const v = c.Item(1).ValueAsString();
|
|
21
|
-
return !exists((s) =>
|
|
21
|
+
return !exists((s) => v.startsWith(s), helperColumnStrings);
|
|
22
22
|
}, columns);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ export function groupColumnsByHeader(columns) {
|
|
|
26
26
|
* Returns the annotation table of the worksheet if it exists, else returns None
|
|
27
27
|
*/
|
|
28
28
|
export function tryDataMapTable(sheet) {
|
|
29
|
-
return tryFind((t) =>
|
|
29
|
+
return tryFind((t) => t.Name.startsWith("datamapTable"), sheet.Tables);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -48,7 +48,7 @@ export function tryFromFsWorksheet(sheet) {
|
|
|
48
48
|
try {
|
|
49
49
|
const matchValue = tryDataMapTable(sheet);
|
|
50
50
|
if (matchValue == null) {
|
|
51
|
-
return
|
|
51
|
+
return undefined;
|
|
52
52
|
}
|
|
53
53
|
else {
|
|
54
54
|
const t = matchValue;
|