@nfdi4plants/arctrl 1.0.0-beta.1 → 1.0.0-beta.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 +24 -24
- package/Contract/Contract.js +3 -3
- package/Contracts/Contracts.ArcAssay.js +3 -3
- package/Contracts/Contracts.ArcInvestigation.js +3 -3
- package/Contracts/Contracts.ArcStudy.js +3 -3
- package/Contracts/Contracts.Git.js +4 -4
- package/FileSystem/Commit.js +2 -2
- package/FileSystem/FileSystem.js +4 -4
- package/FileSystem/FileSystemTree.js +15 -15
- package/FileSystem/Path.js +2 -2
- package/FileSystemTree.js +1 -1
- package/ISA/ISA/ArcTypes/ArcTable.js +20 -20
- package/ISA/ISA/ArcTypes/ArcTableAux.js +17 -17
- package/ISA/ISA/ArcTypes/ArcTables.js +21 -21
- package/ISA/ISA/ArcTypes/ArcTypes.js +64 -64
- package/ISA/ISA/ArcTypes/CompositeCell.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeColumn.js +4 -4
- package/ISA/ISA/ArcTypes/CompositeHeader.js +5 -5
- package/ISA/ISA/ArcTypes/CompositeRow.js +1 -1
- package/ISA/ISA/Builder/Types.js +5 -5
- package/ISA/ISA/Fable.js +5 -5
- package/ISA/ISA/Helper.js +9 -9
- package/ISA/ISA/Identifier.js +2 -2
- package/ISA/ISA/JsonTypes/AnnotationValue.js +5 -5
- package/ISA/ISA/JsonTypes/Assay.js +26 -26
- package/ISA/ISA/JsonTypes/AssayMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/ColumnIndex.js +23 -23
- package/ISA/ISA/JsonTypes/Comment.js +3 -3
- package/ISA/ISA/JsonTypes/CommentList.js +4 -4
- package/ISA/ISA/JsonTypes/Component.js +12 -12
- package/ISA/ISA/JsonTypes/Data.js +4 -4
- package/ISA/ISA/JsonTypes/DataFile.js +2 -2
- package/ISA/ISA/JsonTypes/Factor.js +12 -12
- package/ISA/ISA/JsonTypes/FactorValue.js +5 -5
- package/ISA/ISA/JsonTypes/Investigation.js +6 -6
- package/ISA/ISA/JsonTypes/Material.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialAttribute.js +4 -4
- package/ISA/ISA/JsonTypes/MaterialAttributeValue.js +5 -5
- package/ISA/ISA/JsonTypes/MaterialType.js +2 -2
- package/ISA/ISA/JsonTypes/OntologyAnnotation.js +10 -10
- package/ISA/ISA/JsonTypes/OntologySourceReference.js +8 -8
- package/ISA/ISA/JsonTypes/Person.js +9 -9
- package/ISA/ISA/JsonTypes/Process.js +11 -11
- package/ISA/ISA/JsonTypes/ProcessInput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessOutput.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessParameterValue.js +5 -5
- package/ISA/ISA/JsonTypes/ProcessSequence.js +14 -14
- package/ISA/ISA/JsonTypes/Protocol.js +6 -6
- package/ISA/ISA/JsonTypes/ProtocolParameter.js +4 -4
- package/ISA/ISA/JsonTypes/Publication.js +8 -8
- package/ISA/ISA/JsonTypes/Sample.js +5 -5
- package/ISA/ISA/JsonTypes/Source.js +5 -5
- package/ISA/ISA/JsonTypes/Study.js +58 -58
- package/ISA/ISA/JsonTypes/StudyMaterials.js +4 -4
- package/ISA/ISA/JsonTypes/Value.js +7 -7
- package/ISA/ISA/Regex.js +3 -3
- package/ISA/ISA.Json/Assay.js +5 -5
- package/ISA/ISA.Json/Comment.js +5 -5
- package/ISA/ISA.Json/ConverterOptions.js +1 -1
- package/ISA/ISA.Json/Data.js +5 -5
- package/ISA/ISA.Json/Decode.js +4 -4
- package/ISA/ISA.Json/Factor.js +5 -5
- package/ISA/ISA.Json/GEncode.js +3 -3
- package/ISA/ISA.Json/Investigation.js +6 -6
- package/ISA/ISA.Json/Material.js +5 -5
- package/ISA/ISA.Json/Ontology.js +6 -6
- package/ISA/ISA.Json/Person.js +10 -10
- package/ISA/ISA.Json/Process.js +5 -5
- package/ISA/ISA.Json/Protocol.js +6 -6
- package/ISA/ISA.Json/Publication.js +4 -4
- package/ISA/ISA.Json/Study.js +6 -6
- package/ISA/ISA.Json/Validation/Fable.js +6 -6
- package/ISA/ISA.Json/Validation/JsonSchemaValidation.js +1 -1
- package/ISA/ISA.Json/Validation/ValidationResult.js +2 -2
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +9 -9
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +8 -8
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +9 -9
- package/ISA/ISA.Spreadsheet/ArcAssay.js +13 -13
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +36 -36
- package/ISA/ISA.Spreadsheet/ArcStudy.js +10 -10
- package/ISA/ISA.Spreadsheet/CollectionAux.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Assays.js +10 -10
- package/ISA/ISA.Spreadsheet/Metadata/Comment.js +6 -6
- package/ISA/ISA.Spreadsheet/Metadata/Contacts.js +11 -11
- package/ISA/ISA.Spreadsheet/Metadata/Conversions.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.js +1 -1
- package/ISA/ISA.Spreadsheet/Metadata/Factors.js +8 -8
- package/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.js +7 -7
- package/ISA/ISA.Spreadsheet/Metadata/Protocols.js +5 -5
- package/ISA/ISA.Spreadsheet/Metadata/Publication.js +9 -9
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +19 -19
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
- package/README.md +29 -256
- package/SemVer.js +7 -7
- package/Templates/Template.Json.js +7 -7
- package/Templates/Template.Spreadsheet.js +20 -20
- package/Templates/Template.Web.js +4 -4
- package/Templates/Template.js +7 -7
- package/Templates/Templates.js +5 -5
- package/WebRequest/WebRequest.js +4 -4
- package/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +8 -8
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.2.2.2}/Fable.Promise.fableproj +3 -4
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs +176 -0
- package/fable_modules/Fable.Promise.2.2.2/Promise.fs.js +143 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs +4 -0
- package/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs.js +4 -0
- package/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +8 -8
- package/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs.js +14 -14
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +19 -19
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/Thoth.Json.10.1.0/Decode.fs.js +26 -26
- package/fable_modules/Thoth.Json.10.1.0/Encode.fs.js +13 -13
- package/fable_modules/Thoth.Json.10.1.0/Extra.fs.js +2 -2
- package/fable_modules/Thoth.Json.10.1.0/Types.fs.js +6 -6
- package/fable_modules/fable-library.4.4.1/CHANGELOG.md +11 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.js +1 -1
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/README.md +2 -2
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.js +64 -64
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.d.ts +20 -0
- package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Util.js +120 -0
- package/fable_modules/fable-library.4.4.1/lib/big.d.ts +5 -0
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -104
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -217
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -19
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.0.0 → FsSpreadsheet.5.0.1}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Array.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Async.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/AsyncBuilder.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BigInt.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/BitConverter.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Boolean.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Char.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Choice.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Date.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOffset.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/DateOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Decimal.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Double.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Encoding.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Event.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Collections.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/FSharp.Core.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Global.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Guid.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Int32.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/List.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Long.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MailboxProcessor.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Map.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MapUtil.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableMap.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/MutableSet.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Native.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Numeric.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Observable.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Option.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Random.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Range.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Reflection.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/RegExp.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Seq2.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Set.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/String.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Collections.Generic.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/System.Text.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/SystemException.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeOnly.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/TimeSpan.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Timer.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Types.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Unicode.13.0.0.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.d.ts +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/Uri.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/lib/big.js +0 -0
- /package/fable_modules/{fable-library.4.1.4 → fable-library.4.4.1}/package.json +0 -0
package/ISA/ISA.Json/Decode.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { fromString, string } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
2
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1
|
|
3
|
-
import { printf, toText } from "../../fable_modules/fable-library.4.1
|
|
2
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
3
|
+
import { printf, toText } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
4
4
|
import { ErrorReason } from "../../fable_modules/Thoth.Json.10.1.0/Types.fs.js";
|
|
5
|
-
import { contains, exists } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { stringHash } from "../../fable_modules/fable-library.4.1
|
|
5
|
+
import { contains, exists } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
6
|
+
import { stringHash } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
7
7
|
|
|
8
8
|
export function isURI(s) {
|
|
9
9
|
return true;
|
package/ISA/ISA.Json/Factor.js
CHANGED
|
@@ -2,14 +2,14 @@ import { Value } from "../ISA/JsonTypes/Value.js";
|
|
|
2
2
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
3
3
|
import { object as object_8, toString, nil } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
4
4
|
import { array, object as object_9, string, float, int } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
5
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1
|
|
5
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
6
6
|
import { uri, fromJsonString } from "./Decode.js";
|
|
7
|
-
import { equals, uncurry2 } from "../../fable_modules/fable-library.4.1
|
|
7
|
+
import { equals, uncurry2 } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
8
8
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID, ConverterOptions_$ctor } from "./ConverterOptions.js";
|
|
9
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
9
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
10
10
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
11
|
-
import { choose } from "../../fable_modules/fable-library.4.1
|
|
12
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
11
|
+
import { choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
12
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
13
13
|
import { tryInclude } from "./GEncode.js";
|
|
14
14
|
import { decoder as decoder_1, encoder } from "./Comment.js";
|
|
15
15
|
import { Factor } from "../ISA/JsonTypes/Factor.js";
|
package/ISA/ISA.Json/GEncode.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { value as value_1 } from "../../fable_modules/fable-library.4.1
|
|
2
|
-
import { isIterable } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { value as value_1 } from "../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { isIterable } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
3
3
|
import { nil, seq } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
4
|
-
import { map } from "../../fable_modules/fable-library.4.1
|
|
4
|
+
import { map } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Try to encode the given object using the given encoder, or return Encode.nil if the object is null
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
2
2
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
3
3
|
import { toString, nil, object as object_24 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
4
|
-
import { empty as empty_1, choose } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
4
|
+
import { empty as empty_1, choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
7
7
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
8
8
|
import { tryInclude } from "./GEncode.js";
|
|
9
9
|
import { OntologySourceReference_decoder, OntologySourceReference_encoder } from "./Ontology.js";
|
|
@@ -114,8 +114,8 @@ export function Investigation_toStringLD(i) {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
export function ArcInvestigation_fromJsonString(s) {
|
|
117
|
-
const
|
|
118
|
-
return ArcInvestigation.fromInvestigation(
|
|
117
|
+
const i = fromJsonString(uncurry2(Investigation_decoder(ConverterOptions_$ctor())), s);
|
|
118
|
+
return ArcInvestigation.fromInvestigation(i);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export function ArcInvestigation_toJsonString(a) {
|
package/ISA/ISA.Json/Material.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MaterialType } from "../ISA/JsonTypes/MaterialType.js";
|
|
2
2
|
import { toString, object as object_10, nil } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
3
3
|
import { list as list_1, object as object_11, string } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
4
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1
|
|
4
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
5
5
|
import { ErrorReason } from "../../fable_modules/Thoth.Json.10.1.0/Types.fs.js";
|
|
6
6
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
7
|
-
import { ofArray, choose } from "../../fable_modules/fable-library.4.1
|
|
8
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
9
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
7
|
+
import { ofArray, choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
8
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
9
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
10
10
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
11
11
|
import { tryInclude } from "./GEncode.js";
|
|
12
12
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
@@ -14,7 +14,7 @@ import { hasUnknownFields, fromJsonString, uri } from "./Decode.js";
|
|
|
14
14
|
import { MaterialAttribute } from "../ISA/JsonTypes/MaterialAttribute.js";
|
|
15
15
|
import { Value_decoder, Value_encoder } from "./Factor.js";
|
|
16
16
|
import { MaterialAttributeValue } from "../ISA/JsonTypes/MaterialAttributeValue.js";
|
|
17
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
17
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
18
18
|
import { Material } from "../ISA/JsonTypes/Material.js";
|
|
19
19
|
|
|
20
20
|
export function MaterialType_encoder(options, value) {
|
package/ISA/ISA.Json/Ontology.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AnnotationValue } from "../ISA/JsonTypes/AnnotationValue.js";
|
|
2
2
|
import { toString, object as object_10, nil } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
3
3
|
import { array, object as object_11, string, float, int } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
4
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { choose } from "../../fable_modules/fable-library.4.1
|
|
7
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
8
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
4
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
5
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
6
|
+
import { choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
7
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
8
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
9
9
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
10
10
|
import { tryInclude } from "./GEncode.js";
|
|
11
11
|
import { decoder as decoder_1, encoder } from "./Comment.js";
|
|
@@ -13,7 +13,7 @@ import { fromJsonString, uri } from "./Decode.js";
|
|
|
13
13
|
import { OntologySourceReference } from "../ISA/JsonTypes/OntologySourceReference.js";
|
|
14
14
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
15
15
|
import { OntologyAnnotation } from "../ISA/JsonTypes/OntologyAnnotation.js";
|
|
16
|
-
import { unwrap } from "../../fable_modules/fable-library.4.1
|
|
16
|
+
import { unwrap } from "../../fable_modules/fable-library.4.4.1/Option.js";
|
|
17
17
|
|
|
18
18
|
export function AnnotationValue_encoder(options, value) {
|
|
19
19
|
if (value instanceof AnnotationValue) {
|
package/ISA/ISA.Json/Person.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tryPick } from "../../fable_modules/fable-library.4.1
|
|
2
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { tryPick } from "../../fable_modules/fable-library.4.4.1/Array.js";
|
|
2
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
3
3
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
4
4
|
import { Person } from "../ISA/JsonTypes/Person.js";
|
|
5
5
|
import { toString, nil, object as object_22 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
6
|
-
import { choose } from "../../fable_modules/fable-library.4.1
|
|
7
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
8
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
6
|
+
import { choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
7
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
8
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
9
9
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
10
10
|
import { tryInclude } from "./GEncode.js";
|
|
11
11
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
@@ -116,8 +116,8 @@ export function genID(p) {
|
|
|
116
116
|
|
|
117
117
|
export function encoder(options, oa) {
|
|
118
118
|
let oa_1;
|
|
119
|
-
const
|
|
120
|
-
oa_1 = Person.setCommentFromORCID(
|
|
119
|
+
const person = oa;
|
|
120
|
+
oa_1 = Person.setCommentFromORCID(person);
|
|
121
121
|
return object_22(choose((tupledArg) => {
|
|
122
122
|
const v = tupledArg[1];
|
|
123
123
|
if (equals(v, nil)) {
|
|
@@ -174,15 +174,15 @@ export function encoder(options, oa) {
|
|
|
174
174
|
export function decoder(options) {
|
|
175
175
|
return (path_10) => ((v) => object_23((get$) => {
|
|
176
176
|
let objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, objectArg_7, objectArg_8, arg_19, decoder_1, objectArg_9, arg_21, decoder_2, objectArg_10;
|
|
177
|
-
let
|
|
177
|
+
let person;
|
|
178
178
|
let ID;
|
|
179
179
|
const objectArg = get$.Optional;
|
|
180
180
|
ID = objectArg.Field("@id", uri);
|
|
181
181
|
let FirstName;
|
|
182
182
|
const objectArg_1 = get$.Optional;
|
|
183
183
|
FirstName = objectArg_1.Field("firstName", string);
|
|
184
|
-
|
|
185
|
-
return Person.setOrcidFromComments(
|
|
184
|
+
person = (new Person(ID, void 0, (objectArg_2 = get$.Optional, objectArg_2.Field("lastName", string)), FirstName, (objectArg_3 = get$.Optional, objectArg_3.Field("midInitials", string)), (objectArg_4 = get$.Optional, objectArg_4.Field("email", string)), (objectArg_5 = get$.Optional, objectArg_5.Field("phone", string)), (objectArg_6 = get$.Optional, objectArg_6.Field("fax", string)), (objectArg_7 = get$.Optional, objectArg_7.Field("address", string)), (objectArg_8 = get$.Optional, objectArg_8.Field("affiliation", string)), (arg_19 = ((decoder_1 = OntologyAnnotation_decoder(options), (path_8) => ((value_8) => array_1(uncurry2(decoder_1), path_8, value_8)))), (objectArg_9 = get$.Optional, objectArg_9.Field("roles", uncurry2(arg_19)))), (arg_21 = ((decoder_2 = decoder_3(options), (path_9) => ((value_9) => array_1(uncurry2(decoder_2), path_9, value_9)))), (objectArg_10 = get$.Optional, objectArg_10.Field("comments", uncurry2(arg_21))))));
|
|
185
|
+
return Person.setOrcidFromComments(person);
|
|
186
186
|
}, path_10, v));
|
|
187
187
|
}
|
|
188
188
|
|
package/ISA/ISA.Json/Process.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
2
2
|
import { ProtocolParameter_getNameText_Z3A4310A5 } from "../ISA/JsonTypes/ProtocolParameter.js";
|
|
3
3
|
import { Value_getText_72E9EF0F } from "../ISA/JsonTypes/Value.js";
|
|
4
4
|
import { list as list_2, toString, nil, object as object_22 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
5
|
-
import { map, choose } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
7
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
5
|
+
import { map, choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
6
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
7
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
8
8
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
9
9
|
import { tryInclude } from "./GEncode.js";
|
|
10
10
|
import { Protocol_decoder, Protocol_encoder, ProtocolParameter_decoder, ProtocolParameter_encoder } from "./Protocol.js";
|
|
@@ -16,7 +16,7 @@ import { uri, fromJsonString } from "./Decode.js";
|
|
|
16
16
|
import { ProcessInput } from "../ISA/JsonTypes/ProcessInput.js";
|
|
17
17
|
import { Data_decoder, Sample_decoder, Source_decoder, Source_encoder, Data_encoder, Sample_encoder } from "./Data.js";
|
|
18
18
|
import { Material_decoder, Material_encoder } from "./Material.js";
|
|
19
|
-
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.1
|
|
19
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
20
20
|
import { ProcessOutput } from "../ISA/JsonTypes/ProcessOutput.js";
|
|
21
21
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
22
22
|
import { decoder as decoder_4, encoder } from "./Comment.js";
|
package/ISA/ISA.Json/Protocol.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { value as value_19 } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { value as value_19 } from "../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
2
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
3
3
|
import { toString, nil, object as object_18 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
4
|
-
import { choose } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
4
|
+
import { choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
7
7
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
8
8
|
import { tryInclude } from "./GEncode.js";
|
|
9
9
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
|
10
10
|
import { list as list_1, string, object as object_19 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
11
11
|
import { fromJsonString, uri } from "./Decode.js";
|
|
12
12
|
import { ProtocolParameter } from "../ISA/JsonTypes/ProtocolParameter.js";
|
|
13
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
14
|
-
import { Result_Map } from "../../fable_modules/fable-library.4.1
|
|
13
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
14
|
+
import { Result_Map } from "../../fable_modules/fable-library.4.4.1/Choice.js";
|
|
15
15
|
import { Component, Component_decomposeName_Z721C83C5 } from "../ISA/JsonTypes/Component.js";
|
|
16
16
|
import { decoder as decoder_3, encoder } from "./Comment.js";
|
|
17
17
|
import { Protocol } from "../ISA/JsonTypes/Protocol.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
2
2
|
import { toString, nil, object as object_12 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
3
|
-
import { choose } from "../../fable_modules/fable-library.4.1
|
|
4
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
3
|
+
import { choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
4
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
6
6
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
7
7
|
import { tryInclude } from "./GEncode.js";
|
|
8
8
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "./Ontology.js";
|
package/ISA/ISA.Json/Study.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { toString, nil, object as object_36 } from "../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
2
|
-
import { ofArray, choose } from "../../fable_modules/fable-library.4.1
|
|
3
|
-
import { uncurry2, equals } from "../../fable_modules/fable-library.4.1
|
|
2
|
+
import { ofArray, choose } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
3
|
+
import { uncurry2, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
4
4
|
import { tryInclude } from "./GEncode.js";
|
|
5
5
|
import { Sample_decoder, Source_decoder, Sample_encoder, Source_encoder } from "./Data.js";
|
|
6
6
|
import { MaterialAttribute_decoder, MaterialAttribute_encoder, Material_decoder, Material_encoder } from "./Material.js";
|
|
7
7
|
import { string, list as list_1, object as object_37 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
8
8
|
import { StudyMaterials } from "../ISA/JsonTypes/StudyMaterials.js";
|
|
9
|
-
import { replace } from "../../fable_modules/fable-library.4.1
|
|
9
|
+
import { replace } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
10
10
|
import { URIModule_toString } from "../ISA/JsonTypes/URI.js";
|
|
11
|
-
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.1
|
|
11
|
+
import { empty, singleton, append, delay, toList } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
12
12
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
13
13
|
import { decoder as decoder_10, encoder } from "./Publication.js";
|
|
14
14
|
import { decoder as decoder_11, encoder as encoder_1 } from "./Person.js";
|
|
@@ -212,8 +212,8 @@ export function Study_toStringLD(s) {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
export function ArcStudy_fromJsonString(s) {
|
|
215
|
-
const
|
|
216
|
-
return ArcStudy.fromStudy(
|
|
215
|
+
const s_1 = fromJsonString(uncurry2(Study_decoder(ConverterOptions_$ctor())), s);
|
|
216
|
+
return ArcStudy.fromStudy(s_1);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export function ArcStudy_toJsonString(a, assays) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { bool_type, option_type, array_type, record_type, string_type, obj_type } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { map } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { singleton } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { awaitPromise } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { bool_type, option_type, array_type, record_type, string_type, obj_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { map } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { singleton } from "../../../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
|
|
5
|
+
import { awaitPromise } from "../../../fable_modules/fable-library.4.4.1/Async.js";
|
|
6
6
|
import * as JsonValidation from "../../../../../src/ISA/ISA.Json/Validation/JsonValidation.js";
|
|
7
|
-
import { value } from "../../../fable_modules/fable-library.4.1
|
|
7
|
+
import { value } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
8
8
|
|
|
9
9
|
export class ValidationError extends Record {
|
|
10
10
|
constructor(path, property, message, schema, instance, name, argument, stack) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { singleton } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { singleton } from "../../../fable_modules/fable-library.4.4.1/AsyncBuilder.js";
|
|
2
2
|
import { validate } from "./Fable.js";
|
|
3
3
|
import { ValidationResult, ValidationResult_OfJSchemaOutput_Z6EC48F6B } from "./ValidationResult.js";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Union } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { union_type, array_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Union } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { union_type, array_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
|
|
4
4
|
export class ValidationResult extends Union {
|
|
5
5
|
constructor(tag, fields) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { iterateIndexed, length, ofArray, sortBy, collect, toArray, empty, tail, head, isEmpty, cons, singleton, fold, map, reverse } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { iterateIndexed, length, ofArray, sortBy, collect, toArray, empty, tail, head, isEmpty, cons, singleton, fold, map, reverse } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { tryParseReferenceColumnHeader } from "../../ISA/Regex.js";
|
|
3
|
-
import { map as map_1, toList, tryFind } from "../../../fable_modules/fable-library.4.1
|
|
3
|
+
import { map as map_1, toList, tryFind } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
4
4
|
import { toFsColumns, fixDeprecatedIOHeader, fromFsColumns } from "./CompositeColumn.js";
|
|
5
5
|
import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
|
|
6
|
-
import { FsWorksheet } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
7
|
-
import { comparePrimitives } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
9
|
-
import { FsAddress_$ctor_Z37302880 } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
10
|
-
import { Dictionary_tryGet } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
11
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
12
|
-
import { FsRangeBase__Cell_Z3407A44B } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
6
|
+
import { FsWorksheet } from "../../../fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js";
|
|
7
|
+
import { comparePrimitives } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
8
|
+
import { FsRangeAddress_$ctor_7E77A4A0 } from "../../../fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeAddress.fs.js";
|
|
9
|
+
import { FsAddress_$ctor_Z37302880 } from "../../../fable_modules/FsSpreadsheet.5.0.1/FsAddress.fs.js";
|
|
10
|
+
import { Dictionary_tryGet } from "../../../fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs.js";
|
|
11
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
12
|
+
import { FsRangeBase__Cell_Z3407A44B } from "../../../fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeBase.fs.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Iterates over elements of the input list and groups adjacent elements.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { singleton, ofArray, head, tail, isEmpty, map } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { singleton, ofArray, head, tail, isEmpty, map } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { CompositeCell } from "../../ISA/ArcTypes/CompositeCell.js";
|
|
3
|
-
import { printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { FsCell } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
3
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
4
|
+
import { FsCell } from "../../../fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js";
|
|
5
5
|
|
|
6
6
|
export function fromFsCells(cells) {
|
|
7
7
|
const cellValues = map((c) => c.ValueAsString(), cells);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CompositeHeader, IOType } from "../../ISA/ArcTypes/CompositeHeader.js";
|
|
2
|
-
import { toString } from "../../../fable_modules/fable-library.4.1
|
|
2
|
+
import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
3
3
|
import { toFsCells, fromFsCells } from "./CompositeHeader.js";
|
|
4
|
-
import { singleton as singleton_1, ofArray, item, map } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { FsAddress__get_RowNumber } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
6
|
-
import { FsRangeAddress__get_LastAddress } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
7
|
-
import { FsRangeBase__get_RangeAddress } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
8
|
-
import { singleton, append, toList, exists, map as map_1, delay, toArray } from "../../../fable_modules/fable-library.4.1
|
|
4
|
+
import { singleton as singleton_1, ofArray, item, map } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
|
+
import { FsAddress__get_RowNumber } from "../../../fable_modules/FsSpreadsheet.5.0.1/FsAddress.fs.js";
|
|
6
|
+
import { FsRangeAddress__get_LastAddress } from "../../../fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeAddress.fs.js";
|
|
7
|
+
import { FsRangeBase__get_RangeAddress } from "../../../fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeBase.fs.js";
|
|
8
|
+
import { singleton, append, toList, exists, map as map_1, delay, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
9
9
|
import { toFsCells as toFsCells_1, fromFsCells as fromFsCells_1 } from "./CompositeCell.js";
|
|
10
|
-
import { rangeDouble } from "../../../fable_modules/fable-library.4.1
|
|
10
|
+
import { rangeDouble } from "../../../fable_modules/fable-library.4.4.1/Range.js";
|
|
11
11
|
import { CompositeColumn } from "../../ISA/ArcTypes/CompositeColumn.js";
|
|
12
|
-
import { map as map_2 } from "../../../fable_modules/fable-library.4.1
|
|
12
|
+
import { map as map_2 } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Checks if the column header is a deprecated IO Header. If so, fixes it.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { singleton, tail, head, isEmpty, map } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
2
|
+
import { singleton, tail, head, isEmpty, map } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
3
3
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
4
4
|
import { ActivePatterns_$007COutputColumnHeader$007C_$007C, ActivePatterns_$007CInputColumnHeader$007C_$007C, tryParseComponentColumnHeader, tryParseCharacteristicColumnHeader, tryParseFactorColumnHeader, tryParseParameterColumnHeader, ActivePatterns_$007CUnitColumnHeader$007C_$007C, ActivePatterns_$007CTANColumnHeader$007C_$007C, ActivePatterns_$007CTSRColumnHeader$007C_$007C } from "../../ISA/Regex.js";
|
|
5
5
|
import { IOType, CompositeHeader } from "../../ISA/ArcTypes/CompositeHeader.js";
|
|
6
|
-
import { FsCell } from "../../../fable_modules/FsSpreadsheet.5.0.
|
|
7
|
-
import { toString } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { empty, singleton as singleton_1, append, delay, toList } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { FsCell } from "../../../fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js";
|
|
7
|
+
import { toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
8
|
+
import { empty, singleton as singleton_1, append, delay, toList } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
9
9
|
|
|
10
10
|
export function ActivePattern_mergeIDInfo(idSpace1, localID1, idSpace2, localID2) {
|
|
11
11
|
if (idSpace1 !== idSpace2) {
|
|
@@ -190,7 +190,7 @@ export function ActivePattern_$007CTerm$007C_$007C(categoryParser, f, cells) {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
export function ActivePattern_$007CParameter$007C_$007C(cells) {
|
|
193
|
-
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseParameterColumnHeader, (
|
|
193
|
+
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseParameterColumnHeader, (Item) => (new CompositeHeader(3, [Item])), cells);
|
|
194
194
|
if (activePatternResult != null) {
|
|
195
195
|
const r = activePatternResult;
|
|
196
196
|
return r;
|
|
@@ -201,7 +201,7 @@ export function ActivePattern_$007CParameter$007C_$007C(cells) {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
export function ActivePattern_$007CFactor$007C_$007C(cells) {
|
|
204
|
-
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseFactorColumnHeader, (
|
|
204
|
+
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseFactorColumnHeader, (Item) => (new CompositeHeader(2, [Item])), cells);
|
|
205
205
|
if (activePatternResult != null) {
|
|
206
206
|
const r = activePatternResult;
|
|
207
207
|
return r;
|
|
@@ -212,7 +212,7 @@ export function ActivePattern_$007CFactor$007C_$007C(cells) {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
export function ActivePattern_$007CCharacteristic$007C_$007C(cells) {
|
|
215
|
-
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseCharacteristicColumnHeader, (
|
|
215
|
+
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseCharacteristicColumnHeader, (Item) => (new CompositeHeader(1, [Item])), cells);
|
|
216
216
|
if (activePatternResult != null) {
|
|
217
217
|
const r = activePatternResult;
|
|
218
218
|
return r;
|
|
@@ -223,7 +223,7 @@ export function ActivePattern_$007CCharacteristic$007C_$007C(cells) {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
export function ActivePattern_$007CComponent$007C_$007C(cells) {
|
|
226
|
-
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseComponentColumnHeader, (
|
|
226
|
+
const activePatternResult = ActivePattern_$007CTerm$007C_$007C(tryParseComponentColumnHeader, (Item) => (new CompositeHeader(0, [Item])), cells);
|
|
227
227
|
if (activePatternResult != null) {
|
|
228
228
|
const r = activePatternResult;
|
|
229
229
|
return r;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.0.
|
|
2
|
-
import { iterate, isEmpty as isEmpty_1, choose, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { FsWorksheet } from "../../fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs.js";
|
|
2
|
+
import { iterate, isEmpty as isEmpty_1, choose, tryHead, head, exists, map, singleton, append, delay, iterateIndexed } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
3
3
|
import { SparseRowModule_tryGetValueAt, SparseRowModule_fromFsRow, SparseRowModule_fromValues, SparseRowModule_writeToSheet } from "./Metadata/SparseTable.js";
|
|
4
4
|
import { fromRows as fromRows_1, toRows as toRows_1 } from "./Metadata/Assays.js";
|
|
5
|
-
import { empty, isEmpty, toArray, ofArray, singleton as singleton_1 } from "../../fable_modules/fable-library.4.1
|
|
5
|
+
import { empty, isEmpty, toArray, ofArray, singleton as singleton_1 } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
6
6
|
import { fromRows as fromRows_2, toRows as toRows_2 } from "./Metadata/Contacts.js";
|
|
7
|
-
import { getEnumerator } from "../../fable_modules/fable-library.4.1
|
|
7
|
+
import { getEnumerator } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
8
8
|
import { ArcAssay } from "../ISA/ArcTypes/ArcTypes.js";
|
|
9
9
|
import { createMissingIdentifier } from "../ISA/Identifier.js";
|
|
10
|
-
import { defaultArg } from "../../fable_modules/fable-library.4.1
|
|
11
|
-
import { printf, toConsole } from "../../fable_modules/fable-library.4.1
|
|
10
|
+
import { defaultArg } from "../../fable_modules/fable-library.4.4.1/Option.js";
|
|
11
|
+
import { printf, toConsole } from "../../fable_modules/fable-library.4.4.1/String.js";
|
|
12
12
|
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
13
|
-
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.0.
|
|
13
|
+
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs.js";
|
|
14
14
|
|
|
15
15
|
export function toMetadataSheet(assay) {
|
|
16
16
|
let assay_1;
|
|
@@ -90,9 +90,9 @@ export function fromMetadataSheet(sheet) {
|
|
|
90
90
|
case 0:
|
|
91
91
|
return ArcAssay.create(createMissingIdentifier());
|
|
92
92
|
default: {
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
return ArcAssay.setPerformers(
|
|
93
|
+
const performers = toArray(contacts_2);
|
|
94
|
+
const assay = defaultArg(tryHead(assays_2), ArcAssay.create(createMissingIdentifier()));
|
|
95
|
+
return ArcAssay.setPerformers(performers, assay);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -138,9 +138,9 @@ export function toFsWorkbook(assay) {
|
|
|
138
138
|
const doc = new FsWorkbook();
|
|
139
139
|
const metaDataSheet = toMetadataSheet(assay);
|
|
140
140
|
doc.AddWorksheet(metaDataSheet);
|
|
141
|
-
iterate((
|
|
142
|
-
const
|
|
143
|
-
doc.AddWorksheet(
|
|
141
|
+
iterate((arg) => {
|
|
142
|
+
const sheet = toFsWorksheet(arg);
|
|
143
|
+
doc.AddWorksheet(sheet);
|
|
144
144
|
}, assay.Tables);
|
|
145
145
|
return doc;
|
|
146
146
|
}
|