@nfdi4plants/arctrl 2.0.0-alpha.2 → 2.0.0-alpha.4
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 +110 -15
- package/Contract/ARC.js +9 -1
- package/Contract/Datamap.js +180 -0
- package/Core/ArcTypes.js +148 -121
- package/Core/Conversion.js +99 -67
- package/Core/Data.js +119 -0
- package/Core/{Process/DataFile.js → DataFile.js} +3 -3
- package/Core/Helper/Identifier.js +40 -0
- package/Core/OntologyAnnotation.js +14 -4
- package/Core/Process/ColumnIndex.js +13 -3
- package/Core/Process/ProcessInput.js +5 -5
- package/Core/Process/ProcessOutput.js +5 -5
- package/Core/Process/Value.js +1 -1
- package/Core/Table/ArcTableAux.js +14 -3
- package/Core/Table/CompositeCell.js +67 -10
- package/Core/Table/CompositeColumn.js +9 -0
- package/Core/Table/CompositeHeader.js +58 -68
- package/Core/Table/DataMap.js +166 -0
- package/FileSystem/FileSystemTree.js +18 -4
- package/Json/Assay.js +4 -4
- package/Json/Process/Data.js +56 -18
- package/Json/Process/DataFile.js +5 -5
- package/Json/Process/PropertyValue.js +126 -5
- package/Json/Study.js +6 -6
- package/Json/Table/CompositeCell.js +7 -6
- package/Spreadsheet/AnnotationTable/ArcTable.js +9 -13
- package/Spreadsheet/AnnotationTable/CompositeCell.js +32 -50
- package/Spreadsheet/AnnotationTable/CompositeColumn.js +16 -10
- package/Spreadsheet/AnnotationTable/CompositeHeader.js +262 -143
- package/Spreadsheet/ArcAssay.js +2 -2
- package/Spreadsheet/ArcInvestigation.js +2 -2
- package/Spreadsheet/ArcStudy.js +2 -2
- package/Spreadsheet/DataMap.js +31 -0
- package/Spreadsheet/DataMapTable/DataMapColumn.js +36 -0
- package/Spreadsheet/DataMapTable/DataMapHeader.js +417 -0
- package/Spreadsheet/DataMapTable/DataMapTable.js +98 -0
- package/Spreadsheet/Metadata/Assays.js +2 -2
- package/Spreadsheet/Metadata/SparseTable.js +7 -7
- package/Spreadsheet/Metadata/Study.js +1 -1
- package/Spreadsheet/Template.js +2 -2
- package/Xlsx.js +29 -6
- package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsSpreadsheet.fableproj +9 -3
- package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsWorksheet.fs +1 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Cell.fs +23 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Cell.fs.js +21 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Row.fs +23 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Row.fs.js +19 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Table.fs +24 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Table.fs.js +15 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Value.fs +70 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Value.fs.js +48 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Workbook.fs +20 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Workbook.fs.js +21 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Worksheet.fs +49 -0
- package/fable_modules/FsSpreadsheet.6.1.2/Json/Worksheet.fs.js +44 -0
- package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- package/Core/Process/Data.js +0 -55
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Cells/FsCell.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Cells/FsCellsCollection.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/CellBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/ColumnBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/DSL.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Expression.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/RowBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/SheetBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/TableBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Transform.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/Types.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/DSL/WorkbookBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsAddress.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsColumn.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsWorkbook.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/FsWorksheet.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRange.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeAddress.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeBase.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeColumn.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Ranges/FsRangeRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/SheetBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTable.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTableField.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/Tables/FsTableRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.3 → FsSpreadsheet.6.1.2}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
package/Core/ArcTypes.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { value as value_4, defaultArg, unwrap } from "../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
2
|
-
import { collect, append as append_3, tryFind, removeAt, tryFindIndex, exists, choose, item, map, delay, toList, fold, length, forAll, contains, filter, toArray } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
|
|
1
|
+
import { value as value_4, defaultArg, map, unwrap } from "../fable_modules/fable-library-js.4.16.0/Option.js";
|
|
2
|
+
import { collect, append as append_3, tryFind, removeAt, tryFindIndex, exists, choose, item, map as map_1, delay, toList, fold, length, forAll, contains, filter, toArray } from "../fable_modules/fable-library-js.4.16.0/Seq.js";
|
|
3
3
|
import { defaultOf, safeHash, equals, disposeSafe, getEnumerator, stringHash } from "../fable_modules/fable-library-js.4.16.0/Util.js";
|
|
4
4
|
import { ResizeArray_choose, ResizeArray_filter, ResizeArray_map } from "./Helper/Collections.js";
|
|
5
|
+
import { DataMap__Copy } from "./Table/DataMap.js";
|
|
5
6
|
import { addRangeInPlace, removeInPlace, contains as contains_1 } from "../fable_modules/fable-library-js.4.16.0/Array.js";
|
|
6
7
|
import { printf, toText } from "../fable_modules/fable-library-js.4.16.0/String.js";
|
|
7
8
|
import { rangeDouble } from "../fable_modules/fable-library-js.4.16.0/Range.js";
|
|
@@ -12,7 +13,7 @@ import { Array_distinct } from "../fable_modules/fable-library-js.4.16.0/Seq2.js
|
|
|
12
13
|
import { FSharpRef } from "../fable_modules/fable-library-js.4.16.0/Types.js";
|
|
13
14
|
|
|
14
15
|
export class ArcAssay extends ArcTables {
|
|
15
|
-
constructor(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
|
|
16
|
+
constructor(identifier, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
16
17
|
super(defaultArg(tables, []));
|
|
17
18
|
const performers_1 = defaultArg(performers, []);
|
|
18
19
|
const comments_1 = defaultArg(comments, []);
|
|
@@ -21,8 +22,9 @@ export class ArcAssay extends ArcTables {
|
|
|
21
22
|
this["measurementType@111"] = measurementType;
|
|
22
23
|
this["technologyType@112"] = technologyType;
|
|
23
24
|
this["technologyPlatform@113"] = technologyPlatform;
|
|
24
|
-
this
|
|
25
|
-
this["
|
|
25
|
+
this.dataMap = datamap;
|
|
26
|
+
this["performers@115-1"] = performers_1;
|
|
27
|
+
this["comments@116-1"] = comments_1;
|
|
26
28
|
this.staticHash = 0;
|
|
27
29
|
}
|
|
28
30
|
get Identifier() {
|
|
@@ -65,21 +67,29 @@ export class ArcAssay extends ArcTables {
|
|
|
65
67
|
const this$ = this;
|
|
66
68
|
this$["technologyPlatform@113"] = n;
|
|
67
69
|
}
|
|
70
|
+
get DataMap() {
|
|
71
|
+
const this$ = this;
|
|
72
|
+
return unwrap(this$.dataMap);
|
|
73
|
+
}
|
|
74
|
+
set DataMap(n) {
|
|
75
|
+
const this$ = this;
|
|
76
|
+
this$.dataMap = n;
|
|
77
|
+
}
|
|
68
78
|
get Performers() {
|
|
69
79
|
const this$ = this;
|
|
70
|
-
return this$["performers@
|
|
80
|
+
return this$["performers@115-1"];
|
|
71
81
|
}
|
|
72
82
|
set Performers(n) {
|
|
73
83
|
const this$ = this;
|
|
74
|
-
this$["performers@
|
|
84
|
+
this$["performers@115-1"] = n;
|
|
75
85
|
}
|
|
76
86
|
get Comments() {
|
|
77
87
|
const this$ = this;
|
|
78
|
-
return this$["comments@
|
|
88
|
+
return this$["comments@116-1"];
|
|
79
89
|
}
|
|
80
90
|
set Comments(n) {
|
|
81
91
|
const this$ = this;
|
|
82
|
-
this$["comments@
|
|
92
|
+
this$["comments@116-1"] = n;
|
|
83
93
|
}
|
|
84
94
|
get StaticHash() {
|
|
85
95
|
const this$ = this;
|
|
@@ -92,11 +102,11 @@ export class ArcAssay extends ArcTables {
|
|
|
92
102
|
static init(identifier) {
|
|
93
103
|
return new ArcAssay(identifier);
|
|
94
104
|
}
|
|
95
|
-
static create(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
|
|
96
|
-
return new ArcAssay(identifier, unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(tables), unwrap(performers), unwrap(comments));
|
|
105
|
+
static create(identifier, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
106
|
+
return new ArcAssay(identifier, unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), unwrap(tables), unwrap(datamap), unwrap(performers), unwrap(comments));
|
|
97
107
|
}
|
|
98
|
-
static make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments) {
|
|
99
|
-
return new ArcAssay(identifier, unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), tables, performers, comments);
|
|
108
|
+
static make(identifier, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
109
|
+
return new ArcAssay(identifier, unwrap(measurementType), unwrap(technologyType), unwrap(technologyPlatform), tables, unwrap(datamap), performers, comments);
|
|
100
110
|
}
|
|
101
111
|
static get FileName() {
|
|
102
112
|
return "isa.assay.xlsx";
|
|
@@ -354,12 +364,13 @@ export class ArcAssay extends ArcTables {
|
|
|
354
364
|
disposeSafe(enumerator);
|
|
355
365
|
}
|
|
356
366
|
const nextComments = ResizeArray_map((c) => c.Copy(), this$.Comments);
|
|
367
|
+
const nextDataMap = map(DataMap__Copy, this$.DataMap);
|
|
357
368
|
const nextPerformers = ResizeArray_map((c_1) => c_1.Copy(), this$.Performers);
|
|
358
369
|
const identifier = this$.Identifier;
|
|
359
370
|
const measurementType = this$.MeasurementType;
|
|
360
371
|
const technologyType = this$.TechnologyType;
|
|
361
372
|
const technologyPlatform = this$.TechnologyPlatform;
|
|
362
|
-
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, nextTables, nextPerformers, nextComments);
|
|
373
|
+
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, nextTables, nextDataMap, nextPerformers, nextComments);
|
|
363
374
|
}
|
|
364
375
|
UpdateBy(assay, onlyReplaceExisting, appendSequences) {
|
|
365
376
|
const this$ = this;
|
|
@@ -542,6 +553,7 @@ export class ArcAssay extends ArcTables {
|
|
|
542
553
|
if ((assay.Comments.length !== 0) ? true : updateAlways) {
|
|
543
554
|
this$.Comments = assay.Comments;
|
|
544
555
|
}
|
|
556
|
+
this$.DataMap = assay.DataMap;
|
|
545
557
|
if ((assay.Performers.length !== 0) ? true : updateAlways) {
|
|
546
558
|
this$.Performers = assay.Performers;
|
|
547
559
|
}
|
|
@@ -549,28 +561,28 @@ export class ArcAssay extends ArcTables {
|
|
|
549
561
|
StructurallyEquals(other) {
|
|
550
562
|
let a, b, a_1, b_1, a_2, b_2;
|
|
551
563
|
const this$ = this;
|
|
552
|
-
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), (a = this$.Tables, (b = other.Tables, (length(a) === length(b)) && fold((acc, e) => {
|
|
564
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.MeasurementType, other.MeasurementType), equals(this$.TechnologyType, other.TechnologyType), equals(this$.TechnologyPlatform, other.TechnologyPlatform), equals(this$.DataMap, other.DataMap), (a = this$.Tables, (b = other.Tables, (length(a) === length(b)) && fold((acc, e) => {
|
|
553
565
|
if (acc) {
|
|
554
566
|
return e;
|
|
555
567
|
}
|
|
556
568
|
else {
|
|
557
569
|
return false;
|
|
558
570
|
}
|
|
559
|
-
}, true, toList(delay(() =>
|
|
571
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(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) => {
|
|
560
572
|
if (acc_1) {
|
|
561
573
|
return e_1;
|
|
562
574
|
}
|
|
563
575
|
else {
|
|
564
576
|
return false;
|
|
565
577
|
}
|
|
566
|
-
}, true, toList(delay(() =>
|
|
578
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(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) => {
|
|
567
579
|
if (acc_2) {
|
|
568
580
|
return e_2;
|
|
569
581
|
}
|
|
570
582
|
else {
|
|
571
583
|
return false;
|
|
572
584
|
}
|
|
573
|
-
}, true, toList(delay(() =>
|
|
585
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(i_3, b_2)), rangeDouble(0, 1, length(a_2) - 1)))))))]);
|
|
574
586
|
}
|
|
575
587
|
ReferenceEquals(other) {
|
|
576
588
|
const this$ = this;
|
|
@@ -581,48 +593,53 @@ export class ArcAssay extends ArcTables {
|
|
|
581
593
|
const this$ = this;
|
|
582
594
|
return (other instanceof ArcAssay) && ((assay = other, this$.StructurallyEquals(assay)));
|
|
583
595
|
}
|
|
584
|
-
|
|
596
|
+
GetLightHashCode() {
|
|
585
597
|
const this$ = this;
|
|
586
598
|
return boxHashArray([this$.Identifier, boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
587
599
|
}
|
|
600
|
+
GetHashCode() {
|
|
601
|
+
const this$ = this;
|
|
602
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.MeasurementType), boxHashOption(this$.TechnologyType), boxHashOption(this$.TechnologyPlatform), boxHashOption(this$.DataMap), boxHashSeq(this$.Tables), boxHashSeq(this$.Performers), boxHashSeq(this$.Comments)]) | 0;
|
|
603
|
+
}
|
|
588
604
|
}
|
|
589
605
|
|
|
590
606
|
export function ArcAssay_$reflection() {
|
|
591
607
|
return class_type("ARCtrl.ArcAssay", void 0, ArcAssay, ArcTables_$reflection());
|
|
592
608
|
}
|
|
593
609
|
|
|
594
|
-
export function ArcAssay_$
|
|
595
|
-
return new ArcAssay(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
|
|
610
|
+
export function ArcAssay_$ctor_Z4900C8CC(identifier, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments) {
|
|
611
|
+
return new ArcAssay(identifier, measurementType, technologyType, technologyPlatform, tables, datamap, performers, comments);
|
|
596
612
|
}
|
|
597
613
|
|
|
598
614
|
export class ArcStudy extends ArcTables {
|
|
599
|
-
constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, comments) {
|
|
615
|
+
constructor(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
600
616
|
super(defaultArg(tables, []));
|
|
601
617
|
const publications_1 = defaultArg(publications, []);
|
|
602
618
|
const contacts_1 = defaultArg(contacts, []);
|
|
603
619
|
const studyDesignDescriptors_1 = defaultArg(studyDesignDescriptors, []);
|
|
604
620
|
const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
|
|
605
621
|
const comments_1 = defaultArg(comments, []);
|
|
606
|
-
this["identifier@
|
|
622
|
+
this["identifier@533"] = identifier;
|
|
607
623
|
this.investigation = void 0;
|
|
608
|
-
this["title@
|
|
609
|
-
this["description@
|
|
610
|
-
this["submissionDate@
|
|
611
|
-
this["publicReleaseDate@
|
|
612
|
-
this["publications@
|
|
613
|
-
this["contacts@
|
|
614
|
-
this["studyDesignDescriptors@
|
|
615
|
-
this["
|
|
616
|
-
this["
|
|
624
|
+
this["title@535"] = title;
|
|
625
|
+
this["description@536"] = description;
|
|
626
|
+
this["submissionDate@537"] = submissionDate;
|
|
627
|
+
this["publicReleaseDate@538"] = publicReleaseDate;
|
|
628
|
+
this["publications@539-1"] = publications_1;
|
|
629
|
+
this["contacts@540-1"] = contacts_1;
|
|
630
|
+
this["studyDesignDescriptors@541-1"] = studyDesignDescriptors_1;
|
|
631
|
+
this["datamap@542"] = datamap;
|
|
632
|
+
this["registeredAssayIdentifiers@543-1"] = registeredAssayIdentifiers_1;
|
|
633
|
+
this["comments@544-1"] = comments_1;
|
|
617
634
|
this.staticHash = 0;
|
|
618
635
|
}
|
|
619
636
|
get Identifier() {
|
|
620
637
|
const this$ = this;
|
|
621
|
-
return this$["identifier@
|
|
638
|
+
return this$["identifier@533"];
|
|
622
639
|
}
|
|
623
640
|
set Identifier(i) {
|
|
624
641
|
const this$ = this;
|
|
625
|
-
this$["identifier@
|
|
642
|
+
this$["identifier@533"] = i;
|
|
626
643
|
}
|
|
627
644
|
get Investigation() {
|
|
628
645
|
const this$ = this;
|
|
@@ -634,75 +651,83 @@ export class ArcStudy extends ArcTables {
|
|
|
634
651
|
}
|
|
635
652
|
get Title() {
|
|
636
653
|
const this$ = this;
|
|
637
|
-
return unwrap(this$["title@
|
|
654
|
+
return unwrap(this$["title@535"]);
|
|
638
655
|
}
|
|
639
656
|
set Title(n) {
|
|
640
657
|
const this$ = this;
|
|
641
|
-
this$["title@
|
|
658
|
+
this$["title@535"] = n;
|
|
642
659
|
}
|
|
643
660
|
get Description() {
|
|
644
661
|
const this$ = this;
|
|
645
|
-
return unwrap(this$["description@
|
|
662
|
+
return unwrap(this$["description@536"]);
|
|
646
663
|
}
|
|
647
664
|
set Description(n) {
|
|
648
665
|
const this$ = this;
|
|
649
|
-
this$["description@
|
|
666
|
+
this$["description@536"] = n;
|
|
650
667
|
}
|
|
651
668
|
get SubmissionDate() {
|
|
652
669
|
const this$ = this;
|
|
653
|
-
return unwrap(this$["submissionDate@
|
|
670
|
+
return unwrap(this$["submissionDate@537"]);
|
|
654
671
|
}
|
|
655
672
|
set SubmissionDate(n) {
|
|
656
673
|
const this$ = this;
|
|
657
|
-
this$["submissionDate@
|
|
674
|
+
this$["submissionDate@537"] = n;
|
|
658
675
|
}
|
|
659
676
|
get PublicReleaseDate() {
|
|
660
677
|
const this$ = this;
|
|
661
|
-
return unwrap(this$["publicReleaseDate@
|
|
678
|
+
return unwrap(this$["publicReleaseDate@538"]);
|
|
662
679
|
}
|
|
663
680
|
set PublicReleaseDate(n) {
|
|
664
681
|
const this$ = this;
|
|
665
|
-
this$["publicReleaseDate@
|
|
682
|
+
this$["publicReleaseDate@538"] = n;
|
|
666
683
|
}
|
|
667
684
|
get Publications() {
|
|
668
685
|
const this$ = this;
|
|
669
|
-
return this$["publications@
|
|
686
|
+
return this$["publications@539-1"];
|
|
670
687
|
}
|
|
671
688
|
set Publications(n) {
|
|
672
689
|
const this$ = this;
|
|
673
|
-
this$["publications@
|
|
690
|
+
this$["publications@539-1"] = n;
|
|
674
691
|
}
|
|
675
692
|
get Contacts() {
|
|
676
693
|
const this$ = this;
|
|
677
|
-
return this$["contacts@
|
|
694
|
+
return this$["contacts@540-1"];
|
|
678
695
|
}
|
|
679
696
|
set Contacts(n) {
|
|
680
697
|
const this$ = this;
|
|
681
|
-
this$["contacts@
|
|
698
|
+
this$["contacts@540-1"] = n;
|
|
682
699
|
}
|
|
683
700
|
get StudyDesignDescriptors() {
|
|
684
701
|
const this$ = this;
|
|
685
|
-
return this$["studyDesignDescriptors@
|
|
702
|
+
return this$["studyDesignDescriptors@541-1"];
|
|
686
703
|
}
|
|
687
704
|
set StudyDesignDescriptors(n) {
|
|
688
705
|
const this$ = this;
|
|
689
|
-
this$["studyDesignDescriptors@
|
|
706
|
+
this$["studyDesignDescriptors@541-1"] = n;
|
|
707
|
+
}
|
|
708
|
+
get DataMap() {
|
|
709
|
+
const this$ = this;
|
|
710
|
+
return unwrap(this$["datamap@542"]);
|
|
711
|
+
}
|
|
712
|
+
set DataMap(n) {
|
|
713
|
+
const this$ = this;
|
|
714
|
+
this$["datamap@542"] = n;
|
|
690
715
|
}
|
|
691
716
|
get RegisteredAssayIdentifiers() {
|
|
692
717
|
const this$ = this;
|
|
693
|
-
return this$["registeredAssayIdentifiers@
|
|
718
|
+
return this$["registeredAssayIdentifiers@543-1"];
|
|
694
719
|
}
|
|
695
720
|
set RegisteredAssayIdentifiers(n) {
|
|
696
721
|
const this$ = this;
|
|
697
|
-
this$["registeredAssayIdentifiers@
|
|
722
|
+
this$["registeredAssayIdentifiers@543-1"] = n;
|
|
698
723
|
}
|
|
699
724
|
get Comments() {
|
|
700
725
|
const this$ = this;
|
|
701
|
-
return this$["comments@
|
|
726
|
+
return this$["comments@544-1"];
|
|
702
727
|
}
|
|
703
728
|
set Comments(n) {
|
|
704
729
|
const this$ = this;
|
|
705
|
-
this$["comments@
|
|
730
|
+
this$["comments@544-1"] = n;
|
|
706
731
|
}
|
|
707
732
|
get StaticHash() {
|
|
708
733
|
const this$ = this;
|
|
@@ -715,11 +740,11 @@ export class ArcStudy extends ArcTables {
|
|
|
715
740
|
static init(identifier) {
|
|
716
741
|
return new ArcStudy(identifier);
|
|
717
742
|
}
|
|
718
|
-
static create(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, comments) {
|
|
719
|
-
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), unwrap(publications), unwrap(contacts), unwrap(studyDesignDescriptors), unwrap(tables), unwrap(registeredAssayIdentifiers), unwrap(comments));
|
|
743
|
+
static create(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
744
|
+
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), unwrap(publications), unwrap(contacts), unwrap(studyDesignDescriptors), unwrap(tables), unwrap(datamap), unwrap(registeredAssayIdentifiers), unwrap(comments));
|
|
720
745
|
}
|
|
721
|
-
static make(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, comments) {
|
|
722
|
-
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, comments);
|
|
746
|
+
static make(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
747
|
+
return new ArcStudy(identifier, unwrap(title), unwrap(description), unwrap(submissionDate), unwrap(publicReleaseDate), publications, contacts, studyDesignDescriptors, tables, unwrap(datamap), registeredAssayIdentifiers, comments);
|
|
723
748
|
}
|
|
724
749
|
get isEmpty() {
|
|
725
750
|
const this$ = this;
|
|
@@ -1125,13 +1150,14 @@ export class ArcStudy extends ArcTables {
|
|
|
1125
1150
|
const nextContacts = ResizeArray_map((c_1) => c_1.Copy(), this$.Contacts);
|
|
1126
1151
|
const nextPublications = ResizeArray_map((c_2) => c_2.Copy(), this$.Publications);
|
|
1127
1152
|
const nextStudyDesignDescriptors = ResizeArray_map((c_3) => c_3.Copy(), this$.StudyDesignDescriptors);
|
|
1153
|
+
const nextDataMap = map(DataMap__Copy, this$.DataMap);
|
|
1128
1154
|
let study;
|
|
1129
1155
|
const identifier = this$.Identifier;
|
|
1130
1156
|
const title = this$.Title;
|
|
1131
1157
|
const description = this$.Description;
|
|
1132
1158
|
const submissionDate = this$.SubmissionDate;
|
|
1133
1159
|
const publicReleaseDate = this$.PublicReleaseDate;
|
|
1134
|
-
study = ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextAssayIdentifiers, nextComments);
|
|
1160
|
+
study = ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, nextPublications, nextContacts, nextStudyDesignDescriptors, nextTables, nextDataMap, nextAssayIdentifiers, nextComments);
|
|
1135
1161
|
if (copyInvestigationRef_1) {
|
|
1136
1162
|
study.Investigation = this$.Investigation;
|
|
1137
1163
|
}
|
|
@@ -1165,6 +1191,7 @@ export class ArcStudy extends ArcTables {
|
|
|
1165
1191
|
const tables = ArcTables.updateReferenceTablesBySheets(new ArcTables(this$.Tables), new ArcTables(study.Tables), unwrap(keepUnusedRefTables));
|
|
1166
1192
|
this$.Tables = tables.Tables;
|
|
1167
1193
|
}
|
|
1194
|
+
this$.DataMap = study.DataMap;
|
|
1168
1195
|
if ((study.RegisteredAssayIdentifiers.length !== 0) ? true : updateAlways) {
|
|
1169
1196
|
this$.RegisteredAssayIdentifiers = study.RegisteredAssayIdentifiers;
|
|
1170
1197
|
}
|
|
@@ -1175,49 +1202,49 @@ export class ArcStudy extends ArcTables {
|
|
|
1175
1202
|
StructurallyEquals(other) {
|
|
1176
1203
|
let a, b, a_1, b_1, a_2, b_2, a_3, b_3, a_4, b_4, a_5, b_5;
|
|
1177
1204
|
const this$ = this;
|
|
1178
|
-
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
1205
|
+
return forAll((x) => (x === true), [this$.Identifier === other.Identifier, equals(this$.Title, other.Title), equals(this$.Description, other.Description), equals(this$.SubmissionDate, other.SubmissionDate), equals(this$.PublicReleaseDate, other.PublicReleaseDate), equals(this$.DataMap, other.DataMap), (a = this$.Publications, (b = other.Publications, (length(a) === length(b)) && fold((acc, e) => {
|
|
1179
1206
|
if (acc) {
|
|
1180
1207
|
return e;
|
|
1181
1208
|
}
|
|
1182
1209
|
else {
|
|
1183
1210
|
return false;
|
|
1184
1211
|
}
|
|
1185
|
-
}, true, toList(delay(() =>
|
|
1212
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(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) => {
|
|
1186
1213
|
if (acc_1) {
|
|
1187
1214
|
return e_1;
|
|
1188
1215
|
}
|
|
1189
1216
|
else {
|
|
1190
1217
|
return false;
|
|
1191
1218
|
}
|
|
1192
|
-
}, true, toList(delay(() =>
|
|
1219
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(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) => {
|
|
1193
1220
|
if (acc_2) {
|
|
1194
1221
|
return e_2;
|
|
1195
1222
|
}
|
|
1196
1223
|
else {
|
|
1197
1224
|
return false;
|
|
1198
1225
|
}
|
|
1199
|
-
}, true, toList(delay(() =>
|
|
1226
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(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) => {
|
|
1200
1227
|
if (acc_3) {
|
|
1201
1228
|
return e_3;
|
|
1202
1229
|
}
|
|
1203
1230
|
else {
|
|
1204
1231
|
return false;
|
|
1205
1232
|
}
|
|
1206
|
-
}, true, toList(delay(() =>
|
|
1233
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(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) => {
|
|
1207
1234
|
if (acc_4) {
|
|
1208
1235
|
return e_4;
|
|
1209
1236
|
}
|
|
1210
1237
|
else {
|
|
1211
1238
|
return false;
|
|
1212
1239
|
}
|
|
1213
|
-
}, true, toList(delay(() =>
|
|
1240
|
+
}, true, toList(delay(() => map_1((i_5) => (item(i_5, a_4) === item(i_5, b_4)), rangeDouble(0, 1, length(a_4) - 1))))))), (a_5 = this$.Comments, (b_5 = other.Comments, (length(a_5) === length(b_5)) && fold((acc_5, e_5) => {
|
|
1214
1241
|
if (acc_5) {
|
|
1215
1242
|
return e_5;
|
|
1216
1243
|
}
|
|
1217
1244
|
else {
|
|
1218
1245
|
return false;
|
|
1219
1246
|
}
|
|
1220
|
-
}, true, toList(delay(() =>
|
|
1247
|
+
}, true, toList(delay(() => map_1((i_6) => equals(item(i_6, a_5), item(i_6, b_5)), rangeDouble(0, 1, length(a_5) - 1)))))))]);
|
|
1221
1248
|
}
|
|
1222
1249
|
ReferenceEquals(other) {
|
|
1223
1250
|
const this$ = this;
|
|
@@ -1245,7 +1272,7 @@ export class ArcStudy extends ArcTables {
|
|
|
1245
1272
|
}
|
|
1246
1273
|
GetHashCode() {
|
|
1247
1274
|
const this$ = this;
|
|
1248
|
-
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
|
|
1275
|
+
return boxHashArray([this$.Identifier, boxHashOption(this$.Title), boxHashOption(this$.Description), boxHashOption(this$.SubmissionDate), boxHashOption(this$.PublicReleaseDate), boxHashOption(this$.DataMap), boxHashSeq(this$.Publications), boxHashSeq(this$.Contacts), boxHashSeq(this$.StudyDesignDescriptors), boxHashSeq(this$.Tables), boxHashSeq(this$.RegisteredAssayIdentifiers), boxHashSeq(this$.Comments)]) | 0;
|
|
1249
1276
|
}
|
|
1250
1277
|
GetLightHashCode() {
|
|
1251
1278
|
const this$ = this;
|
|
@@ -1257,8 +1284,8 @@ export function ArcStudy_$reflection() {
|
|
|
1257
1284
|
return class_type("ARCtrl.ArcStudy", void 0, ArcStudy, ArcTables_$reflection());
|
|
1258
1285
|
}
|
|
1259
1286
|
|
|
1260
|
-
export function ArcStudy_$
|
|
1261
|
-
return new ArcStudy(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, comments);
|
|
1287
|
+
export function ArcStudy_$ctor_64321D5B(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments) {
|
|
1288
|
+
return new ArcStudy(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, datamap, registeredAssayIdentifiers, comments);
|
|
1262
1289
|
}
|
|
1263
1290
|
|
|
1264
1291
|
export class ArcInvestigation {
|
|
@@ -1297,125 +1324,125 @@ export class ArcInvestigation {
|
|
|
1297
1324
|
const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
|
|
1298
1325
|
const comments_1 = defaultArg(comments, []);
|
|
1299
1326
|
const remarks_1 = defaultArg(remarks, []);
|
|
1300
|
-
this["identifier@
|
|
1301
|
-
this["title@
|
|
1302
|
-
this["description@
|
|
1303
|
-
this["submissionDate@
|
|
1304
|
-
this["publicReleaseDate@
|
|
1305
|
-
this["ontologySourceReferences@
|
|
1306
|
-
this["publications@
|
|
1307
|
-
this["contacts@
|
|
1308
|
-
this["assays@
|
|
1309
|
-
this["studies@
|
|
1310
|
-
this["registeredStudyIdentifiers@
|
|
1311
|
-
this["comments@
|
|
1312
|
-
this["remarks@
|
|
1327
|
+
this["identifier@1118"] = identifier;
|
|
1328
|
+
this["title@1119"] = title;
|
|
1329
|
+
this["description@1120"] = description;
|
|
1330
|
+
this["submissionDate@1121"] = submissionDate;
|
|
1331
|
+
this["publicReleaseDate@1122"] = publicReleaseDate;
|
|
1332
|
+
this["ontologySourceReferences@1123-1"] = ontologySourceReferences_1;
|
|
1333
|
+
this["publications@1124-1"] = publications_1;
|
|
1334
|
+
this["contacts@1125-1"] = contacts_1;
|
|
1335
|
+
this["assays@1126-1"] = assays_1;
|
|
1336
|
+
this["studies@1127-1"] = studies_1;
|
|
1337
|
+
this["registeredStudyIdentifiers@1128-1"] = registeredStudyIdentifiers_1;
|
|
1338
|
+
this["comments@1129-1"] = comments_1;
|
|
1339
|
+
this["remarks@1130-1"] = remarks_1;
|
|
1313
1340
|
this.staticHash = 0;
|
|
1314
|
-
this["init@
|
|
1341
|
+
this["init@1099"] = 1;
|
|
1315
1342
|
}
|
|
1316
1343
|
get Identifier() {
|
|
1317
1344
|
const this$ = this;
|
|
1318
|
-
return this$["identifier@
|
|
1345
|
+
return this$["identifier@1118"];
|
|
1319
1346
|
}
|
|
1320
1347
|
set Identifier(i) {
|
|
1321
1348
|
const this$ = this;
|
|
1322
|
-
this$["identifier@
|
|
1349
|
+
this$["identifier@1118"] = i;
|
|
1323
1350
|
}
|
|
1324
1351
|
get Title() {
|
|
1325
1352
|
const this$ = this;
|
|
1326
|
-
return unwrap(this$["title@
|
|
1353
|
+
return unwrap(this$["title@1119"]);
|
|
1327
1354
|
}
|
|
1328
1355
|
set Title(n) {
|
|
1329
1356
|
const this$ = this;
|
|
1330
|
-
this$["title@
|
|
1357
|
+
this$["title@1119"] = n;
|
|
1331
1358
|
}
|
|
1332
1359
|
get Description() {
|
|
1333
1360
|
const this$ = this;
|
|
1334
|
-
return unwrap(this$["description@
|
|
1361
|
+
return unwrap(this$["description@1120"]);
|
|
1335
1362
|
}
|
|
1336
1363
|
set Description(n) {
|
|
1337
1364
|
const this$ = this;
|
|
1338
|
-
this$["description@
|
|
1365
|
+
this$["description@1120"] = n;
|
|
1339
1366
|
}
|
|
1340
1367
|
get SubmissionDate() {
|
|
1341
1368
|
const this$ = this;
|
|
1342
|
-
return unwrap(this$["submissionDate@
|
|
1369
|
+
return unwrap(this$["submissionDate@1121"]);
|
|
1343
1370
|
}
|
|
1344
1371
|
set SubmissionDate(n) {
|
|
1345
1372
|
const this$ = this;
|
|
1346
|
-
this$["submissionDate@
|
|
1373
|
+
this$["submissionDate@1121"] = n;
|
|
1347
1374
|
}
|
|
1348
1375
|
get PublicReleaseDate() {
|
|
1349
1376
|
const this$ = this;
|
|
1350
|
-
return unwrap(this$["publicReleaseDate@
|
|
1377
|
+
return unwrap(this$["publicReleaseDate@1122"]);
|
|
1351
1378
|
}
|
|
1352
1379
|
set PublicReleaseDate(n) {
|
|
1353
1380
|
const this$ = this;
|
|
1354
|
-
this$["publicReleaseDate@
|
|
1381
|
+
this$["publicReleaseDate@1122"] = n;
|
|
1355
1382
|
}
|
|
1356
1383
|
get OntologySourceReferences() {
|
|
1357
1384
|
const this$ = this;
|
|
1358
|
-
return this$["ontologySourceReferences@
|
|
1385
|
+
return this$["ontologySourceReferences@1123-1"];
|
|
1359
1386
|
}
|
|
1360
1387
|
set OntologySourceReferences(n) {
|
|
1361
1388
|
const this$ = this;
|
|
1362
|
-
this$["ontologySourceReferences@
|
|
1389
|
+
this$["ontologySourceReferences@1123-1"] = n;
|
|
1363
1390
|
}
|
|
1364
1391
|
get Publications() {
|
|
1365
1392
|
const this$ = this;
|
|
1366
|
-
return this$["publications@
|
|
1393
|
+
return this$["publications@1124-1"];
|
|
1367
1394
|
}
|
|
1368
1395
|
set Publications(n) {
|
|
1369
1396
|
const this$ = this;
|
|
1370
|
-
this$["publications@
|
|
1397
|
+
this$["publications@1124-1"] = n;
|
|
1371
1398
|
}
|
|
1372
1399
|
get Contacts() {
|
|
1373
1400
|
const this$ = this;
|
|
1374
|
-
return this$["contacts@
|
|
1401
|
+
return this$["contacts@1125-1"];
|
|
1375
1402
|
}
|
|
1376
1403
|
set Contacts(n) {
|
|
1377
1404
|
const this$ = this;
|
|
1378
|
-
this$["contacts@
|
|
1405
|
+
this$["contacts@1125-1"] = n;
|
|
1379
1406
|
}
|
|
1380
1407
|
get Assays() {
|
|
1381
1408
|
const this$ = this;
|
|
1382
|
-
return this$["assays@
|
|
1409
|
+
return this$["assays@1126-1"];
|
|
1383
1410
|
}
|
|
1384
1411
|
set Assays(n) {
|
|
1385
1412
|
const this$ = this;
|
|
1386
|
-
this$["assays@
|
|
1413
|
+
this$["assays@1126-1"] = n;
|
|
1387
1414
|
}
|
|
1388
1415
|
get Studies() {
|
|
1389
1416
|
const this$ = this;
|
|
1390
|
-
return this$["studies@
|
|
1417
|
+
return this$["studies@1127-1"];
|
|
1391
1418
|
}
|
|
1392
1419
|
set Studies(n) {
|
|
1393
1420
|
const this$ = this;
|
|
1394
|
-
this$["studies@
|
|
1421
|
+
this$["studies@1127-1"] = n;
|
|
1395
1422
|
}
|
|
1396
1423
|
get RegisteredStudyIdentifiers() {
|
|
1397
1424
|
const this$ = this;
|
|
1398
|
-
return this$["registeredStudyIdentifiers@
|
|
1425
|
+
return this$["registeredStudyIdentifiers@1128-1"];
|
|
1399
1426
|
}
|
|
1400
1427
|
set RegisteredStudyIdentifiers(n) {
|
|
1401
1428
|
const this$ = this;
|
|
1402
|
-
this$["registeredStudyIdentifiers@
|
|
1429
|
+
this$["registeredStudyIdentifiers@1128-1"] = n;
|
|
1403
1430
|
}
|
|
1404
1431
|
get Comments() {
|
|
1405
1432
|
const this$ = this;
|
|
1406
|
-
return this$["comments@
|
|
1433
|
+
return this$["comments@1129-1"];
|
|
1407
1434
|
}
|
|
1408
1435
|
set Comments(n) {
|
|
1409
1436
|
const this$ = this;
|
|
1410
|
-
this$["comments@
|
|
1437
|
+
this$["comments@1129-1"] = n;
|
|
1411
1438
|
}
|
|
1412
1439
|
get Remarks() {
|
|
1413
1440
|
const this$ = this;
|
|
1414
|
-
return this$["remarks@
|
|
1441
|
+
return this$["remarks@1130-1"];
|
|
1415
1442
|
}
|
|
1416
1443
|
set Remarks(n) {
|
|
1417
1444
|
const this$ = this;
|
|
1418
|
-
this$["remarks@
|
|
1445
|
+
this$["remarks@1130-1"] = n;
|
|
1419
1446
|
}
|
|
1420
1447
|
get StaticHash() {
|
|
1421
1448
|
const this$ = this;
|
|
@@ -1443,7 +1470,7 @@ export class ArcInvestigation {
|
|
|
1443
1470
|
}
|
|
1444
1471
|
get AssayIdentifiers() {
|
|
1445
1472
|
const this$ = this;
|
|
1446
|
-
return Array.from(
|
|
1473
|
+
return Array.from(map_1((x) => x.Identifier, this$.Assays));
|
|
1447
1474
|
}
|
|
1448
1475
|
get UnregisteredAssays() {
|
|
1449
1476
|
const this$ = this;
|
|
@@ -1452,7 +1479,7 @@ export class ArcInvestigation {
|
|
|
1452
1479
|
AddAssay(assay, registerIn) {
|
|
1453
1480
|
const this$ = this;
|
|
1454
1481
|
const assayIdent = assay.Identifier;
|
|
1455
|
-
const matchValue = tryFindIndex((x_1) => (x_1 === assayIdent),
|
|
1482
|
+
const matchValue = tryFindIndex((x_1) => (x_1 === assayIdent), map_1((x) => x.Identifier, this$.Assays));
|
|
1456
1483
|
if (matchValue == null) {
|
|
1457
1484
|
}
|
|
1458
1485
|
else {
|
|
@@ -1552,7 +1579,7 @@ export class ArcInvestigation {
|
|
|
1552
1579
|
SetAssayAt(index, assay) {
|
|
1553
1580
|
const this$ = this;
|
|
1554
1581
|
const assayIdent = assay.Identifier;
|
|
1555
|
-
const matchValue = tryFindIndex((x) => (x === assayIdent),
|
|
1582
|
+
const matchValue = tryFindIndex((x) => (x === assayIdent), map_1((a) => a.Identifier, removeAt(index, this$.Assays)));
|
|
1556
1583
|
if (matchValue == null) {
|
|
1557
1584
|
}
|
|
1558
1585
|
else {
|
|
@@ -1657,7 +1684,7 @@ export class ArcInvestigation {
|
|
|
1657
1684
|
}
|
|
1658
1685
|
get StudyIdentifiers() {
|
|
1659
1686
|
const this$ = this;
|
|
1660
|
-
return toArray(
|
|
1687
|
+
return toArray(map_1((x) => x.Identifier, this$.Studies));
|
|
1661
1688
|
}
|
|
1662
1689
|
get UnregisteredStudies() {
|
|
1663
1690
|
const this$ = this;
|
|
@@ -1871,7 +1898,7 @@ export class ArcInvestigation {
|
|
|
1871
1898
|
RegisterAssayAt(studyIndex, assayIdentifier) {
|
|
1872
1899
|
const this$ = this;
|
|
1873
1900
|
const study = this$.GetStudyAt(studyIndex);
|
|
1874
|
-
const matchValue = tryFind((x) => (x === assayIdentifier),
|
|
1901
|
+
const matchValue = tryFind((x) => (x === assayIdentifier), map_1((a) => a.Identifier, this$.Assays));
|
|
1875
1902
|
if (matchValue != null) {
|
|
1876
1903
|
}
|
|
1877
1904
|
else {
|
|
@@ -2097,56 +2124,56 @@ export class ArcInvestigation {
|
|
|
2097
2124
|
else {
|
|
2098
2125
|
return false;
|
|
2099
2126
|
}
|
|
2100
|
-
}, true, toList(delay(() =>
|
|
2127
|
+
}, true, toList(delay(() => map_1((i_1) => equals(item(i_1, a), item(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) => {
|
|
2101
2128
|
if (acc_1) {
|
|
2102
2129
|
return e_1;
|
|
2103
2130
|
}
|
|
2104
2131
|
else {
|
|
2105
2132
|
return false;
|
|
2106
2133
|
}
|
|
2107
|
-
}, true, toList(delay(() =>
|
|
2134
|
+
}, true, toList(delay(() => map_1((i_2) => equals(item(i_2, a_1), item(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) => {
|
|
2108
2135
|
if (acc_2) {
|
|
2109
2136
|
return e_2;
|
|
2110
2137
|
}
|
|
2111
2138
|
else {
|
|
2112
2139
|
return false;
|
|
2113
2140
|
}
|
|
2114
|
-
}, true, toList(delay(() =>
|
|
2141
|
+
}, true, toList(delay(() => map_1((i_3) => equals(item(i_3, a_2), item(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) => {
|
|
2115
2142
|
if (acc_3) {
|
|
2116
2143
|
return e_3;
|
|
2117
2144
|
}
|
|
2118
2145
|
else {
|
|
2119
2146
|
return false;
|
|
2120
2147
|
}
|
|
2121
|
-
}, true, toList(delay(() =>
|
|
2148
|
+
}, true, toList(delay(() => map_1((i_4) => equals(item(i_4, a_3), item(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) => {
|
|
2122
2149
|
if (acc_4) {
|
|
2123
2150
|
return e_4;
|
|
2124
2151
|
}
|
|
2125
2152
|
else {
|
|
2126
2153
|
return false;
|
|
2127
2154
|
}
|
|
2128
|
-
}, true, toList(delay(() =>
|
|
2155
|
+
}, true, toList(delay(() => map_1((i_5) => equals(item(i_5, a_4), item(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) => {
|
|
2129
2156
|
if (acc_5) {
|
|
2130
2157
|
return e_5;
|
|
2131
2158
|
}
|
|
2132
2159
|
else {
|
|
2133
2160
|
return false;
|
|
2134
2161
|
}
|
|
2135
|
-
}, true, toList(delay(() =>
|
|
2162
|
+
}, true, toList(delay(() => map_1((i_6) => (item(i_6, a_5) === item(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) => {
|
|
2136
2163
|
if (acc_6) {
|
|
2137
2164
|
return e_6;
|
|
2138
2165
|
}
|
|
2139
2166
|
else {
|
|
2140
2167
|
return false;
|
|
2141
2168
|
}
|
|
2142
|
-
}, true, toList(delay(() =>
|
|
2169
|
+
}, true, toList(delay(() => map_1((i_7) => equals(item(i_7, a_6), item(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) => {
|
|
2143
2170
|
if (acc_7) {
|
|
2144
2171
|
return e_7;
|
|
2145
2172
|
}
|
|
2146
2173
|
else {
|
|
2147
2174
|
return false;
|
|
2148
2175
|
}
|
|
2149
|
-
}, true, toList(delay(() =>
|
|
2176
|
+
}, true, toList(delay(() => map_1((i_8) => equals(item(i_8, a_7), item(i_8, b_7)), rangeDouble(0, 1, length(a_7) - 1)))))))]);
|
|
2150
2177
|
}
|
|
2151
2178
|
ReferenceEquals(other) {
|
|
2152
2179
|
const this$ = this;
|
|
@@ -2167,7 +2194,7 @@ export class ArcInvestigation {
|
|
|
2167
2194
|
const arg_10 = this$.RegisteredStudyIdentifiers;
|
|
2168
2195
|
const arg_11 = this$.Comments;
|
|
2169
2196
|
const arg_12 = this$.Remarks;
|
|
2170
|
-
return toText(printf("
|
|
2197
|
+
return toText(printf("ArcInvestigation {\r\n Identifier = %A,\r\n Title = %A,\r\n Description = %A,\r\n SubmissionDate = %A,\r\n PublicReleaseDate = %A,\r\n OntologySourceReferences = %A,\r\n Publications = %A,\r\n Contacts = %A,\r\n Assays = %A,\r\n Studies = %A,\r\n RegisteredStudyIdentifiers = %A,\r\n Comments = %A,\r\n Remarks = %A,\r\n}"))(arg)(arg_1)(arg_2)(arg_3)(arg_4)(arg_5)(arg_6)(arg_7)(arg_8)(arg_9)(arg_10)(arg_11)(arg_12);
|
|
2171
2198
|
}
|
|
2172
2199
|
Equals(other) {
|
|
2173
2200
|
let i;
|