@nfdi4plants/arctrl 1.0.0-alpha9 → 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 +28 -29
- 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 +283 -279
- package/ISA/ISA/ArcTypes/ArcTypes.js +89 -373
- 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 +19 -17
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +4 -4
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +9 -9
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +14 -14
- package/ISA/ISA.Spreadsheet/ArcAssay.js +17 -20
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +37 -37
- package/ISA/ISA.Spreadsheet/ArcStudy.js +13 -13
- 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 +23 -23
- package/ISA/ISA.Spreadsheet/Metadata/Study.js +22 -22
- package/README.md +29 -253
- package/SemVer.js +7 -7
- package/Templates/Template.Json.js +12 -9
- package/Templates/Template.Spreadsheet.js +39 -23
- 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.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCell.fs +85 -36
- package/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js +272 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs +1 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/CellBuilder.fs.js +21 -21
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Transform.fs.js +9 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Types.fs.js +7 -7
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs.js +9 -9
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs +3 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs +2 -0
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsRow.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs.js +8 -8
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs +10 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorksheet.fs.js +24 -19
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs.js +2 -2
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs.js +3 -3
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs +4 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/SheetBuilder.fs.js +10 -10
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs +20 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTable.fs.js +33 -13
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs.js +4 -4
- package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs.js +1 -1
- package/fable_modules/{FsSpreadsheet.4.1.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/FsSpreadsheet.4.1.0/Cells/FsCell.fs.js +0 -240
- package/fable_modules/fable-library.4.1.4/lib/big.d.ts +0 -338
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.0 → FsSpreadsheet.5.0.1}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.4.1.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
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
4
|
-
import { unwrap, defaultArg, map } from "../../../fable_modules/fable-library.4.1
|
|
4
|
+
import { unwrap, defaultArg, map } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
5
5
|
import { ArcAssay } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
6
6
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
7
7
|
import { Assay_fileNameFromIdentifier, removeMissingIdentifier, Assay_identifierFromFileName, createMissingIdentifier } from "../../ISA/Identifier.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
9
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
12
|
|
|
13
13
|
export const labels = ofArray(["Measurement Type", "Measurement Type Term Accession Number", "Measurement Type Term Source REF", "Technology Type", "Technology Type Term Accession Number", "Technology Type Term Source REF", "Technology Platform", "File Name"]);
|
|
14
14
|
|
|
15
15
|
export function fromString(measurementType, measurementTypeTermSourceREF, measurementTypeTermAccessionNumber, technologyType, technologyTypeTermSourceREF, technologyTypeTermAccessionNumber, technologyPlatform, fileName, comments) {
|
|
16
16
|
const measurementType_1 = OntologyAnnotation.fromString(measurementType, measurementTypeTermSourceREF, measurementTypeTermAccessionNumber);
|
|
17
17
|
const technologyType_1 = OntologyAnnotation.fromString(technologyType, technologyTypeTermSourceREF, technologyTypeTermAccessionNumber);
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
return ArcAssay.make(fileName,
|
|
18
|
+
const measurementType_2 = Option_fromValueWithDefault(OntologyAnnotation.empty, measurementType_1);
|
|
19
|
+
const technologyType_2 = Option_fromValueWithDefault(OntologyAnnotation.empty, technologyType_1);
|
|
20
|
+
const technologyPlatform_1 = map((name) => ArcAssay.decomposeTechnologyPlatform(name), technologyPlatform);
|
|
21
|
+
return ArcAssay.make(fileName, measurementType_2, technologyType_2, technologyPlatform_1, [], [], comments);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export function fromSparseTable(matrix) {
|
|
@@ -52,7 +52,7 @@ export function toSparseTable(assays) {
|
|
|
52
52
|
addToDict(matrix.Matrix, ["Technology Type", i_1], tt_1.TermName);
|
|
53
53
|
addToDict(matrix.Matrix, ["Technology Type Term Accession Number", i_1], tt_1.TermAccessionNumber);
|
|
54
54
|
addToDict(matrix.Matrix, ["Technology Type Term Source REF", i_1], tt_1.TermSourceREF);
|
|
55
|
-
addToDict(matrix.Matrix, ["Technology Platform", i_1], defaultArg(map((
|
|
55
|
+
addToDict(matrix.Matrix, ["Technology Platform", i_1], defaultArg(map((tp) => ArcAssay.composeTechnologyPlatform(tp), a.TechnologyPlatform), ""));
|
|
56
56
|
addToDict(matrix.Matrix, ["File Name", i_1], processedFileName);
|
|
57
57
|
if (!(a.Comments.length === 0)) {
|
|
58
58
|
const array = a.Comments;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defaultArg, bind } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { match } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { printf, toText } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { defaultArg, bind } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { match } from "../../../fable_modules/fable-library.4.4.1/RegExp.js";
|
|
3
|
+
import { printf, toText } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
4
4
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
5
5
|
import { Comment$ } from "../../ISA/JsonTypes/Comment.js";
|
|
6
6
|
|
|
@@ -31,9 +31,9 @@ export function Comment_wrapCommentKey(k) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export function Comment_fromString(k, v) {
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
return Comment$.make(void 0,
|
|
34
|
+
const name = Option_fromValueWithDefault("", k);
|
|
35
|
+
const value = Option_fromValueWithDefault("", v);
|
|
36
|
+
return Comment$.make(void 0, name, value);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export function Comment_toString(c) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { OntologyAnnotation_toAggregatedStrings, OntologyAnnotation_fromAggregatedStrings, Option_fromValueWithDefault } from "./Conversions.js";
|
|
3
3
|
import { Person } from "../../ISA/JsonTypes/Person.js";
|
|
4
4
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { unwrap, defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
7
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { unwrap, defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
7
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
10
10
|
|
|
11
11
|
export const lastNameLabel = "Last Name";
|
|
12
12
|
|
|
@@ -33,11 +33,11 @@ export const rolesTermSourceREFLabel = "Roles Term Source REF";
|
|
|
33
33
|
export const labels = ofArray([lastNameLabel, firstNameLabel, midInitialsLabel, emailLabel, phoneLabel, faxLabel, addressLabel, affiliationLabel, rolesLabel, rolesTermAccessionNumberLabel, rolesTermSourceREFLabel]);
|
|
34
34
|
|
|
35
35
|
export function fromString(lastName, firstName, midInitials, email, phone, fax, address, affiliation, role, rolesTermAccessionNumber, rolesTermSourceREF, comments) {
|
|
36
|
-
let
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
return Person.setOrcidFromComments(
|
|
36
|
+
let person;
|
|
37
|
+
const roles_1 = Option_fromValueWithDefault([], OntologyAnnotation_fromAggregatedStrings(";", role, rolesTermSourceREF, rolesTermAccessionNumber));
|
|
38
|
+
const comments_1 = Option_fromValueWithDefault([], comments);
|
|
39
|
+
person = Person.make(void 0, void 0, lastName, firstName, midInitials, email, phone, fax, address, affiliation, roles_1, comments_1);
|
|
40
|
+
return Person.setOrcidFromComments(person);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export function fromSparseTable(matrix) {
|
|
@@ -80,7 +80,7 @@ export function toSparseTable(persons) {
|
|
|
80
80
|
addToDict(matrix.Matrix, [n, i_1], patternInput[1]);
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
-
}, map((
|
|
83
|
+
}, map((person) => Person.setCommentFromORCID(person), persons));
|
|
84
84
|
return new SparseTable(matrix.Matrix, matrix.Keys, reverse(List_distinct(commentKeys, {
|
|
85
85
|
Equals: (x, y) => (x === y),
|
|
86
86
|
GetHashCode: stringHash,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { equals } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { value, some } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { map, equalsWith, fill, map3, fold } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { toText, printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { equals } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
2
|
+
import { value, some } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
3
|
+
import { map, equalsWith, fill, map3, fold } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { toText, printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
5
5
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
6
|
-
import { map as map_1, fold as fold_1, ofArray, empty } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { map as map_1, fold as fold_1, ofArray, empty } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
7
7
|
import { Array_map4 } from "../CollectionAux.js";
|
|
8
8
|
import { Component_toString_Z609B8895, Component_fromString_Z61E08C1 } from "../../ISA/JsonTypes/Component.js";
|
|
9
9
|
import { ProtocolParameter_toString_Z3A4310A5, ProtocolParameter_make } from "../../ISA/JsonTypes/ProtocolParameter.js";
|
|
@@ -85,7 +85,7 @@ export function OntologyAnnotation_toAggregatedStrings(separator, oas) {
|
|
|
85
85
|
else {
|
|
86
86
|
return [toText(printf("%s%c%s"))(tupledArg[0])(separator)(term.TermName), toText(printf("%s%c%s"))(tupledArg[1])(separator)(term.TermSourceREF), toText(printf("%s%c%s"))(tupledArg[2])(separator)(term.TermAccessionNumber)];
|
|
87
87
|
}
|
|
88
|
-
}, ["", "", ""], map((
|
|
88
|
+
}, ["", "", ""], map((oa) => OntologyAnnotation.toString(oa), oas));
|
|
89
89
|
return {
|
|
90
90
|
TermAccessionNumberAgg: tupledArg_1[2],
|
|
91
91
|
TermNameAgg: tupledArg_1[0],
|
|
@@ -145,7 +145,7 @@ export function Component_toAggregatedStrings(separator, cs) {
|
|
|
145
145
|
* Returns a list of ISAJson ProtocolParameter objects from ISATab aggregated strings
|
|
146
146
|
*/
|
|
147
147
|
export function ProtocolParameter_fromAggregatedStrings(separator, terms, source, accessions) {
|
|
148
|
-
return map((
|
|
148
|
+
return map((arg) => ((parameterName) => ProtocolParameter_make(void 0, parameterName))(arg), OntologyAnnotation_fromAggregatedStrings(separator, terms, source, accessions));
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { toRows as toRows_1, fromRows as fromRows_1, toSparseTable as toSparseTable_1, fromSparseTable as fromSparseTable_1 } from "./OntologyAnnotation.js";
|
|
3
3
|
|
|
4
4
|
export const designTypeLabel = "Type";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
3
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
4
4
|
import { Factor } from "../../ISA/JsonTypes/Factor.js";
|
|
5
5
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
6
6
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
7
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
7
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
8
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
9
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
10
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
11
11
|
|
|
12
12
|
export const nameLabel = "Name";
|
|
13
13
|
|
|
@@ -21,9 +21,9 @@ export const labels = ofArray([nameLabel, factorTypeLabel, typeTermAccessionNumb
|
|
|
21
21
|
|
|
22
22
|
export function fromString(name, designType, typeTermSourceREF, typeTermAccessionNumber, comments) {
|
|
23
23
|
const factorType = OntologyAnnotation.fromString(designType, typeTermSourceREF, typeTermAccessionNumber);
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
return Factor.make(void 0, name,
|
|
24
|
+
const factorType_1 = Option_fromValueWithDefault(OntologyAnnotation.empty, factorType);
|
|
25
|
+
const comments_1 = Option_fromValueWithDefault([], comments);
|
|
26
|
+
return Factor.make(void 0, name, factorType_1, comments_1);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export function fromSparseTable(matrix) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, ofArray, map, toArray, initialize, singleton, length } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, ofArray, map, toArray, initialize, singleton, length } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
3
3
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
4
4
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { unwrap } from "../../../fable_modules/fable-library.4.1
|
|
7
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { unwrap } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
7
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
10
10
|
|
|
11
11
|
export function fromSparseTable(label, labelTSR, labelTAN, matrix) {
|
|
12
12
|
if ((matrix.ColumnCount === 0) && (length(matrix.CommentKeys) !== 0)) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
3
3
|
import { OntologySourceReference } from "../../ISA/JsonTypes/OntologySourceReference.js";
|
|
4
4
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
7
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
8
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
7
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
8
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
9
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
10
10
|
|
|
11
11
|
export const nameLabel = "Term Source Name";
|
|
12
12
|
|
|
@@ -19,8 +19,8 @@ export const descriptionLabel = "Term Source Description";
|
|
|
19
19
|
export const labels = ofArray([nameLabel, fileLabel, versionLabel, descriptionLabel]);
|
|
20
20
|
|
|
21
21
|
export function fromString(description, file, name, version, comments) {
|
|
22
|
-
const
|
|
23
|
-
return OntologySourceReference.make(description, file, name, version,
|
|
22
|
+
const comments_1 = Option_fromValueWithDefault([], comments);
|
|
23
|
+
return OntologySourceReference.make(description, file, name, version, comments_1);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export function fromSparseTable(matrix) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterate, iterateIndexed, map as map_1, initialize, singleton, length, empty, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
3
|
import { Component_toAggregatedStrings, ProtocolParameter_toAggregatedStrings, Option_fromValueWithDefault, Component_fromAggregatedStrings, ProtocolParameter_fromAggregatedStrings } from "./Conversions.js";
|
|
4
4
|
import { Protocol_create_Z7DFD6E67, Protocol_make } from "../../ISA/JsonTypes/Protocol.js";
|
|
5
|
-
import { defaultArg, map } from "../../../fable_modules/fable-library.4.1
|
|
5
|
+
import { defaultArg, map } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
6
6
|
import { URIModule_fromString } from "../../ISA/JsonTypes/URI.js";
|
|
7
7
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
9
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
12
|
|
|
13
13
|
export const nameLabel = "Name";
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { reverse, cons, iterateIndexed, empty, map as map_1, toArray, initialize, singleton, length, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
2
2
|
import { OntologyAnnotation } from "../../ISA/JsonTypes/OntologyAnnotation.js";
|
|
3
|
-
import { defaultArg, map } from "../../../fable_modules/fable-library.4.1
|
|
3
|
+
import { defaultArg, map } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
4
4
|
import { URIModule_fromString } from "../../ISA/JsonTypes/URI.js";
|
|
5
5
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
6
6
|
import { Publication } from "../../ISA/JsonTypes/Publication.js";
|
|
7
7
|
import { SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValue_11FD62A8, SparseTable__TryGetValueDefault_5BAE6133, SparseTable_GetEmptyComments_651559CC } from "./SparseTable.js";
|
|
8
8
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
9
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
9
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
12
|
|
|
13
13
|
export const pubMedIDLabel = "PubMed ID";
|
|
14
14
|
|
|
@@ -28,10 +28,10 @@ export const labels = ofArray([pubMedIDLabel, doiLabel, authorListLabel, titleLa
|
|
|
28
28
|
|
|
29
29
|
export function fromString(pubMedID, doi, author, title, status, statusTermSourceREF, statusTermAccessionNumber, comments) {
|
|
30
30
|
const status_1 = OntologyAnnotation.fromString(status, statusTermSourceREF, statusTermAccessionNumber);
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
return Publication.make(
|
|
31
|
+
const pubMedID_1 = map(URIModule_fromString, pubMedID);
|
|
32
|
+
const status_2 = Option_fromValueWithDefault(OntologyAnnotation.empty, status_1);
|
|
33
|
+
const comments_1 = Option_fromValueWithDefault([], comments);
|
|
34
|
+
return Publication.make(pubMedID_1, doi, author, title, status_2, comments_1);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export function fromSparseTable(matrix) {
|
|
@@ -1,19 +1,19 @@
|
|
|
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.4.1
|
|
2
|
-
import { defaultArg, map as map_1 } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { tryFind, ofSeq } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { arrayHash, equalArrays, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../../fable_modules/FsSpreadsheet.
|
|
6
|
-
import { CellBuilder_$ctor,
|
|
7
|
-
import { Messages_format, SheetEntity$1_some_2B595 } from "../../../fable_modules/FsSpreadsheet.
|
|
8
|
-
import { DataType } from "../../../fable_modules/FsSpreadsheet.
|
|
9
|
-
import { map as map_2, toArray, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { ColumnIndex, RowElement } from "../../../fable_modules/FsSpreadsheet.
|
|
11
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
12
|
-
import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
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.4.4.1/Seq.js";
|
|
2
|
+
import { defaultArg, map as map_1 } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
3
|
+
import { tryFind, ofSeq } from "../../../fable_modules/fable-library.4.4.1/Map.js";
|
|
4
|
+
import { arrayHash, equalArrays, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
5
|
+
import { RowBuilder_get_Empty, RowBuilder__Combine_19F30600, RowBuilder_$ctor } from "../../../fable_modules/FsSpreadsheet.5.0.1/DSL/RowBuilder.fs.js";
|
|
6
|
+
import { CellBuilder_$ctor, CellBuilder__AsCellElement_6F87C2ED } from "../../../fable_modules/FsSpreadsheet.5.0.1/DSL/CellBuilder.fs.js";
|
|
7
|
+
import { Messages_format, SheetEntity$1_some_2B595 } from "../../../fable_modules/FsSpreadsheet.5.0.1/DSL/Types.fs.js";
|
|
8
|
+
import { DataType } from "../../../fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs.js";
|
|
9
|
+
import { map as map_2, toArray, initialize as initialize_1, exists, find, cons, append, empty, singleton } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
10
|
+
import { ColumnIndex, RowElement } from "../../../fable_modules/FsSpreadsheet.5.0.1/DSL/Types.fs.js";
|
|
11
|
+
import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
12
|
+
import { record_type, list_type, class_type, tuple_type, int32_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
13
13
|
import { Seq_trySkip, Dictionary_tryGetValue } from "../CollectionAux.js";
|
|
14
|
-
import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library.4.1
|
|
15
|
-
import { Dictionary } from "../../../fable_modules/fable-library.4.1
|
|
16
|
-
import { printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
14
|
+
import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
15
|
+
import { Dictionary } from "../../../fable_modules/fable-library.4.4.1/MutableMap.js";
|
|
16
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
17
17
|
import { Comment$, Remark } from "../../ISA/JsonTypes/Comment.js";
|
|
18
18
|
import { Comment_wrapCommentKey, Comment_$007CComment$007C_$007C, Remark_$007CRemark$007C_$007C } from "./Comment.js";
|
|
19
19
|
|
|
@@ -40,11 +40,11 @@ export function SparseRowModule_getAllValues(i) {
|
|
|
40
40
|
|
|
41
41
|
export function SparseRowModule_fromFsRow(r) {
|
|
42
42
|
return choose((c) => {
|
|
43
|
-
if (c.Value
|
|
43
|
+
if (equals(c.Value, "")) {
|
|
44
44
|
return void 0;
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
-
return [c.ColumnNumber - 1, c.
|
|
47
|
+
return [c.ColumnNumber - 1, c.ValueAsString()];
|
|
48
48
|
}
|
|
49
49
|
}, r.Cells);
|
|
50
50
|
}
|
|
@@ -63,11 +63,11 @@ export function SparseRowModule_tryGetValueAt(i, vs) {
|
|
|
63
63
|
export function SparseRowModule_toDSLRow(vs) {
|
|
64
64
|
const builder$0040 = RowBuilder_$ctor();
|
|
65
65
|
let this$_9;
|
|
66
|
-
const
|
|
66
|
+
const ns = map((_arg) => {
|
|
67
67
|
const v = _arg;
|
|
68
68
|
if (v == null) {
|
|
69
69
|
let c_1;
|
|
70
|
-
const this$_5 =
|
|
70
|
+
const this$_5 = CellBuilder__AsCellElement_6F87C2ED(CellBuilder_$ctor(), SheetEntity$1_some_2B595(singleton([new DataType(0, []), ""])));
|
|
71
71
|
let matchResult, errs_1, f_1, ms_2_1;
|
|
72
72
|
switch (this$_5.tag) {
|
|
73
73
|
case 1: {
|
|
@@ -137,7 +137,7 @@ export function SparseRowModule_toDSLRow(vs) {
|
|
|
137
137
|
else {
|
|
138
138
|
const v_1 = v;
|
|
139
139
|
let c;
|
|
140
|
-
const this$_2 =
|
|
140
|
+
const this$_2 = CellBuilder__AsCellElement_6F87C2ED(CellBuilder_$ctor(), SheetEntity$1_some_2B595(singleton([new DataType(0, []), v_1])));
|
|
141
141
|
let matchResult_2, errs, f, ms_2;
|
|
142
142
|
switch (this$_2.tag) {
|
|
143
143
|
case 1: {
|
|
@@ -205,7 +205,7 @@ export function SparseRowModule_toDSLRow(vs) {
|
|
|
205
205
|
return SheetEntity$1_some_2B595(singleton((c[1] == null) ? (new RowElement(1, [c[0]])) : (new RowElement(0, [new ColumnIndex(c[1]), c[0]]))));
|
|
206
206
|
}
|
|
207
207
|
}, SparseRowModule_getAllValues(vs));
|
|
208
|
-
this$_9 = fold((state, we) => RowBuilder__Combine_19F30600(builder$0040, state, we), RowBuilder_get_Empty(),
|
|
208
|
+
this$_9 = fold((state, we) => RowBuilder__Combine_19F30600(builder$0040, state, we), RowBuilder_get_Empty(), ns);
|
|
209
209
|
let matchResult_4, errs_2, f_3, ms_2_2;
|
|
210
210
|
switch (this$_9.tag) {
|
|
211
211
|
case 1: {
|
|
@@ -435,8 +435,8 @@ export function SparseTable_FromRows_Z5579EC29(en, labels, lineNumber, prefix) {
|
|
|
435
435
|
return loop(SparseTable_Create_Z2192E64B(), empty(), lineNumber);
|
|
436
436
|
}
|
|
437
437
|
catch (err) {
|
|
438
|
-
const
|
|
439
|
-
return toFail(printf("Error parsing block in investigation file starting from line number %i: %s"))(lineNumber)(
|
|
438
|
+
const arg_1 = err.message;
|
|
439
|
+
return toFail(printf("Error parsing block in investigation file starting from line number %i: %s"))(lineNumber)(arg_1);
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { record_type, list_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
import { Comment$_$reflection } from "../../ISA/JsonTypes/Comment.js";
|
|
4
|
-
import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.1
|
|
4
|
+
import { ofSeq, append, toArray, reverse, cons, empty, map, ofArray } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
5
|
import { Comment_toString, Comment_fromString } from "./Comment.js";
|
|
6
6
|
import { SparseRowModule_fromValues, SparseTable_ToRows_6A3D4534, SparseTable_FromRows_Z5579EC29, SparseTable, SparseTable_Create_Z2192E64B, SparseTable__TryGetValueDefault_5BAE6133 } from "./SparseTable.js";
|
|
7
7
|
import { Study_fileNameFromIdentifier, createMissingIdentifier } from "../../ISA/Identifier.js";
|
|
8
|
-
import { addToDict } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { stringHash } from "../../../fable_modules/fable-library.4.1
|
|
8
|
+
import { addToDict } from "../../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
9
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
10
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
11
|
+
import { stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
12
12
|
import { Option_fromValueWithDefault } from "./Conversions.js";
|
|
13
13
|
import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
|
|
14
14
|
import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
@@ -18,7 +18,7 @@ import { toRows as toRows_3, fromRows as fromRows_3 } from "./Factors.js";
|
|
|
18
18
|
import { toRows as toRows_4, fromRows as fromRows_4 } from "./Assays.js";
|
|
19
19
|
import { toRows as toRows_5, fromRows as fromRows_5 } from "./Protocols.js";
|
|
20
20
|
import { toRows as toRows_6, fromRows as fromRows_6 } from "./Contacts.js";
|
|
21
|
-
import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.1
|
|
21
|
+
import { singleton, append as append_1, delay, collect } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
22
22
|
|
|
23
23
|
export class StudyInfo extends Record {
|
|
24
24
|
constructor(Identifier, Title, Description, SubmissionDate, PublicReleaseDate, FileName, Comments) {
|
|
@@ -87,20 +87,20 @@ export function StudyInfo_toRows_1B3D5E9B(study) {
|
|
|
87
87
|
export function fromParts(studyInfo, designDescriptors, publications, factors, assays, protocols, contacts) {
|
|
88
88
|
const assayIdentifiers = map((assay) => assay.Identifier, assays);
|
|
89
89
|
let arcstudy;
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
let
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
arcstudy = ArcStudy.make(studyInfo.Identifier,
|
|
90
|
+
const title = Option_fromValueWithDefault("", studyInfo.Title);
|
|
91
|
+
const description = Option_fromValueWithDefault("", studyInfo.Description);
|
|
92
|
+
const submissionDate = Option_fromValueWithDefault("", studyInfo.SubmissionDate);
|
|
93
|
+
const publicReleaseDate = Option_fromValueWithDefault("", studyInfo.PublicReleaseDate);
|
|
94
|
+
const publications_1 = toArray(publications);
|
|
95
|
+
const contacts_1 = toArray(contacts);
|
|
96
|
+
const studyDesignDescriptors = toArray(designDescriptors);
|
|
97
|
+
let tables;
|
|
98
|
+
const collection = map((p) => ArcTable.fromProtocol(p), protocols);
|
|
99
|
+
tables = Array.from(collection);
|
|
100
|
+
const registeredAssayIdentifiers = Array.from(assayIdentifiers);
|
|
101
|
+
const factors_1 = toArray(factors);
|
|
102
|
+
const comments = toArray(studyInfo.Comments);
|
|
103
|
+
arcstudy = ArcStudy.make(studyInfo.Identifier, title, description, submissionDate, publicReleaseDate, publications_1, contacts_1, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors_1, comments);
|
|
104
104
|
if (arcstudy.isEmpty && (arcstudy.Identifier === "")) {
|
|
105
105
|
return void 0;
|
|
106
106
|
}
|