@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
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { concat, collect, append as append_4, tryFind, removeAt, tryFindIndex, item, map as map_2, delay, toList, fold, length, forAll, contains, filter, toArray } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { addRangeInPlace, tryFind as tryFind_1, removeInPlace, equalsWith, append as append_3, contains as contains_1, map } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.1
|
|
6
|
-
import { printf, toText } from "../../../fable_modules/fable-library.4.1
|
|
7
|
-
import { create, match } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { map as map_1, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { concat, collect, append as append_4, tryFind, removeAt, tryFindIndex, item as item_1, map as map_2, delay, toList, fold, length, forAll, contains, filter, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
3
|
+
import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
4
|
+
import { addRangeInPlace, tryFind as tryFind_1, removeInPlace, equalsWith, append as append_3, contains as contains_1, map } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
5
|
+
import { distinctBy, Array_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
6
|
+
import { printf, toText } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
7
|
+
import { create, match } from "../../../fable_modules/fable-library.4.4.1/RegExp.js";
|
|
8
8
|
import { OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
|
|
9
9
|
import { Value_fromString_Z721C83C5, Value__get_Text } from "../JsonTypes/Value.js";
|
|
10
10
|
import { AnnotationValue } from "../JsonTypes/AnnotationValue.js";
|
|
11
11
|
import { ArcTablesAux_applyIOMap, ArcTablesAux_getIOMap, ArcTables_$reflection, ArcTables } from "./ArcTables.js";
|
|
12
12
|
import { AssayMaterials_get_empty, AssayMaterials_create_Z253F0553 } from "../JsonTypes/AssayMaterials.js";
|
|
13
13
|
import { HashCodes_boxHashOption, HashCodes_boxHashArray, Option_fromValueWithDefault } from "../Helper.js";
|
|
14
|
-
import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from "../../../fable_modules/fable-library.4.1
|
|
14
|
+
import { unzip, ofSeq, map as map_3, toArray as toArray_1, ofArray, empty } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
15
15
|
import { getSources, getProtocols, getUnits, getCharacteristics, getData, getMaterials, getSamples } from "../JsonTypes/ProcessSequence.js";
|
|
16
16
|
import { Assay_create_3D372A24 } from "../JsonTypes/Assay.js";
|
|
17
17
|
import { Study_identifierFromFileName, Study_fileNameFromIdentifier, Assay_identifierFromFileName, createMissingIdentifier, Assay_fileNameFromIdentifier, isMissingIdentifier } from "../Identifier.js";
|
|
18
|
-
import { rangeDouble } from "../../../fable_modules/fable-library.4.1
|
|
19
|
-
import { class_type } from "../../../fable_modules/fable-library.4.1
|
|
18
|
+
import { rangeDouble } from "../../../fable_modules/fable-library.4.4.1/Range.js";
|
|
19
|
+
import { class_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
20
20
|
import { StudyMaterials_get_empty, StudyMaterials_create_1BE9FA55 } from "../JsonTypes/StudyMaterials.js";
|
|
21
21
|
import { Study_create_Z2D28E954 } from "../JsonTypes/Study.js";
|
|
22
22
|
import { Investigation_create_4AD66BBE } from "../JsonTypes/Investigation.js";
|
|
23
|
-
import { FSharpRef } from "../../../fable_modules/fable-library.4.1
|
|
23
|
+
import { FSharpRef } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
24
24
|
|
|
25
25
|
export class ArcAssay extends ArcTables {
|
|
26
26
|
constructor(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
|
|
@@ -357,11 +357,11 @@ export class ArcAssay extends ArcTables {
|
|
|
357
357
|
}
|
|
358
358
|
const nextComments = map((c) => c.Copy(), this$.Comments);
|
|
359
359
|
const nextPerformers = map((c_1) => c_1.Copy(), this$.Performers);
|
|
360
|
-
const
|
|
361
|
-
const
|
|
362
|
-
const
|
|
363
|
-
const
|
|
364
|
-
return ArcAssay.make(
|
|
360
|
+
const identifier = this$.Identifier;
|
|
361
|
+
const measurementType = this$.MeasurementType;
|
|
362
|
+
const technologyType = this$.TechnologyType;
|
|
363
|
+
const technologyPlatform = this$.TechnologyPlatform;
|
|
364
|
+
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, nextTables, nextPerformers, nextComments);
|
|
365
365
|
}
|
|
366
366
|
UpdateBy(assay, onlyReplaceExisting, appendSequences) {
|
|
367
367
|
const this$ = this;
|
|
@@ -444,8 +444,8 @@ export class ArcAssay extends ArcTables {
|
|
|
444
444
|
const r = match(create("(?<value>[^\\(]+) \\((?<ontology>[^(]*:[^)]*)\\)"), name);
|
|
445
445
|
if (r != null) {
|
|
446
446
|
let oa;
|
|
447
|
-
const
|
|
448
|
-
oa = OntologyAnnotation.fromTermAnnotation(
|
|
447
|
+
const termAnnotation = (r.groups && r.groups.ontology) || "";
|
|
448
|
+
oa = OntologyAnnotation.fromTermAnnotation(termAnnotation);
|
|
449
449
|
return new OntologyAnnotation(oa.ID, new AnnotationValue(0, [Value__get_Text(Value_fromString_Z721C83C5((r.groups && r.groups.value) || ""))]), oa.TermSourceREF, oa.TermAccessionNumber, oa.Comments);
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
@@ -488,17 +488,17 @@ export class ArcAssay extends ArcTables {
|
|
|
488
488
|
let assayMaterials;
|
|
489
489
|
const v_2 = AssayMaterials_create_Z253F0553(unwrap(Option_fromValueWithDefault(empty(), getSamples(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getMaterials(processSeq))));
|
|
490
490
|
assayMaterials = Option_fromValueWithDefault(AssayMaterials_get_empty(), v_2);
|
|
491
|
-
return Assay_create_3D372A24(void 0, unwrap(isMissingIdentifier(this$.Identifier) ? void 0 : Assay_fileNameFromIdentifier(this$.Identifier)), unwrap(this$.MeasurementType), unwrap(this$.TechnologyType), unwrap(map_1((
|
|
491
|
+
return Assay_create_3D372A24(void 0, unwrap(isMissingIdentifier(this$.Identifier) ? void 0 : Assay_fileNameFromIdentifier(this$.Identifier)), unwrap(this$.MeasurementType), unwrap(this$.TechnologyType), unwrap(map_1((tp) => ArcAssay.composeTechnologyPlatform(tp), this$.TechnologyPlatform)), unwrap(Option_fromValueWithDefault(empty(), getData(processSeq))), unwrap(assayMaterials), unwrap(Option_fromValueWithDefault(empty(), getCharacteristics(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getUnits(processSeq))), unwrap(Option_fromValueWithDefault(empty(), processSeq)), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Comments))));
|
|
492
492
|
}
|
|
493
493
|
static fromAssay(a) {
|
|
494
|
-
const tables = map_1((
|
|
495
|
-
const t = ArcTables.fromProcesses(
|
|
494
|
+
const tables = map_1((arg) => {
|
|
495
|
+
const t = ArcTables.fromProcesses(arg);
|
|
496
496
|
return t.Tables;
|
|
497
497
|
}, a.ProcessSequence);
|
|
498
498
|
let identifer;
|
|
499
499
|
const matchValue = a.FileName;
|
|
500
500
|
identifer = ((matchValue == null) ? createMissingIdentifier() : Assay_identifierFromFileName(matchValue));
|
|
501
|
-
return ArcAssay.create(identifer, unwrap(map_1((x) => x.Copy(), a.MeasurementType)), unwrap(map_1((x_1) => x_1.Copy(), a.TechnologyType)), unwrap(map_1((
|
|
501
|
+
return ArcAssay.create(identifer, unwrap(map_1((x) => x.Copy(), a.MeasurementType)), unwrap(map_1((x_1) => x_1.Copy(), a.TechnologyType)), unwrap(map_1((name) => ArcAssay.decomposeTechnologyPlatform(name), a.TechnologyPlatform)), unwrap(tables), void 0, unwrap(map_1(toArray_1, a.Comments)));
|
|
502
502
|
}
|
|
503
503
|
StructurallyEquals(other) {
|
|
504
504
|
let a, b, a_1, b_1, a_2, b_2;
|
|
@@ -510,21 +510,21 @@ export class ArcAssay extends ArcTables {
|
|
|
510
510
|
else {
|
|
511
511
|
return false;
|
|
512
512
|
}
|
|
513
|
-
}, true, toList(delay(() => map_2((i_1) => equals(
|
|
513
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Performers, (b_1 = other.Performers, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
514
514
|
if (acc_1) {
|
|
515
515
|
return e_1;
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
518
518
|
return false;
|
|
519
519
|
}
|
|
520
|
-
}, true, toList(delay(() => map_2((i_2) => equals(
|
|
520
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.Comments, (b_2 = other.Comments, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
521
521
|
if (acc_2) {
|
|
522
522
|
return e_2;
|
|
523
523
|
}
|
|
524
524
|
else {
|
|
525
525
|
return false;
|
|
526
526
|
}
|
|
527
|
-
}, true, toList(delay(() => map_2((i_3) => equals(
|
|
527
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
|
|
528
528
|
}
|
|
529
529
|
ReferenceEquals(other) {
|
|
530
530
|
const this$ = this;
|
|
@@ -812,8 +812,8 @@ export class ArcStudy extends ArcTables {
|
|
|
812
812
|
const this$ = this;
|
|
813
813
|
const matchValue = this$.Investigation;
|
|
814
814
|
if (matchValue == null) {
|
|
815
|
-
const
|
|
816
|
-
return Array.from(
|
|
815
|
+
const collection = map_2((identifier) => ArcAssay.init(identifier), this$.RegisteredAssayIdentifiers);
|
|
816
|
+
return Array.from(collection);
|
|
817
817
|
}
|
|
818
818
|
else {
|
|
819
819
|
const i = matchValue;
|
|
@@ -1071,12 +1071,12 @@ export class ArcStudy extends ArcTables {
|
|
|
1071
1071
|
const nextContacts = map((c_2) => c_2.Copy(), this$.Contacts);
|
|
1072
1072
|
const nextPublications = map((c_3) => c_3.Copy(), this$.Publications);
|
|
1073
1073
|
const nextStudyDesignDescriptors = map((c_4) => c_4.Copy(), this$.StudyDesignDescriptors);
|
|
1074
|
-
const
|
|
1075
|
-
const
|
|
1076
|
-
const
|
|
1077
|
-
const
|
|
1078
|
-
const
|
|
1079
|
-
return ArcStudy.make(
|
|
1074
|
+
const identifier = this$.Identifier;
|
|
1075
|
+
const title = this$.Title;
|
|
1076
|
+
const description = this$.Description;
|
|
1077
|
+
const submissionDate = this$.SubmissionDate;
|
|
1078
|
+
const publicReleaseDate = this$.PublicReleaseDate;
|
|
1079
|
+
return ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextAssayIdentifiers, nextFactors, nextComments);
|
|
1080
1080
|
}
|
|
1081
1081
|
UpdateReferenceByStudyFile(study, onlyReplaceExisting, keepUnusedRefTables) {
|
|
1082
1082
|
const this$ = this;
|
|
@@ -1128,20 +1128,20 @@ export class ArcStudy extends ArcTables {
|
|
|
1128
1128
|
return Study_create_Z2D28E954(void 0, unwrap(patternInput[1]), unwrap(patternInput[0]), unwrap(this$.Title), unwrap(this$.Description), unwrap(this$.SubmissionDate), unwrap(this$.PublicReleaseDate), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Publications))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Contacts))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.StudyDesignDescriptors))), unwrap(protocols), unwrap(studyMaterials), unwrap(Option_fromValueWithDefault(empty(), processSeq)), unwrap(Option_fromValueWithDefault(empty(), assays)), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Factors))), unwrap(Option_fromValueWithDefault(empty(), getCharacteristics(processSeq))), unwrap(Option_fromValueWithDefault(empty(), getUnits(processSeq))), unwrap(Option_fromValueWithDefault(empty(), ofArray(this$.Comments))));
|
|
1129
1129
|
}
|
|
1130
1130
|
static fromStudy(s) {
|
|
1131
|
-
const tables = map_1((
|
|
1132
|
-
const t = ArcTables.fromProcesses(
|
|
1131
|
+
const tables = map_1((arg) => {
|
|
1132
|
+
const t = ArcTables.fromProcesses(arg);
|
|
1133
1133
|
return t.Tables;
|
|
1134
1134
|
}, s.ProcessSequence);
|
|
1135
1135
|
let identifer;
|
|
1136
1136
|
const matchValue = s.FileName;
|
|
1137
1137
|
identifer = ((matchValue == null) ? createMissingIdentifier() : Study_identifierFromFileName(matchValue));
|
|
1138
|
-
const assays = defaultArg(map_1((
|
|
1139
|
-
const
|
|
1140
|
-
return Array.from(
|
|
1138
|
+
const assays = defaultArg(map_1((arg_1) => {
|
|
1139
|
+
const collection = map_3((a) => ArcAssay.fromAssay(a), arg_1);
|
|
1140
|
+
return Array.from(collection);
|
|
1141
1141
|
}, s.Assays), []);
|
|
1142
1142
|
let assaysIdentifiers;
|
|
1143
|
-
const
|
|
1144
|
-
assaysIdentifiers = Array.from(
|
|
1143
|
+
const collection_1 = map_2((a_1) => a_1.Identifier, assays);
|
|
1144
|
+
assaysIdentifiers = Array.from(collection_1);
|
|
1145
1145
|
return [ArcStudy.create(identifer, unwrap(s.Title), unwrap(s.Description), unwrap(s.SubmissionDate), unwrap(s.PublicReleaseDate), unwrap(map_1(toArray_1, s.Publications)), unwrap(map_1(toArray_1, s.Contacts)), unwrap(map_1(toArray_1, s.StudyDesignDescriptors)), unwrap(tables), assaysIdentifiers, unwrap(map_1(toArray_1, s.Factors)), unwrap(map_1(toArray_1, s.Comments))), assays];
|
|
1146
1146
|
}
|
|
1147
1147
|
StructurallyEquals(other) {
|
|
@@ -1154,49 +1154,49 @@ export class ArcStudy extends ArcTables {
|
|
|
1154
1154
|
else {
|
|
1155
1155
|
return false;
|
|
1156
1156
|
}
|
|
1157
|
-
}, true, toList(delay(() => map_2((i_1) => equals(
|
|
1157
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
1158
1158
|
if (acc_1) {
|
|
1159
1159
|
return e_1;
|
|
1160
1160
|
}
|
|
1161
1161
|
else {
|
|
1162
1162
|
return false;
|
|
1163
1163
|
}
|
|
1164
|
-
}, true, toList(delay(() => map_2((i_2) => equals(
|
|
1164
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.StudyDesignDescriptors, (b_2 = other.StudyDesignDescriptors, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
1165
1165
|
if (acc_2) {
|
|
1166
1166
|
return e_2;
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
1169
|
return false;
|
|
1170
1170
|
}
|
|
1171
|
-
}, true, toList(delay(() => map_2((i_3) => equals(
|
|
1171
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Tables, (b_3 = other.Tables, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
1172
1172
|
if (acc_3) {
|
|
1173
1173
|
return e_3;
|
|
1174
1174
|
}
|
|
1175
1175
|
else {
|
|
1176
1176
|
return false;
|
|
1177
1177
|
}
|
|
1178
|
-
}, true, toList(delay(() => map_2((i_4) => equals(
|
|
1178
|
+
}, true, toList(delay(() => map_2((i_4) => equals(item_1(i_4, a_3), item_1(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.RegisteredAssayIdentifiers, (b_4 = other.RegisteredAssayIdentifiers, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
1179
1179
|
if (acc_4) {
|
|
1180
1180
|
return e_4;
|
|
1181
1181
|
}
|
|
1182
1182
|
else {
|
|
1183
1183
|
return false;
|
|
1184
1184
|
}
|
|
1185
|
-
}, true, toList(delay(() => map_2((i_5) => (
|
|
1185
|
+
}, true, toList(delay(() => map_2((i_5) => (item_1(i_5, a_4) === item_1(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Factors, (b_5 = other.Factors, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
1186
1186
|
if (acc_5) {
|
|
1187
1187
|
return e_5;
|
|
1188
1188
|
}
|
|
1189
1189
|
else {
|
|
1190
1190
|
return false;
|
|
1191
1191
|
}
|
|
1192
|
-
}, true, toList(delay(() => map_2((i_6) => equals(
|
|
1192
|
+
}, true, toList(delay(() => map_2((i_6) => equals(item_1(i_6, a_5), item_1(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
|
|
1193
1193
|
if (acc_6) {
|
|
1194
1194
|
return e_6;
|
|
1195
1195
|
}
|
|
1196
1196
|
else {
|
|
1197
1197
|
return false;
|
|
1198
1198
|
}
|
|
1199
|
-
}, true, toList(delay(() => map_2((i_7) => equals(
|
|
1199
|
+
}, true, toList(delay(() => map_2((i_7) => equals(item_1(i_7, a_6), item_1(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1)))))))]);
|
|
1200
1200
|
}
|
|
1201
1201
|
ReferenceEquals(other) {
|
|
1202
1202
|
const this$ = this;
|
|
@@ -1517,8 +1517,8 @@ export class ArcInvestigation {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
get RegisteredStudies() {
|
|
1519
1519
|
const this$ = this;
|
|
1520
|
-
const
|
|
1521
|
-
return Array.from(
|
|
1520
|
+
const collection = map_2((identifier) => this$.GetStudy(identifier), this$.RegisteredStudyIdentifiers);
|
|
1521
|
+
return Array.from(collection);
|
|
1522
1522
|
}
|
|
1523
1523
|
get StudyCount() {
|
|
1524
1524
|
const this$ = this;
|
|
@@ -1830,9 +1830,9 @@ export class ArcInvestigation {
|
|
|
1830
1830
|
};
|
|
1831
1831
|
}
|
|
1832
1832
|
UpdateIOTypeByEntityID() {
|
|
1833
|
-
let
|
|
1833
|
+
let collection;
|
|
1834
1834
|
const this$ = this;
|
|
1835
|
-
const ioMap = ArcTablesAux_getIOMap((
|
|
1835
|
+
const ioMap = ArcTablesAux_getIOMap((collection = toList(delay(() => append_4(collect((study) => study.Tables, this$.Studies), delay(() => collect((assay) => assay.Tables, this$.Assays))))), Array.from(collection)));
|
|
1836
1836
|
let enumerator = getEnumerator(this$.Studies);
|
|
1837
1837
|
try {
|
|
1838
1838
|
while (enumerator["System.Collections.IEnumerator.MoveNext"]()) {
|
|
@@ -1897,18 +1897,18 @@ export class ArcInvestigation {
|
|
|
1897
1897
|
let identifer;
|
|
1898
1898
|
const matchValue = i.Identifier;
|
|
1899
1899
|
identifer = ((matchValue == null) ? createMissingIdentifier() : matchValue);
|
|
1900
|
-
const patternInput = unzip(map_3((
|
|
1900
|
+
const patternInput = unzip(map_3((s) => ArcStudy.fromStudy(s), defaultArg(i.Studies, empty())));
|
|
1901
1901
|
const studiesRaw = patternInput[0];
|
|
1902
1902
|
const studies = Array.from(studiesRaw);
|
|
1903
1903
|
let studyIdentifiers;
|
|
1904
|
-
const
|
|
1905
|
-
studyIdentifiers = Array.from(
|
|
1904
|
+
const collection = map_2((a) => a.Identifier, studiesRaw);
|
|
1905
|
+
studyIdentifiers = Array.from(collection);
|
|
1906
1906
|
let assays;
|
|
1907
|
-
const
|
|
1907
|
+
const collection_1 = distinctBy((a_1) => a_1.Identifier, concat(patternInput[1]), {
|
|
1908
1908
|
Equals: (x, y) => (x === y),
|
|
1909
1909
|
GetHashCode: stringHash,
|
|
1910
1910
|
});
|
|
1911
|
-
assays = Array.from(
|
|
1911
|
+
assays = Array.from(collection_1);
|
|
1912
1912
|
return ArcInvestigation.create(identifer, i.Title, i.Description, i.SubmissionDate, i.PublicReleaseDate, void 0, map_1(toArray_1, i.Publications), map_1(toArray_1, i.Contacts), assays, studies, studyIdentifiers, map_1(toArray_1, i.Comments));
|
|
1913
1913
|
}
|
|
1914
1914
|
StructurallyEquals(other) {
|
|
@@ -1921,56 +1921,56 @@ export class ArcInvestigation {
|
|
|
1921
1921
|
else {
|
|
1922
1922
|
return false;
|
|
1923
1923
|
}
|
|
1924
|
-
}, true, toList(delay(() => map_2((i_1) => equals(
|
|
1924
|
+
}, true, toList(delay(() => map_2((i_1) => equals(item_1(i_1, a), item_1(i_1, b)), rangeDouble(0, 1, length(a) - 1))))))), (a_1 = this$.Contacts, (b_1 = other.Contacts, (length(a_1) === length(b_1)) && fold((acc_1, e_1) => {
|
|
1925
1925
|
if (acc_1) {
|
|
1926
1926
|
return e_1;
|
|
1927
1927
|
}
|
|
1928
1928
|
else {
|
|
1929
1929
|
return false;
|
|
1930
1930
|
}
|
|
1931
|
-
}, true, toList(delay(() => map_2((i_2) => equals(
|
|
1931
|
+
}, true, toList(delay(() => map_2((i_2) => equals(item_1(i_2, a_1), item_1(i_2, b_1)), rangeDouble(0, 1, length(a_1) - 1))))))), (a_2 = this$.OntologySourceReferences, (b_2 = other.OntologySourceReferences, (length(a_2) === length(b_2)) && fold((acc_2, e_2) => {
|
|
1932
1932
|
if (acc_2) {
|
|
1933
1933
|
return e_2;
|
|
1934
1934
|
}
|
|
1935
1935
|
else {
|
|
1936
1936
|
return false;
|
|
1937
1937
|
}
|
|
1938
|
-
}, true, toList(delay(() => map_2((i_3) => equals(
|
|
1938
|
+
}, true, toList(delay(() => map_2((i_3) => equals(item_1(i_3, a_2), item_1(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1))))))), (a_3 = this$.Assays, (b_3 = other.Assays, (length(a_3) === length(b_3)) && fold((acc_3, e_3) => {
|
|
1939
1939
|
if (acc_3) {
|
|
1940
1940
|
return e_3;
|
|
1941
1941
|
}
|
|
1942
1942
|
else {
|
|
1943
1943
|
return false;
|
|
1944
1944
|
}
|
|
1945
|
-
}, true, toList(delay(() => map_2((i_4) => equals(
|
|
1945
|
+
}, true, toList(delay(() => map_2((i_4) => equals(item_1(i_4, a_3), item_1(i_4, b_3)), rangeDouble(0, 1, length(a_3) - 1))))))), (a_4 = this$.Studies, (b_4 = other.Studies, (length(a_4) === length(b_4)) && fold((acc_4, e_4) => {
|
|
1946
1946
|
if (acc_4) {
|
|
1947
1947
|
return e_4;
|
|
1948
1948
|
}
|
|
1949
1949
|
else {
|
|
1950
1950
|
return false;
|
|
1951
1951
|
}
|
|
1952
|
-
}, true, toList(delay(() => map_2((i_5) => equals(
|
|
1952
|
+
}, true, toList(delay(() => map_2((i_5) => equals(item_1(i_5, a_4), item_1(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.RegisteredStudyIdentifiers, (b_5 = other.RegisteredStudyIdentifiers, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
1953
1953
|
if (acc_5) {
|
|
1954
1954
|
return e_5;
|
|
1955
1955
|
}
|
|
1956
1956
|
else {
|
|
1957
1957
|
return false;
|
|
1958
1958
|
}
|
|
1959
|
-
}, true, toList(delay(() => map_2((i_6) => (
|
|
1959
|
+
}, true, toList(delay(() => map_2((i_6) => (item_1(i_6, a_5) === item_1(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1))))))), (a_6 = this$.Comments, (b_6 = other.Comments, (length(a_6) === length(b_6)) && fold((acc_6, e_6) => {
|
|
1960
1960
|
if (acc_6) {
|
|
1961
1961
|
return e_6;
|
|
1962
1962
|
}
|
|
1963
1963
|
else {
|
|
1964
1964
|
return false;
|
|
1965
1965
|
}
|
|
1966
|
-
}, true, toList(delay(() => map_2((i_7) => equals(
|
|
1966
|
+
}, true, toList(delay(() => map_2((i_7) => equals(item_1(i_7, a_6), item_1(i_7, b_6)), rangeDouble(0, 1, length(a_6) - 1))))))), (a_7 = this$.Remarks, (b_7 = other.Remarks, (length(a_7) === length(b_7)) && fold((acc_7, e_7) => {
|
|
1967
1967
|
if (acc_7) {
|
|
1968
1968
|
return e_7;
|
|
1969
1969
|
}
|
|
1970
1970
|
else {
|
|
1971
1971
|
return false;
|
|
1972
1972
|
}
|
|
1973
|
-
}, true, toList(delay(() => map_2((i_8) => equals(
|
|
1973
|
+
}, true, toList(delay(() => map_2((i_8) => equals(item_1(i_8, a_7), item_1(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1)))))))]);
|
|
1974
1974
|
}
|
|
1975
1975
|
ReferenceEquals(other) {
|
|
1976
1976
|
const this$ = this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { int32ToString } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { int32ToString } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
2
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
3
3
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
|
|
4
4
|
import { AnnotationValue } from "../JsonTypes/AnnotationValue.js";
|
|
5
|
-
import { Union } from "../../../fable_modules/fable-library.4.1
|
|
6
|
-
import { union_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
5
|
+
import { Union } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
6
|
+
import { union_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class CompositeCell extends Union {
|
|
9
9
|
constructor(tag, fields) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { empty, singleton, collect, delay, toArray } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { empty, singleton, collect, delay, toArray } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
3
|
+
import { Record } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
4
4
|
import { CompositeHeader_$reflection } from "./CompositeHeader.js";
|
|
5
5
|
import { CompositeCell_$reflection } from "./CompositeCell.js";
|
|
6
|
-
import { record_type, array_type } from "../../../fable_modules/fable-library.4.1
|
|
6
|
+
import { record_type, array_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
7
7
|
|
|
8
8
|
export class CompositeColumn extends Record {
|
|
9
9
|
constructor(Header, Cells) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { map } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { union_type, string_type, getUnionCases, name } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { Union, toString } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { map } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
2
|
+
import { union_type, string_type, getUnionCases, name } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { Union, toString } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
4
4
|
import { ActivePatterns_$007CTermColumn$007C_$007C, Pattern_OutputPattern, Pattern_InputPattern, ActivePatterns_$007CRegex$007C_$007C, tryParseIOTypeHeader } from "../Regex.js";
|
|
5
|
-
import { equals } from "../../../fable_modules/fable-library.4.1
|
|
6
|
-
import { printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
5
|
+
import { equals } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
7
7
|
import { OntologyAnnotation_$reflection, OntologyAnnotation } from "../JsonTypes/OntologyAnnotation.js";
|
|
8
8
|
import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
|
|
9
9
|
import { Factor } from "../JsonTypes/Factor.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fold } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { fold } from "../../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
2
2
|
import { Protocol_create_Z7DFD6E67, Protocol_addComponent, Protocol_addParameter, Protocol_setName, Protocol_setDescription, Protocol_setUri, Protocol_setVersion, Protocol_setProtocolType } from "../JsonTypes/Protocol.js";
|
|
3
3
|
import { ProtocolParameter_create_Z6C54B221 } from "../JsonTypes/ProtocolParameter.js";
|
|
4
4
|
import { Component_create_61502994 } from "../JsonTypes/Component.js";
|
package/ISA/ISA/Builder/Types.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Union } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { list_type, union_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 { list_type, union_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
import { OntologyAnnotation_$reflection } from "../JsonTypes/OntologyAnnotation.js";
|
|
4
4
|
import { Protocol_get_empty, Protocol } from "../JsonTypes/Protocol.js";
|
|
5
5
|
import { ProcessParameterValue_$reflection } from "../JsonTypes/ProcessParameterValue.js";
|
|
6
6
|
import { MaterialAttributeValue_$reflection } from "../JsonTypes/MaterialAttributeValue.js";
|
|
7
7
|
import { FactorValue_$reflection } from "../JsonTypes/FactorValue.js";
|
|
8
|
-
import { map as map_1, exists, fold, singleton, empty, append } from "../../../fable_modules/fable-library.4.1
|
|
9
|
-
import { map, value as value_4, defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
8
|
+
import { map as map_1, exists, fold, singleton, empty, append } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
9
|
+
import { map, value as value_4, defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
10
10
|
import { Process_get_empty, Process } from "../JsonTypes/Process.js";
|
|
11
11
|
import { Assay_get_empty, Assay } from "../JsonTypes/Assay.js";
|
|
12
|
-
import { printf, toFail } from "../../../fable_modules/fable-library.4.1
|
|
12
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
13
13
|
import { Study } from "../JsonTypes/Study.js";
|
|
14
14
|
|
|
15
15
|
export class ProtocolTransformation extends Union {
|
package/ISA/ISA/Fable.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { toString } from "../../fable_modules/fable-library.4.1
|
|
2
|
-
import { append } from "../../fable_modules/fable-library.4.1
|
|
3
|
-
import { append as append_1 } from "../../fable_modules/fable-library.4.1
|
|
4
|
-
import { Array_distinct, List_distinct } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { structuralHash, equals } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { toString } from "../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { append } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
3
|
+
import { append as append_1 } from "../../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { Array_distinct, List_distinct } from "../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
5
|
+
import { structuralHash, equals } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
6
|
|
|
7
7
|
export function isMap_generic(l1) {
|
|
8
8
|
let copyOfStruct;
|
package/ISA/ISA/Helper.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { some, value as value_1 } from "../../fable_modules/fable-library.4.1
|
|
2
|
-
import { isIterable, defaultOf, structuralHash, equals, numberHash, identityHash } from "../../fable_modules/fable-library.4.1
|
|
3
|
-
import { exactlyOne, partition, fold } from "../../fable_modules/fable-library.4.1
|
|
4
|
-
import { empty, singleton, append, head, tail, isEmpty } from "../../fable_modules/fable-library.4.1
|
|
5
|
-
import { Dictionary } from "../../fable_modules/fable-library.4.1
|
|
6
|
-
import { isEmpty as isEmpty_1, iterate } from "../../fable_modules/fable-library.4.1
|
|
7
|
-
import { tryGetValue, addToDict } from "../../fable_modules/fable-library.4.1
|
|
8
|
-
import { Union, toString, FSharpRef } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { some, value as value_1 } from "../../fable_modules/fable-library.4.4.1/Option.js";
|
|
2
|
+
import { isIterable, defaultOf, structuralHash, equals, numberHash, identityHash } from "../../fable_modules/fable-library.4.4.1/Util.js";
|
|
3
|
+
import { exactlyOne, partition, fold } from "../../fable_modules/fable-library.4.4.1/Array.js";
|
|
4
|
+
import { empty, singleton, append, head, tail, isEmpty } from "../../fable_modules/fable-library.4.4.1/List.js";
|
|
5
|
+
import { Dictionary } from "../../fable_modules/fable-library.4.4.1/MutableMap.js";
|
|
6
|
+
import { isEmpty as isEmpty_1, iterate } from "../../fable_modules/fable-library.4.4.1/Seq.js";
|
|
7
|
+
import { tryGetValue, addToDict } from "../../fable_modules/fable-library.4.4.1/MapUtil.js";
|
|
8
|
+
import { Union, toString, FSharpRef } from "../../fable_modules/fable-library.4.4.1/Types.js";
|
|
9
9
|
import { append_generic, distinct_generic, isList_generic, isMap_generic } from "./Fable.js";
|
|
10
|
-
import { union_type, makeUnion, option_type, makeGenericType, getUnionCases, name, obj_type } from "../../fable_modules/fable-library.4.1
|
|
10
|
+
import { union_type, makeUnion, option_type, makeGenericType, getUnionCases, name, obj_type } from "../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
11
11
|
|
|
12
12
|
export function HashCodes_boxHashOption(a) {
|
|
13
13
|
let copyOfStruct, copyOfStruct_1;
|
package/ISA/ISA/Identifier.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { match, isMatch } from "../../fable_modules/fable-library.4.1
|
|
2
|
-
import { newGuid } from "../../fable_modules/fable-library.4.1
|
|
1
|
+
import { match, isMatch } from "../../fable_modules/fable-library.4.4.1/RegExp.js";
|
|
2
|
+
import { newGuid } from "../../fable_modules/fable-library.4.4.1/Guid.js";
|
|
3
3
|
import { combineMany } from "../../FileSystem/Path.js";
|
|
4
4
|
|
|
5
5
|
export function checkValidCharacters(identifier) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Union } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { union_type, int32_type, float64_type, string_type } from "../../../fable_modules/fable-library.4.1
|
|
3
|
-
import { parse } from "../../../fable_modules/fable-library.4.1
|
|
4
|
-
import { parse as parse_1 } from "../../../fable_modules/fable-library.4.1
|
|
5
|
-
import { int32ToString } from "../../../fable_modules/fable-library.4.1
|
|
1
|
+
import { Union } from "../../../fable_modules/fable-library.4.4.1/Types.js";
|
|
2
|
+
import { union_type, int32_type, float64_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
|
+
import { parse } from "../../../fable_modules/fable-library.4.4.1/Double.js";
|
|
4
|
+
import { parse as parse_1 } from "../../../fable_modules/fable-library.4.4.1/Int32.js";
|
|
5
|
+
import { int32ToString } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
6
6
|
|
|
7
7
|
export class AnnotationValue extends Union {
|
|
8
8
|
constructor(tag, fields) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Record } from "../../../fable_modules/fable-library.4.1
|
|
2
|
-
import { getRecordFields, makeRecord, record_type, list_type, option_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 { getRecordFields, makeRecord, record_type, list_type, option_type, string_type } from "../../../fable_modules/fable-library.4.4.1/Reflection.js";
|
|
3
3
|
import { OntologyAnnotation_$reflection } from "./OntologyAnnotation.js";
|
|
4
4
|
import { Data_$reflection } from "./Data.js";
|
|
5
5
|
import { AssayMaterials_get_empty, AssayMaterials_make, AssayMaterials_$reflection } from "./AssayMaterials.js";
|
|
6
6
|
import { MaterialAttribute_$reflection } from "./MaterialAttribute.js";
|
|
7
7
|
import { Process_$reflection } from "./Process.js";
|
|
8
8
|
import { Comment$_$reflection } from "./Comment.js";
|
|
9
|
-
import { empty, filter, map, singleton, append, exists, tryFind } from "../../../fable_modules/fable-library.4.1
|
|
10
|
-
import { safeHash, structuralHash, equals } from "../../../fable_modules/fable-library.4.1
|
|
11
|
-
import { map2 as map2_2 } from "../../../fable_modules/fable-library.4.1
|
|
9
|
+
import { empty, filter, map, singleton, append, exists, tryFind } from "../../../fable_modules/fable-library.4.4.1/List.js";
|
|
10
|
+
import { safeHash, structuralHash, equals } from "../../../fable_modules/fable-library.4.4.1/Util.js";
|
|
11
|
+
import { map2 as map2_2 } from "../../../fable_modules/fable-library.4.4.1/Array.js";
|
|
12
12
|
import { Dict_tryFind, Dict_ofSeqWithMerge, Update_updateOnlyByExistingAppend, Update_updateOnlyByExisting, Update_updateAppend } from "../Helper.js";
|
|
13
13
|
import { Option_fromValueWithDefault, Update_UpdateOptions, Option_mapDefault } from "../Helper.js";
|
|
14
14
|
import { updateProtocols, getProtocols, getFactors, getOutputsWithFactorBy, getOutputsWithCharacteristicBy, getInputsWithCharacteristicBy, getParameters, getOutputsWithParameterBy, getInputsWithParameterBy, getMaterials, getSamples, getSources, getCharacteristics, getUnits, getData } from "./ProcessSequence.js";
|
|
15
|
-
import { map as map_1, defaultArg } from "../../../fable_modules/fable-library.4.1
|
|
16
|
-
import { List_distinct } from "../../../fable_modules/fable-library.4.1
|
|
15
|
+
import { map as map_1, defaultArg } from "../../../fable_modules/fable-library.4.4.1/Option.js";
|
|
16
|
+
import { List_distinct } from "../../../fable_modules/fable-library.4.4.1/Seq2.js";
|
|
17
17
|
import { Sample_$reflection } from "./Sample.js";
|
|
18
18
|
import { Material_$reflection } from "./Material.js";
|
|
19
|
-
import { toFail } from "../../../fable_modules/fable-library.4.1
|
|
19
|
+
import { toFail } from "../../../fable_modules/fable-library.4.4.1/String.js";
|
|
20
20
|
|
|
21
21
|
export class Assay extends Record {
|
|
22
22
|
constructor(ID, FileName, MeasurementType, TechnologyType, TechnologyPlatform, DataFiles, Materials, CharacteristicCategories, UnitCategories, ProcessSequence, Comments) {
|
|
@@ -148,10 +148,10 @@ export function Assay_getData_722A269D(assay) {
|
|
|
148
148
|
const list1 = defaultArg(assay.DataFiles, empty());
|
|
149
149
|
const list2 = processSequenceData;
|
|
150
150
|
try {
|
|
151
|
-
const map1 = Dict_ofSeqWithMerge((
|
|
151
|
+
const map1 = Dict_ofSeqWithMerge((recordType_, recordType__1) => {
|
|
152
152
|
const this$ = updateOptions;
|
|
153
|
-
const recordType_1 =
|
|
154
|
-
const recordType_2 =
|
|
153
|
+
const recordType_1 = recordType_;
|
|
154
|
+
const recordType_2 = recordType__1;
|
|
155
155
|
switch (this$.tag) {
|
|
156
156
|
case 2:
|
|
157
157
|
return makeRecord(Data_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1), getRecordFields(recordType_2)));
|
|
@@ -163,10 +163,10 @@ export function Assay_getData_722A269D(assay) {
|
|
|
163
163
|
return recordType_2;
|
|
164
164
|
}
|
|
165
165
|
}, map((v) => [mapping(v), v], list1));
|
|
166
|
-
const map2 = Dict_ofSeqWithMerge((
|
|
166
|
+
const map2 = Dict_ofSeqWithMerge((recordType__2, recordType__3) => {
|
|
167
167
|
const this$_1 = updateOptions;
|
|
168
|
-
const recordType_1_1 =
|
|
169
|
-
const recordType_2_1 =
|
|
168
|
+
const recordType_1_1 = recordType__2;
|
|
169
|
+
const recordType_2_1 = recordType__3;
|
|
170
170
|
switch (this$_1.tag) {
|
|
171
171
|
case 2:
|
|
172
172
|
return makeRecord(Data_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1_1), getRecordFields(recordType_2_1)));
|
|
@@ -373,10 +373,10 @@ export function Assay_getMaterials_722A269D(assay) {
|
|
|
373
373
|
const list1 = defaultArg(mat.Samples, empty());
|
|
374
374
|
const list2 = processSequenceSamples;
|
|
375
375
|
try {
|
|
376
|
-
const map1 = Dict_ofSeqWithMerge((
|
|
376
|
+
const map1 = Dict_ofSeqWithMerge((recordType_, recordType__1) => {
|
|
377
377
|
const this$ = updateOptions;
|
|
378
|
-
const recordType_1 =
|
|
379
|
-
const recordType_2 =
|
|
378
|
+
const recordType_1 = recordType_;
|
|
379
|
+
const recordType_2 = recordType__1;
|
|
380
380
|
switch (this$.tag) {
|
|
381
381
|
case 2:
|
|
382
382
|
return makeRecord(Sample_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1), getRecordFields(recordType_2)));
|
|
@@ -388,10 +388,10 @@ export function Assay_getMaterials_722A269D(assay) {
|
|
|
388
388
|
return recordType_2;
|
|
389
389
|
}
|
|
390
390
|
}, map((v) => [mapping(v), v], list1));
|
|
391
|
-
const map2 = Dict_ofSeqWithMerge((
|
|
391
|
+
const map2 = Dict_ofSeqWithMerge((recordType__2, recordType__3) => {
|
|
392
392
|
const this$_1 = updateOptions;
|
|
393
|
-
const recordType_1_1 =
|
|
394
|
-
const recordType_2_1 =
|
|
393
|
+
const recordType_1_1 = recordType__2;
|
|
394
|
+
const recordType_2_1 = recordType__3;
|
|
395
395
|
switch (this$_1.tag) {
|
|
396
396
|
case 2:
|
|
397
397
|
return makeRecord(Sample_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1_1), getRecordFields(recordType_2_1)));
|
|
@@ -451,10 +451,10 @@ ${err.message}`);
|
|
|
451
451
|
const list1_1 = defaultArg(mat.OtherMaterials, empty());
|
|
452
452
|
const list2_1 = processSequenceMaterials;
|
|
453
453
|
try {
|
|
454
|
-
const map1_1 = Dict_ofSeqWithMerge((
|
|
454
|
+
const map1_1 = Dict_ofSeqWithMerge((recordType__6, recordType__1_1) => {
|
|
455
455
|
const this$_3 = updateOptions_1;
|
|
456
|
-
const recordType_1_3 =
|
|
457
|
-
const recordType_2_3 =
|
|
456
|
+
const recordType_1_3 = recordType__6;
|
|
457
|
+
const recordType_2_3 = recordType__1_1;
|
|
458
458
|
switch (this$_3.tag) {
|
|
459
459
|
case 2:
|
|
460
460
|
return makeRecord(Material_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1_3), getRecordFields(recordType_2_3)));
|
|
@@ -466,10 +466,10 @@ ${err.message}`);
|
|
|
466
466
|
return recordType_2_3;
|
|
467
467
|
}
|
|
468
468
|
}, map((v_2) => [mapping_5(v_2), v_2], list1_1));
|
|
469
|
-
const map2_1 = Dict_ofSeqWithMerge((
|
|
469
|
+
const map2_1 = Dict_ofSeqWithMerge((recordType__2_1, recordType__3_1) => {
|
|
470
470
|
const this$_4 = updateOptions_1;
|
|
471
|
-
const recordType_1_4 =
|
|
472
|
-
const recordType_2_4 =
|
|
471
|
+
const recordType_1_4 = recordType__2_1;
|
|
472
|
+
const recordType_2_4 = recordType__3_1;
|
|
473
473
|
switch (this$_4.tag) {
|
|
474
474
|
case 2:
|
|
475
475
|
return makeRecord(Material_$reflection(), map2_2(Update_updateAppend, getRecordFields(recordType_1_4), getRecordFields(recordType_2_4)));
|