@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,31 +1,31 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map as map_1, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map as map_1, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
3
|
+
import { defaultArg, map, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
4
|
import { ResizeArray_iter, Option_fromValueWithDefault } from "../../Core/Helper/Collections.js";
|
|
4
|
-
import { unwrap, defaultArg, map } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
5
5
|
import { JsonTypes_composeTechnologyPlatform, JsonTypes_decomposeTechnologyPlatform } from "../../Core/Conversion.js";
|
|
6
6
|
import { ArcAssay } from "../../Core/ArcTypes.js";
|
|
7
7
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
8
8
|
import { Assay_fileNameFromIdentifier, removeMissingIdentifier, Assay_identifierFromFileName, createMissingIdentifier } from "../../Core/Helper/Identifier.js";
|
|
9
9
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
10
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
12
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
10
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
11
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
12
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
13
13
|
|
|
14
14
|
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"]);
|
|
15
15
|
|
|
16
16
|
export function fromString(measurementType, measurementTypeTermSourceREF, measurementTypeTermAccessionNumber, technologyType, technologyTypeTermSourceREF, technologyTypeTermAccessionNumber, technologyPlatform, fileName, comments) {
|
|
17
|
-
const measurementType_1 = OntologyAnnotation.create(measurementType, measurementTypeTermSourceREF, measurementTypeTermAccessionNumber);
|
|
18
|
-
const technologyType_1 = OntologyAnnotation.create(technologyType, technologyTypeTermSourceREF, technologyTypeTermAccessionNumber);
|
|
17
|
+
const measurementType_1 = OntologyAnnotation.create(unwrap(measurementType), unwrap(measurementTypeTermSourceREF), unwrap(measurementTypeTermAccessionNumber));
|
|
18
|
+
const technologyType_1 = OntologyAnnotation.create(unwrap(technologyType), unwrap(technologyTypeTermSourceREF), unwrap(technologyTypeTermAccessionNumber));
|
|
19
19
|
const measurementType_2 = Option_fromValueWithDefault(new OntologyAnnotation(), measurementType_1);
|
|
20
20
|
const technologyType_2 = Option_fromValueWithDefault(new OntologyAnnotation(), technologyType_1);
|
|
21
21
|
const technologyPlatform_1 = map(JsonTypes_decomposeTechnologyPlatform, technologyPlatform);
|
|
22
|
-
return ArcAssay.make(fileName, measurementType_2, technologyType_2, technologyPlatform_1, [],
|
|
22
|
+
return ArcAssay.make(fileName, measurementType_2, technologyType_2, technologyPlatform_1, [], undefined, [], comments);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export function fromSparseTable(matrix) {
|
|
26
26
|
if ((matrix.ColumnCount === 0) && (length(matrix.CommentKeys) !== 0)) {
|
|
27
27
|
const comments = SparseTable_GetEmptyComments_3ECCA699(matrix);
|
|
28
|
-
return singleton(ArcAssay.create(createMissingIdentifier(),
|
|
28
|
+
return singleton(ArcAssay.create(createMissingIdentifier(), undefined, undefined, undefined, undefined, undefined, undefined, comments));
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
31
|
return initialize(matrix.ColumnCount, (i) => {
|
|
@@ -38,10 +38,10 @@ export function fromSparseTable(matrix) {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export function toSparseTable(assays) {
|
|
41
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
41
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(assays) + 1);
|
|
42
42
|
let commentKeys = empty();
|
|
43
43
|
iterateIndexed((i, a) => {
|
|
44
|
-
const processedFileName =
|
|
44
|
+
const processedFileName = a.Identifier.startsWith("MISSING_IDENTIFIER_") ? removeMissingIdentifier(a.Identifier) : Assay_fileNameFromIdentifier(a.Identifier);
|
|
45
45
|
const i_1 = (i + 1) | 0;
|
|
46
46
|
let mt_1;
|
|
47
47
|
const mt = defaultArg(a.MeasurementType, new OntologyAnnotation());
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ActivePatterns_$007CRegex$007C_$007C } from "../../Core/Helper/Regex.js";
|
|
2
|
-
import { printf, toText } from "../../fable_modules/fable-library-js.4.
|
|
2
|
+
import { printf, toText } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
4
4
|
import { Comment$ } from "../../Core/Comment.js";
|
|
5
|
-
import { bind, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { bind, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
6
6
|
|
|
7
7
|
export const Comment_commentValueKey = "commentValue";
|
|
8
8
|
|
|
@@ -22,14 +22,14 @@ export function Comment_$007CComment$007C_$007C(key) {
|
|
|
22
22
|
const r_1 = activePatternResult_1;
|
|
23
23
|
const v = (r_1.groups && r_1.groups[Comment_commentValueKey]) || "";
|
|
24
24
|
if (v === "<>") {
|
|
25
|
-
return
|
|
25
|
+
return undefined;
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
28
|
return v;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
return
|
|
32
|
+
return undefined;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -60,7 +60,7 @@ export function Remark_$007CRemark$007C_$007C(key) {
|
|
|
60
60
|
return (r.groups && r.groups[Remark_remarkValueKey]) || "";
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
|
-
return
|
|
63
|
+
return undefined;
|
|
64
64
|
}
|
|
65
65
|
}, key);
|
|
66
66
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { Person_setCommentFromORCID, Person_setOrcidFromComments } from "../../Core/Conversion.js";
|
|
3
3
|
import { OntologyAnnotation_toAggregatedStrings, OntologyAnnotation_fromAggregatedStrings } from "./Conversions.js";
|
|
4
4
|
import { Person } from "../../Core/Person.js";
|
|
5
5
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
6
6
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
7
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
8
|
-
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
7
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
8
|
+
import { unwrap, defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
9
9
|
import { ResizeArray_iter } from "../../Core/Helper/Collections.js";
|
|
10
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
10
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
12
12
|
|
|
13
13
|
export const lastNameLabel = "Last Name";
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ export const labels = ofArray([lastNameLabel, firstNameLabel, midInitialsLabel,
|
|
|
36
36
|
|
|
37
37
|
export function fromString(lastName, firstName, midInitials, email, phone, fax, address, affiliation, role, rolesTermAccessionNumber, rolesTermSourceREF, comments) {
|
|
38
38
|
let roles_1;
|
|
39
|
-
return Person_setOrcidFromComments((roles_1 = OntologyAnnotation_fromAggregatedStrings(";", role, rolesTermSourceREF, rolesTermAccessionNumber), Person.make(
|
|
39
|
+
return Person_setOrcidFromComments((roles_1 = OntologyAnnotation_fromAggregatedStrings(";", role, rolesTermSourceREF, rolesTermAccessionNumber), Person.make(undefined, lastName, firstName, midInitials, email, phone, fax, address, affiliation, roles_1, comments)));
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
export function fromSparseTable(matrix) {
|
|
@@ -56,7 +56,7 @@ export function fromSparseTable(matrix) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export function toSparseTable(persons) {
|
|
59
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
59
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(persons) + 1);
|
|
60
60
|
let commentKeys = empty();
|
|
61
61
|
iterateIndexed((i, p) => {
|
|
62
62
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { equals } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { defaultArg, value, some } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { equalsWith, fill, map3, fold } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { toText, printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { equals } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
2
|
+
import { defaultArg, value, some } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
|
+
import { equalsWith, fill, map3, fold } from "../../fable_modules/fable-library-js.4.22.0/Array.js";
|
|
4
|
+
import { toText, printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
5
5
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
6
|
-
import { map, fold as fold_1, ofArray, empty } from "../../fable_modules/fable-library-js.4.
|
|
6
|
+
import { map, fold as fold_1, ofArray, empty } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
7
7
|
import { Array_map4 } from "../CollectionAux.js";
|
|
8
8
|
import { Component_toStringObject_Z685B8F25, Component_fromISAString_7C9A7CF8 } from "../../Core/Process/Component.js";
|
|
9
9
|
import { ResizeArray_map } from "../../Core/Helper/Collections.js";
|
|
@@ -14,7 +14,7 @@ import { ProtocolParameter } from "../../Core/Process/ProtocolParameter.js";
|
|
|
14
14
|
*/
|
|
15
15
|
export function Option_fromValueWithDefault(d, v) {
|
|
16
16
|
if (equals(d, v)) {
|
|
17
|
-
return
|
|
17
|
+
return undefined;
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
20
|
return some(v);
|
|
@@ -151,7 +151,7 @@ export function Component_toAggregatedStrings(separator, cs) {
|
|
|
151
151
|
* Returns a list of ISAJson ProtocolParameter objects from ISATab aggregated strings
|
|
152
152
|
*/
|
|
153
153
|
export function ProtocolParameter_fromAggregatedStrings(separator, terms, source, accessions) {
|
|
154
|
-
return ResizeArray_map((arg) => ((parameterName) => ProtocolParameter.make(
|
|
154
|
+
return ResizeArray_map((arg) => ((parameterName) => ProtocolParameter.make(undefined, parameterName))(arg), OntologyAnnotation_fromAggregatedStrings(separator, terms, source, accessions));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { ofArray } from "../../fable_modules/fable-library-js.4.22.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, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
3
|
+
import { defaultArg, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
4
|
import { ResizeArray_iter, Option_fromValueWithDefault } from "../../Core/Helper/Collections.js";
|
|
4
5
|
import { Factor } from "../../Core/Process/Factor.js";
|
|
5
6
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
6
7
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
8
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
9
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
10
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
11
11
|
|
|
12
12
|
export const nameLabel = "Name";
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@ export const typeTermSourceREFLabel = "Type Term Source REF";
|
|
|
20
20
|
export const labels = ofArray([nameLabel, factorTypeLabel, typeTermAccessionNumberLabel, typeTermSourceREFLabel]);
|
|
21
21
|
|
|
22
22
|
export function fromString(name, designType, typeTermSourceREF, typeTermAccessionNumber, comments) {
|
|
23
|
-
const factorType = OntologyAnnotation.create(designType, typeTermSourceREF, typeTermAccessionNumber);
|
|
23
|
+
const factorType = OntologyAnnotation.create(unwrap(designType), unwrap(typeTermSourceREF), unwrap(typeTermAccessionNumber));
|
|
24
24
|
const factorType_1 = Option_fromValueWithDefault(new OntologyAnnotation(), factorType);
|
|
25
25
|
const comments_1 = Option_fromValueWithDefault([], comments);
|
|
26
26
|
return Factor.make(name, factorType_1, comments_1);
|
|
@@ -29,7 +29,7 @@ export function fromString(name, designType, typeTermSourceREF, typeTermAccessio
|
|
|
29
29
|
export function fromSparseTable(matrix) {
|
|
30
30
|
if ((matrix.ColumnCount === 0) && (length(matrix.CommentKeys) !== 0)) {
|
|
31
31
|
const comments = SparseTable_GetEmptyComments_3ECCA699(matrix);
|
|
32
|
-
return singleton(Factor.create(
|
|
32
|
+
return singleton(Factor.create(undefined, undefined, comments));
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
return initialize(matrix.ColumnCount, (i) => {
|
|
@@ -42,7 +42,7 @@ export function fromSparseTable(matrix) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export function toSparseTable(factors) {
|
|
45
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
45
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(factors) + 1);
|
|
46
46
|
let commentKeys = empty();
|
|
47
47
|
iterateIndexed((i, f) => {
|
|
48
48
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, ofArray, map, initialize, singleton, length } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, ofArray, map, initialize, singleton, length } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
3
3
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
4
4
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
5
|
-
import { unwrap } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
6
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
7
7
|
import { ResizeArray_iter } from "../../Core/Helper/Collections.js";
|
|
8
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
8
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
10
10
|
|
|
11
11
|
export function fromSparseTable(label, labelTSR, labelTAN, matrix) {
|
|
12
12
|
let returnVal;
|
|
@@ -25,7 +25,7 @@ export function fromSparseTable(label, labelTSR, labelTAN, matrix) {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export function toSparseTable(label, labelTSR, labelTAN, designs) {
|
|
28
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
28
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, ofArray([label, labelTAN, labelTSR]), undefined, length(designs) + 1);
|
|
29
29
|
let commentKeys = empty();
|
|
30
30
|
iterateIndexed((i, d) => {
|
|
31
31
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { OntologySourceReference } from "../../Core/OntologySourceReference.js";
|
|
3
3
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
4
4
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
5
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
6
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
5
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
6
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
7
7
|
import { ResizeArray_iter } from "../../Core/Helper/Collections.js";
|
|
8
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
8
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
10
10
|
|
|
11
11
|
export const nameLabel = "Term Source Name";
|
|
12
12
|
|
|
@@ -39,7 +39,7 @@ export function fromSparseTable(matrix) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export function toSparseTable(ontologySources) {
|
|
42
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
42
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(ontologySources) + 1);
|
|
43
43
|
let commentKeys = empty();
|
|
44
44
|
iterateIndexed((i, o) => {
|
|
45
45
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofSeq, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofSeq, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
3
|
+
import { defaultArg, map, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
4
|
import { Component_toAggregatedStrings, ProtocolParameter_toAggregatedStrings, Option_fromValueWithDefault, Component_fromAggregatedStrings, ProtocolParameter_fromAggregatedStrings } from "./Conversions.js";
|
|
4
5
|
import { Protocol_create_Z414665E7, Protocol_make } from "../../Core/Process/Protocol.js";
|
|
5
|
-
import { defaultArg, map } from "../../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
6
6
|
import { URIModule_fromString } from "../../Core/URI.js";
|
|
7
7
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
9
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
12
12
|
|
|
13
13
|
export const nameLabel = "Name";
|
|
14
14
|
|
|
@@ -41,15 +41,15 @@ export const componentsTypeTermSourceREFLabel = "Components Type Term Source REF
|
|
|
41
41
|
export const labels = ofArray([nameLabel, protocolTypeLabel, typeTermAccessionNumberLabel, typeTermSourceREFLabel, descriptionLabel, uriLabel, versionLabel, parametersNameLabel, parametersTermAccessionNumberLabel, parametersTermSourceREFLabel, componentsNameLabel, componentsTypeLabel, componentsTypeTermAccessionNumberLabel, componentsTypeTermSourceREFLabel]);
|
|
42
42
|
|
|
43
43
|
export function fromString(name, protocolType, typeTermAccessionNumber, typeTermSourceREF, description, uri, version, parametersName, parametersTermAccessionNumber, parametersTermSourceREF, componentsName, componentsType, componentsTypeTermAccessionNumber, componentsTypeTermSourceREF, comments) {
|
|
44
|
-
const protocolType_1 = OntologyAnnotation.create(protocolType, typeTermSourceREF, typeTermAccessionNumber);
|
|
44
|
+
const protocolType_1 = OntologyAnnotation.create(unwrap(protocolType), unwrap(typeTermSourceREF), unwrap(typeTermAccessionNumber));
|
|
45
45
|
const parameters = ofSeq(ProtocolParameter_fromAggregatedStrings(";", parametersName, parametersTermSourceREF, parametersTermAccessionNumber));
|
|
46
46
|
const components = Component_fromAggregatedStrings(";", componentsName, componentsType, componentsTypeTermSourceREF, componentsTypeTermAccessionNumber);
|
|
47
|
-
return Protocol_make(
|
|
47
|
+
return Protocol_make(undefined, map(URIModule_fromString, name), Option_fromValueWithDefault(new OntologyAnnotation(), protocolType_1), description, map(URIModule_fromString, uri), version, Option_fromValueWithDefault(empty(), parameters), Option_fromValueWithDefault(empty(), components), Option_fromValueWithDefault(empty(), comments));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export function fromSparseTable(matrix) {
|
|
51
51
|
if ((matrix.ColumnCount === 0) && (length(matrix.CommentKeys) !== 0)) {
|
|
52
|
-
return singleton(Protocol_create_Z414665E7(
|
|
52
|
+
return singleton(Protocol_create_Z414665E7(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, ofSeq(SparseTable_GetEmptyComments_3ECCA699(matrix))));
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
return initialize(matrix.ColumnCount, (i) => {
|
|
@@ -60,7 +60,7 @@ export function fromSparseTable(matrix) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export function toSparseTable(protocols) {
|
|
63
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
63
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(protocols) + 1);
|
|
64
64
|
let commentKeys = empty();
|
|
65
65
|
iterateIndexed((i, p) => {
|
|
66
66
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map as map_1, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map as map_1, initialize, singleton, length, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../Core/OntologyAnnotation.js";
|
|
3
|
-
import { defaultArg, map } from "../../fable_modules/fable-library-js.4.
|
|
3
|
+
import { defaultArg, map, unwrap } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
4
4
|
import { URIModule_fromString } from "../../Core/URI.js";
|
|
5
5
|
import { ResizeArray_iter, Option_fromValueWithDefault } from "../../Core/Helper/Collections.js";
|
|
6
6
|
import { Publication } from "../../Core/Publication.js";
|
|
7
7
|
import { SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_3ECCA699 } from "./SparseTable.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
11
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
9
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
12
12
|
|
|
13
13
|
export const pubMedIDLabel = "PubMed ID";
|
|
14
14
|
|
|
@@ -27,7 +27,7 @@ export const statusTermSourceREFLabel = "Status Term Source REF";
|
|
|
27
27
|
export const labels = ofArray([pubMedIDLabel, doiLabel, authorListLabel, titleLabel, statusLabel, statusTermAccessionNumberLabel, statusTermSourceREFLabel]);
|
|
28
28
|
|
|
29
29
|
export function fromString(pubMedID, doi, author, title, status, statusTermSourceREF, statusTermAccessionNumber, comments) {
|
|
30
|
-
const status_1 = new OntologyAnnotation(status, statusTermSourceREF, statusTermAccessionNumber);
|
|
30
|
+
const status_1 = new OntologyAnnotation(unwrap(status), unwrap(statusTermSourceREF), unwrap(statusTermAccessionNumber));
|
|
31
31
|
const pubMedID_1 = map(URIModule_fromString, pubMedID);
|
|
32
32
|
const status_2 = Option_fromValueWithDefault(new OntologyAnnotation(), status_1);
|
|
33
33
|
return Publication.make(pubMedID_1, doi, author, title, status_2, comments);
|
|
@@ -50,7 +50,7 @@ export function fromSparseTable(matrix) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export function toSparseTable(publications) {
|
|
53
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
53
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, labels, undefined, length(publications) + 1);
|
|
54
54
|
let commentKeys = empty();
|
|
55
55
|
iterateIndexed((i, p) => {
|
|
56
56
|
const i_1 = (i + 1) | 0;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { append as append_1, delay, tryItem, length as length_1, isEmpty, iterate, fold, tryPick, maxBy, initialize, choose, map, indexed } from "../../fable_modules/fable-library-js.4.
|
|
2
|
-
import { defaultArg, map as map_1 } from "../../fable_modules/fable-library-js.4.
|
|
3
|
-
import { tryFind, ofSeq } from "../../fable_modules/fable-library-js.4.
|
|
4
|
-
import { arrayHash, equalArrays, equals, comparePrimitives } from "../../fable_modules/fable-library-js.4.
|
|
5
|
-
import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../fable_modules/FsSpreadsheet.6.
|
|
6
|
-
import { CellBuilder_$ctor, CellBuilder__AsCellElement_6F87C2ED } from "../../fable_modules/FsSpreadsheet.6.
|
|
7
|
-
import { Messages_format, SheetEntity$1_some_2B595 } from "../../fable_modules/FsSpreadsheet.6.
|
|
8
|
-
import { DataType } from "../../fable_modules/FsSpreadsheet.6.
|
|
9
|
-
import { map as map_2, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../fable_modules/fable-library-js.4.
|
|
10
|
-
import { ColumnIndex, RowElement } from "../../fable_modules/FsSpreadsheet.6.
|
|
11
|
-
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../fable_modules/FsSpreadsheet.6.
|
|
12
|
-
import { FsAddress_$ctor_Z37302880 } from "../../fable_modules/FsSpreadsheet.6.
|
|
13
|
-
import { Record } from "../../fable_modules/fable-library-js.4.
|
|
14
|
-
import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../fable_modules/fable-library-js.4.
|
|
1
|
+
import { append as append_1, delay, tryItem, length as length_1, isEmpty, iterate, fold, tryPick, maxBy, initialize, choose, map, indexed } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
2
|
+
import { defaultArg, map as map_1 } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
3
|
+
import { tryFind, ofSeq } from "../../fable_modules/fable-library-js.4.22.0/Map.js";
|
|
4
|
+
import { arrayHash, equalArrays, equals, comparePrimitives } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
5
|
+
import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/RowBuilder.fs.js";
|
|
6
|
+
import { CellBuilder_$ctor, CellBuilder__AsCellElement_6F87C2ED } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/CellBuilder.fs.js";
|
|
7
|
+
import { Messages_format, SheetEntity$1_some_2B595 } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Types.fs.js";
|
|
8
|
+
import { DataType } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Cells/FsCell.fs.js";
|
|
9
|
+
import { map as map_2, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
10
|
+
import { ColumnIndex, RowElement } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/DSL/Types.fs.js";
|
|
11
|
+
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/Ranges/FsRangeAddress.fs.js";
|
|
12
|
+
import { FsAddress_$ctor_Z37302880 } from "../../fable_modules/FsSpreadsheet.6.3.0-alpha.4/FsAddress.fs.js";
|
|
13
|
+
import { Record } from "../../fable_modules/fable-library-js.4.22.0/Types.js";
|
|
14
|
+
import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../fable_modules/fable-library-js.4.22.0/Reflection.js";
|
|
15
15
|
import { Seq_trySkip, Dictionary_tryGetValue } from "../CollectionAux.js";
|
|
16
|
-
import { addToDict, getItemFromDict } from "../../fable_modules/fable-library-js.4.
|
|
17
|
-
import { Dictionary } from "../../fable_modules/fable-library-js.4.
|
|
18
|
-
import { printf, toFail } from "../../fable_modules/fable-library-js.4.
|
|
16
|
+
import { addToDict, getItemFromDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
17
|
+
import { Dictionary } from "../../fable_modules/fable-library-js.4.22.0/MutableMap.js";
|
|
18
|
+
import { printf, toFail } from "../../fable_modules/fable-library-js.4.22.0/String.js";
|
|
19
19
|
import { Comment$, Remark } from "../../Core/Comment.js";
|
|
20
20
|
import { Comment_wrapCommentKey, Comment_$007CComment$007C_$007C, Remark_$007CRemark$007C_$007C } from "./Comment.js";
|
|
21
21
|
|
|
@@ -43,7 +43,7 @@ export function SparseRowModule_getAllValues(i) {
|
|
|
43
43
|
export function SparseRowModule_fromFsRow(r) {
|
|
44
44
|
return choose((c) => {
|
|
45
45
|
if (equals(c.Value, "")) {
|
|
46
|
-
return
|
|
46
|
+
return undefined;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
return [c.ColumnNumber - 1, c.ValueAsString()];
|
|
@@ -57,7 +57,7 @@ export function SparseRowModule_tryGetValueAt(i, vs) {
|
|
|
57
57
|
return tupledArg[1];
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
|
-
return
|
|
60
|
+
return undefined;
|
|
61
61
|
}
|
|
62
62
|
}, vs);
|
|
63
63
|
}
|
|
@@ -428,13 +428,13 @@ export function SparseTable_FromRows_Z5579EC29(en, labels, lineNumber, prefix) {
|
|
|
428
428
|
case 2:
|
|
429
429
|
return [k_4, lineNumber_1, remarks, matrix];
|
|
430
430
|
default:
|
|
431
|
-
return [
|
|
431
|
+
return [undefined, lineNumber_1, remarks, matrix];
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
else {
|
|
437
|
-
return [
|
|
437
|
+
return [undefined, lineNumber_1, remarks, matrix];
|
|
438
438
|
}
|
|
439
439
|
break;
|
|
440
440
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { Comment$_$reflection } from "../../Core/Comment.js";
|
|
4
|
-
import { ofSeq, append, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library-js.4.
|
|
4
|
+
import { ofSeq, append, reverse, cons, empty, map, ofArray } from "../../fable_modules/fable-library-js.4.22.0/List.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
6
|
import { SparseRowModule_fromValues, SparseTable_ToRows_759CAFC1, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
|
|
7
7
|
import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../Core/Helper/Identifier.js";
|
|
8
|
-
import { addToDict } from "../../fable_modules/fable-library-js.4.
|
|
9
|
-
import { defaultArg } from "../../fable_modules/fable-library-js.4.
|
|
8
|
+
import { addToDict } from "../../fable_modules/fable-library-js.4.22.0/MapUtil.js";
|
|
9
|
+
import { defaultArg } from "../../fable_modules/fable-library-js.4.22.0/Option.js";
|
|
10
10
|
import { Option_fromValueWithDefault, ResizeArray_iter } from "../../Core/Helper/Collections.js";
|
|
11
|
-
import { List_distinct } from "../../fable_modules/fable-library-js.4.
|
|
12
|
-
import { stringHash } from "../../fable_modules/fable-library-js.4.
|
|
11
|
+
import { List_distinct } from "../../fable_modules/fable-library-js.4.22.0/Seq2.js";
|
|
12
|
+
import { stringHash } from "../../fable_modules/fable-library-js.4.22.0/Util.js";
|
|
13
13
|
import { ArcStudy } from "../../Core/ArcTypes.js";
|
|
14
14
|
import { toRows as toRows_1, fromRows as fromRows_1 } from "./DesignDescriptors.js";
|
|
15
15
|
import { toRows as toRows_2, fromRows as fromRows_2 } from "./Publication.js";
|
|
@@ -17,7 +17,7 @@ import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
|
|
|
17
17
|
import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
|
|
18
18
|
import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
|
|
19
19
|
import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
|
|
20
|
-
import { singleton, append as append_1, delay, collect } from "../../fable_modules/fable-library-js.4.
|
|
20
|
+
import { singleton, append as append_1, delay, collect } from "../../fable_modules/fable-library-js.4.22.0/Seq.js";
|
|
21
21
|
import { ARCtrl_ArcTable__ArcTable_GetProcesses, ARCtrl_ArcTable__ArcTable_GetProtocols } from "../../Core/Conversion.js";
|
|
22
22
|
import { getFactors } from "../../Core/Process/ProcessSequence.js";
|
|
23
23
|
|
|
@@ -52,9 +52,9 @@ export function StudyInfo_FromSparseTable_3ECCA699(matrix) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export function StudyInfo_ToSparseTable_1680536E(study) {
|
|
55
|
-
const matrix = SparseTable_Create_Z2192E64B(
|
|
55
|
+
const matrix = SparseTable_Create_Z2192E64B(undefined, StudyInfo_get_Labels(), undefined, 2);
|
|
56
56
|
let commentKeys = empty();
|
|
57
|
-
const patternInput =
|
|
57
|
+
const patternInput = study.Identifier.startsWith("MISSING_IDENTIFIER_") ? ["", ""] : [study.Identifier, Study_fileNameFromIdentifier(study.Identifier)];
|
|
58
58
|
addToDict(matrix.Matrix, ["Study Identifier", 1], patternInput[0]);
|
|
59
59
|
addToDict(matrix.Matrix, ["Study Title", 1], defaultArg(study.Title, ""));
|
|
60
60
|
addToDict(matrix.Matrix, ["Study Description", 1], defaultArg(study.Description, ""));
|
|
@@ -97,9 +97,9 @@ export function fromParts(studyInfo, designDescriptors, publications, factors, a
|
|
|
97
97
|
const studyDesignDescriptors = Array.from(designDescriptors);
|
|
98
98
|
const registeredAssayIdentifiers = Array.from(assayIdentifiers);
|
|
99
99
|
const comments = Array.from(studyInfo.Comments);
|
|
100
|
-
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, [],
|
|
100
|
+
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, [], undefined, registeredAssayIdentifiers, comments);
|
|
101
101
|
if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
|
|
102
|
-
return
|
|
102
|
+
return undefined;
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
105
105
|
return [arcstudy, assays];
|