@nfdi4plants/arctrl 1.0.7 → 1.1.0
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 +39 -3
- package/Contracts/Contracts.ArcTypes.js +20 -8
- package/ISA/ISA/ArcTypes/ArcTable.js +4 -12
- package/ISA/ISA/ArcTypes/ArcTableAux.js +12 -1
- package/ISA/ISA/ArcTypes/ArcTypes.js +108 -73
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +74 -3
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +82 -3
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +125 -4
- package/ISA/ISA.Json/ArcTypes/CellTable.js +46 -0
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +26 -0
- package/ISA/ISA.Json/ArcTypes/OATable.js +48 -0
- package/ISA/ISA.Json/Ontology.js +30 -0
- package/ISA/ISA.Json/StringTable.js +43 -0
- package/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.js +52 -39
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.js +1 -1
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.js +3 -3
- package/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.js +1 -1
- package/ISA/ISA.Spreadsheet/ArcAssay.js +96 -84
- package/ISA/ISA.Spreadsheet/ArcInvestigation.js +2 -2
- package/ISA/ISA.Spreadsheet/ArcStudy.js +32 -20
- package/ISA/ISA.Spreadsheet/Metadata/SparseTable.js +7 -7
- package/Templates/Template.Spreadsheet.js +2 -2
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs +22 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsAddress.fs.js +20 -10
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs +12 -6
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorksheet.fs.js +12 -8
- package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +3 -3
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCell.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Cells/FsCellsCollection.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/CellBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/ColumnBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/DSL.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Expression.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Operators.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/RowBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/SheetBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/TableBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Transform.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/Types.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/DSL/WorkbookBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsColumn.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsSpreadsheet.fableproj +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/FsWorkbook.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRange.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeAddress.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeBase.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeColumn.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Ranges/FsRangeRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/SheetBuilder.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTable.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableField.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/Tables/FsTableRow.fs.js +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Debug/netstandard2.0/FsSpreadsheet.AssemblyInfo.fs +0 -0
- /package/fable_modules/{FsSpreadsheet.5.1.2 → FsSpreadsheet.5.1.3}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
package/ARC.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { concat, fold, map, exactlyOne, choose } from "./fable_modules/fable-library.4.5.0/Array.js";
|
|
2
|
-
import { ARCtrl_ISA_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ISA_ArcInvestigation__ArcInvestigation_ToUpdateContract_6FCE9E49, ARCtrl_ISA_ArcAssay__ArcAssay_ToDeleteContract, ARCtrl_ISA_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F, ARCtrl_ISA_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F, ARCtrl_ISA_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F } from "./Contracts/Contracts.ArcTypes.js";
|
|
2
|
+
import { ARCtrl_ISA_ArcAssay__ArcAssay_ToUpdateContract, ARCtrl_ISA_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49, ARCtrl_ISA_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49, ARCtrl_ISA_ArcStudy__ArcStudy_ToUpdateContract, ARCtrl_ISA_ArcInvestigation__ArcInvestigation_ToUpdateContract_6FCE9E49, ARCtrl_ISA_ArcAssay__ArcAssay_ToDeleteContract, ARCtrl_ISA_ArcInvestigation__ArcInvestigation_tryFromReadContract_Static_7570923F, ARCtrl_ISA_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923F, ARCtrl_ISA_ArcAssay__ArcAssay_tryFromReadContract_Static_7570923F } from "./Contracts/Contracts.ArcTypes.js";
|
|
3
3
|
import { collect, empty, iterate, find, tryFind, map as map_1, singleton, append, delay, toList, toArray } from "./fable_modules/fable-library.4.5.0/Seq.js";
|
|
4
4
|
import { createRunsFolder, createWorkflowsFolder, createInvestigationFile, createStudyFolder, createStudiesFolder, createAssayFolder, createAssaysFolder } from "./FileSystemTree.js";
|
|
5
5
|
import { FileSystemTree } from "./FileSystem/FileSystemTree.js";
|
|
@@ -10,16 +10,16 @@ import { Contract } from "./Contract/Contract.js";
|
|
|
10
10
|
import { ofArray } from "./fable_modules/fable-library.4.5.0/List.js";
|
|
11
11
|
import { tryISAReadContractFromPath } from "./Contracts/Contracts.ARCtrl.js";
|
|
12
12
|
import { ArcTables } from "./ISA/ISA/ArcTypes/ArcTables.js";
|
|
13
|
+
import { comparePrimitives, safeHash } from "./fable_modules/fable-library.4.5.0/Util.js";
|
|
13
14
|
import { addToDict } from "./fable_modules/fable-library.4.5.0/MapUtil.js";
|
|
14
15
|
import { toFsWorkbook, toLightFsWorkbook } from "./ISA/ISA.Spreadsheet/ArcInvestigation.js";
|
|
15
16
|
import { ArcInvestigation } from "./ISA/ISA/ArcTypes/ArcTypes.js";
|
|
16
17
|
import { Assay_fileNameFromIdentifier, Study_fileNameFromIdentifier } from "./ISA/ISA/Identifier.js";
|
|
17
18
|
import { ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9 } from "./ISA/ISA.Spreadsheet/ArcStudy.js";
|
|
18
19
|
import { toFsWorkbook as toFsWorkbook_1 } from "./ISA/ISA.Spreadsheet/ArcAssay.js";
|
|
19
|
-
import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.5.1.
|
|
20
|
+
import { Dictionary_tryGet } from "./fable_modules/FsSpreadsheet.5.1.3/Cells/FsCellsCollection.fs.js";
|
|
20
21
|
import { Clone_createCloneContract_5000466F, Init_createAddRemoteContract_Z721C83C5, gitignoreContract, Init_createInitContract_6DFDD678 } from "./Contracts/Contracts.Git.js";
|
|
21
22
|
import { FSharpSet__Contains, ofSeq, unionMany } from "./fable_modules/fable-library.4.5.0/Set.js";
|
|
22
|
-
import { comparePrimitives } from "./fable_modules/fable-library.4.5.0/Util.js";
|
|
23
23
|
import { ofSeq as ofSeq_1 } from "./fable_modules/fable-library.4.5.0/Map.js";
|
|
24
24
|
import { class_type } from "./fable_modules/fable-library.4.5.0/Reflection.js";
|
|
25
25
|
|
|
@@ -172,6 +172,7 @@ export class ARC {
|
|
|
172
172
|
const registeredStudy = registeredStudyOpt;
|
|
173
173
|
registeredStudy.UpdateReferenceByStudyFile(study, true);
|
|
174
174
|
}
|
|
175
|
+
study.StaticHash = (study.GetLightHashCode() | 0);
|
|
175
176
|
});
|
|
176
177
|
assays.forEach((assay) => {
|
|
177
178
|
const registeredAssayOpt = tryFind((a_1) => (a_1.Identifier === assay.Identifier), investigation.Assays);
|
|
@@ -188,6 +189,13 @@ export class ARC {
|
|
|
188
189
|
updatedTables = fold((tables, study_1) => ArcTables.updateReferenceTablesBySheets(new ArcTables(study_1.Tables), tables, false), new ArcTables(assay_1.Tables), array_6);
|
|
189
190
|
assay_1.Tables = updatedTables.Tables;
|
|
190
191
|
});
|
|
192
|
+
iterate((a_3) => {
|
|
193
|
+
a_3.StaticHash = (safeHash(a_3) | 0);
|
|
194
|
+
}, investigation.Assays);
|
|
195
|
+
iterate((s_2) => {
|
|
196
|
+
s_2.StaticHash = (s_2.GetLightHashCode() | 0);
|
|
197
|
+
}, investigation.Studies);
|
|
198
|
+
investigation.StaticHash = (investigation.GetLightHashCode() | 0);
|
|
191
199
|
this$.ISA = investigation;
|
|
192
200
|
}
|
|
193
201
|
UpdateFileSystem() {
|
|
@@ -208,10 +216,13 @@ export class ARC {
|
|
|
208
216
|
else {
|
|
209
217
|
const inv = matchValue;
|
|
210
218
|
addToDict(workbooks, "isa.investigation.xlsx", ["ISA_Investigation", (isLight_1 ? (toLightFsWorkbook) : (toFsWorkbook))(inv)]);
|
|
219
|
+
inv.StaticHash = (inv.GetLightHashCode() | 0);
|
|
211
220
|
iterate((s) => {
|
|
221
|
+
s.StaticHash = (s.GetLightHashCode() | 0);
|
|
212
222
|
addToDict(workbooks, Study_fileNameFromIdentifier(s.Identifier), ["ISA_Study", ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9(s)]);
|
|
213
223
|
}, inv.Studies);
|
|
214
224
|
iterate((a) => {
|
|
225
|
+
a.StaticHash = (safeHash(a) | 0);
|
|
215
226
|
addToDict(workbooks, Assay_fileNameFromIdentifier(a.Identifier), ["ISA_Assay", toFsWorkbook_1(a)]);
|
|
216
227
|
}, inv.Assays);
|
|
217
228
|
}
|
|
@@ -227,6 +238,31 @@ export class ARC {
|
|
|
227
238
|
}
|
|
228
239
|
}, this$._fs.Tree.ToFilePaths(true));
|
|
229
240
|
}
|
|
241
|
+
GetUpdateContracts(isLight) {
|
|
242
|
+
let inv, inv_1, inv_2;
|
|
243
|
+
const this$ = this;
|
|
244
|
+
const isLight_1 = defaultArg(isLight, true);
|
|
245
|
+
const matchValue = this$.ISA;
|
|
246
|
+
return (matchValue != null) ? (((inv = matchValue, inv.StaticHash === 0)) ? ((inv_1 = matchValue, this$.GetWriteContracts(isLight_1))) : ((inv_2 = matchValue, toArray(delay(() => {
|
|
247
|
+
const hash = inv_2.GetLightHashCode() | 0;
|
|
248
|
+
return append((inv_2.StaticHash !== hash) ? singleton(ARCtrl_ISA_ArcInvestigation__ArcInvestigation_ToUpdateContract_6FCE9E49(inv_2, isLight_1)) : empty(), delay(() => {
|
|
249
|
+
inv_2.StaticHash = (hash | 0);
|
|
250
|
+
return append(collect((s) => {
|
|
251
|
+
const hash_1 = s.GetLightHashCode() | 0;
|
|
252
|
+
return append((s.StaticHash === 0) ? ARCtrl_ISA_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(s, true) : ((s.StaticHash !== hash_1) ? singleton(ARCtrl_ISA_ArcStudy__ArcStudy_ToUpdateContract(s)) : empty()), delay(() => {
|
|
253
|
+
s.StaticHash = (hash_1 | 0);
|
|
254
|
+
return empty();
|
|
255
|
+
}));
|
|
256
|
+
}, inv_2.Studies), delay(() => collect((a) => {
|
|
257
|
+
const hash_2 = safeHash(a) | 0;
|
|
258
|
+
return append((a.StaticHash === 0) ? ARCtrl_ISA_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(a, true) : ((a.StaticHash !== hash_2) ? singleton(ARCtrl_ISA_ArcAssay__ArcAssay_ToUpdateContract(a)) : empty()), delay(() => {
|
|
259
|
+
a.StaticHash = (hash_2 | 0);
|
|
260
|
+
return empty();
|
|
261
|
+
}));
|
|
262
|
+
}, inv_2.Assays)));
|
|
263
|
+
}));
|
|
264
|
+
}))))) : this$.GetWriteContracts(isLight_1);
|
|
265
|
+
}
|
|
230
266
|
GetGitInitContracts(branch, repositoryAddress, defaultGitignore) {
|
|
231
267
|
const defaultGitignore_1 = defaultArg(defaultGitignore, false);
|
|
232
268
|
return toArray(delay(() => append(singleton(Init_createInitContract_6DFDD678(unwrap(branch))), delay(() => append(defaultGitignore_1 ? singleton(gitignoreContract) : empty(), delay(() => ((repositoryAddress != null) ? singleton(Init_createAddRemoteContract_Z721C83C5(value_2(repositoryAddress))) : empty())))))));
|
|
@@ -6,6 +6,8 @@ import { fromFsWorkbook, toFsWorkbook, toLightFsWorkbook } from "../ISA/ISA.Spre
|
|
|
6
6
|
import { Contract } from "../Contract/Contract.js";
|
|
7
7
|
import { Assay_fileNameFromIdentifier, Study_fileNameFromIdentifier } from "../ISA/ISA/Identifier.js";
|
|
8
8
|
import { ARCtrl_ISA_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D, ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9 } from "../ISA/ISA.Spreadsheet/ArcStudy.js";
|
|
9
|
+
import { empty, singleton, collect, append, delay, toArray } from "../fable_modules/fable-library.4.5.0/Seq.js";
|
|
10
|
+
import { createAssayFolder, createStudyFolder, createStudiesFolder } from "../FileSystemTree.js";
|
|
9
11
|
import { getAssayFolderPath, getStudyFolderPath } from "../Path.js";
|
|
10
12
|
import { fromFsWorkbook as fromFsWorkbook_1, toFsWorkbook as toFsWorkbook_1 } from "../ISA/ISA.Spreadsheet/ArcAssay.js";
|
|
11
13
|
|
|
@@ -136,9 +138,14 @@ export function ARCtrl_ISA_ArcInvestigation__ArcInvestigation_tryFromReadContrac
|
|
|
136
138
|
}
|
|
137
139
|
}
|
|
138
140
|
|
|
139
|
-
export function
|
|
141
|
+
export function ARCtrl_ISA_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(this$, WithFolder) {
|
|
142
|
+
const withFolder = defaultArg(WithFolder, false);
|
|
140
143
|
const path = Study_fileNameFromIdentifier(this$.Identifier);
|
|
141
|
-
|
|
144
|
+
const c = Contract.createCreate(path, "ISA_Study", ARCtrl_ISA_ArcStudy__ArcStudy_toFsWorkbook_Static_Z2A9662E9(this$));
|
|
145
|
+
return toArray(delay(() => {
|
|
146
|
+
let folderFS;
|
|
147
|
+
return append(withFolder ? ((folderFS = createStudiesFolder([createStudyFolder(this$.Identifier)]), collect((p) => ((p !== path) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => singleton(c)));
|
|
148
|
+
}));
|
|
142
149
|
}
|
|
143
150
|
|
|
144
151
|
export function ARCtrl_ISA_ArcStudy__ArcStudy_ToUpdateContract(this$) {
|
|
@@ -155,8 +162,8 @@ export function ARCtrl_ISA_ArcStudy__ArcStudy_toDeleteContract_Static_1B3D5E9B(s
|
|
|
155
162
|
return ARCtrl_ISA_ArcStudy__ArcStudy_ToDeleteContract(study);
|
|
156
163
|
}
|
|
157
164
|
|
|
158
|
-
export function
|
|
159
|
-
return
|
|
165
|
+
export function ARCtrl_ISA_ArcStudy__ArcStudy_toCreateContract_Static_Z12D8504E(study, WithFolder) {
|
|
166
|
+
return ARCtrl_ISA_ArcStudy__ArcStudy_ToCreateContract_6FCE9E49(study, unwrap(WithFolder));
|
|
160
167
|
}
|
|
161
168
|
|
|
162
169
|
export function ARCtrl_ISA_ArcStudy__ArcStudy_toUpdateContract_Static_1B3D5E9B(study) {
|
|
@@ -195,9 +202,14 @@ export function ARCtrl_ISA_ArcStudy__ArcStudy_tryFromReadContract_Static_7570923
|
|
|
195
202
|
}
|
|
196
203
|
}
|
|
197
204
|
|
|
198
|
-
export function
|
|
205
|
+
export function ARCtrl_ISA_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(this$, WithFolder) {
|
|
206
|
+
const withFolder = defaultArg(WithFolder, false);
|
|
199
207
|
const path = Assay_fileNameFromIdentifier(this$.Identifier);
|
|
200
|
-
|
|
208
|
+
const c = Contract.createCreate(path, "ISA_Assay", toFsWorkbook_1(this$));
|
|
209
|
+
return toArray(delay(() => {
|
|
210
|
+
let folderFS;
|
|
211
|
+
return append(withFolder ? ((folderFS = createAssayFolder(this$.Identifier), collect((p) => ((p !== path) ? singleton(Contract.createCreate(p, "PlainText")) : empty()), folderFS.ToFilePaths(false)))) : empty(), delay(() => singleton(c)));
|
|
212
|
+
}));
|
|
201
213
|
}
|
|
202
214
|
|
|
203
215
|
export function ARCtrl_ISA_ArcAssay__ArcAssay_ToUpdateContract(this$) {
|
|
@@ -214,8 +226,8 @@ export function ARCtrl_ISA_ArcAssay__ArcAssay_toDeleteContract_Static_1C75D08D(a
|
|
|
214
226
|
return ARCtrl_ISA_ArcAssay__ArcAssay_ToDeleteContract(assay);
|
|
215
227
|
}
|
|
216
228
|
|
|
217
|
-
export function
|
|
218
|
-
return
|
|
229
|
+
export function ARCtrl_ISA_ArcAssay__ArcAssay_toCreateContract_Static_Z3B1E839C(assay, WithFolder) {
|
|
230
|
+
return ARCtrl_ISA_ArcAssay__ArcAssay_ToCreateContract_6FCE9E49(assay, unwrap(WithFolder));
|
|
219
231
|
}
|
|
220
232
|
|
|
221
233
|
export function ARCtrl_ISA_ArcAssay__ArcAssay_toUpdateContract_Static_1C75D08D(assay) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
|
|
2
2
|
import { compareArrays, safeHash, disposeSafe, getEnumerator, comparePrimitives, equals, arrayHash, equalArrays } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
3
3
|
import { value as value_9, map as map_2, defaultArg, unwrap } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
4
|
-
import { Unchecked_extendToRowCount, ProcessParsing_processToRows, ProcessParsing_alignByHeaders, ProcessParsing_mergeIdenticalProcesses, ProcessParsing_getProcessGetter, Unchecked_removeRowCells_withIndexChange, Unchecked_addRows, Unchecked_addRow, Unchecked_getEmptyCellForHeader, Unchecked_removeColumnCells_withIndexChange, tryFindDuplicateUniqueInArray, Unchecked_removeColumnCells, Unchecked_removeHeader, Unchecked_fillMissingCells, Unchecked_addColumn, tryFindDuplicateUnique, Unchecked_setCellAt, SanityChecks_validateColumn, SanityChecks_validateRowIndex, SanityChecks_validateColumnIndex, Unchecked_tryGetCellAt, getRowCount, getColumnCount } from "./ArcTableAux.js";
|
|
4
|
+
import { boxHashValues, Unchecked_extendToRowCount, ProcessParsing_processToRows, ProcessParsing_alignByHeaders, ProcessParsing_mergeIdenticalProcesses, ProcessParsing_getProcessGetter, Unchecked_removeRowCells_withIndexChange, Unchecked_addRows, Unchecked_addRow, Unchecked_getEmptyCellForHeader, Unchecked_removeColumnCells_withIndexChange, tryFindDuplicateUniqueInArray, Unchecked_removeColumnCells, Unchecked_removeHeader, Unchecked_fillMissingCells, Unchecked_addColumn, tryFindDuplicateUnique, Unchecked_setCellAt, SanityChecks_validateColumn, SanityChecks_validateRowIndex, SanityChecks_validateColumnIndex, Unchecked_tryGetCellAt, getRowCount, getColumnCount } from "./ArcTableAux.js";
|
|
5
5
|
import { item, append as append_1, indexed as indexed_1, choose, toList, zip, fold, filter, length, tryFindIndex, empty, singleton, collect, removeAt, map, delay, toArray } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
6
6
|
import { rangeDouble } from "../../../fable_modules/fable-library.4.5.0/Range.js";
|
|
7
7
|
import { CompositeColumn } from "./CompositeColumn.js";
|
|
@@ -22,7 +22,7 @@ import { Array_groupBy, List_distinct } from "../../../fable_modules/fable-libra
|
|
|
22
22
|
import { toProtocol } from "./CompositeRow.js";
|
|
23
23
|
import { Process_create_Z42860F3E } from "../JsonTypes/Process.js";
|
|
24
24
|
import { getItemFromDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
|
|
25
|
-
import { HashCodes_boxHashArray } from "../Helper.js";
|
|
25
|
+
import { HashCodes_boxHashSeq, HashCodes_boxHashArray } from "../Helper.js";
|
|
26
26
|
import { class_type } from "../../../fable_modules/fable-library.4.5.0/Reflection.js";
|
|
27
27
|
|
|
28
28
|
export class ArcTable {
|
|
@@ -861,16 +861,8 @@ export class ArcTable {
|
|
|
861
861
|
}
|
|
862
862
|
GetHashCode() {
|
|
863
863
|
const this$ = this;
|
|
864
|
-
const
|
|
865
|
-
|
|
866
|
-
return HashCodes_boxHashArray([_arg[0], _arg[1], tupledArg[1]]);
|
|
867
|
-
}, sortBy((tuple) => tuple[0], toArray(delay(() => collect((matchValue) => {
|
|
868
|
-
const activePatternResult = matchValue;
|
|
869
|
-
return singleton([activePatternResult[0], activePatternResult[1]]);
|
|
870
|
-
}, this$.Values))), {
|
|
871
|
-
Compare: compareArrays,
|
|
872
|
-
}));
|
|
873
|
-
return HashCodes_boxHashArray([this$.Name, HashCodes_boxHashArray(Array.from(this$.Headers)), HashCodes_boxHashArray(Array.from(v_2))]) | 0;
|
|
864
|
+
const vHash = boxHashValues(this$.ColumnCount, this$.Values);
|
|
865
|
+
return HashCodes_boxHashArray([this$.Name, HashCodes_boxHashSeq(this$.Headers), vHash]) | 0;
|
|
874
866
|
}
|
|
875
867
|
}
|
|
876
868
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addToDict, getItemFromDict } from "../../../fable_modules/fable-library.4.5.0/MapUtil.js";
|
|
2
2
|
import { map as map_2, defaultArg, unwrap, value as value_9, some } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
3
3
|
import { empty as empty_1, singleton as singleton_1, append, delay, map as map_1, tryPick, toList, indexed, head as head_1, toArray, filter, tryFindIndex, maxBy } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
4
|
-
import { arrayHash, equalArrays, stringHash, int32ToString, numberHash, disposeSafe, getEnumerator, compare, equals, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
4
|
+
import { arrayHash, equalArrays, stringHash, int32ToString, numberHash, disposeSafe, getEnumerator, compare, equals, safeHash, comparePrimitives } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
5
5
|
import { pick, exists, zip, append as append_1, sortBy, tryPick as tryPick_1, collect, mapIndexed, item, length, map as map_3, ofArray as ofArray_2, singleton, choose, ofSeq, empty, head, tail as tail_1, isEmpty, cons } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
6
6
|
import { CompositeCell } from "./CompositeCell.js";
|
|
7
7
|
import { max } from "../../../fable_modules/fable-library.4.5.0/Double.js";
|
|
@@ -59,6 +59,17 @@ export function getRowCount(values) {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
export function boxHashValues(colCount, values) {
|
|
63
|
+
let hash = 0;
|
|
64
|
+
const rowCount = getRowCount(values) | 0;
|
|
65
|
+
for (let col = 0; col <= (colCount - 1); col++) {
|
|
66
|
+
for (let row = 0; row <= (rowCount - 1); row++) {
|
|
67
|
+
hash = ((((-1640531527 + safeHash(getItemFromDict(values, [col, row]))) + (hash << 6)) + (hash >> 2)) | 0);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return hash;
|
|
71
|
+
}
|
|
72
|
+
|
|
62
73
|
export function $007CIsUniqueExistingHeader$007C_$007C(existingHeaders, input) {
|
|
63
74
|
switch (input.tag) {
|
|
64
75
|
case 3:
|
|
@@ -33,6 +33,7 @@ export class ArcAssay extends ArcTables {
|
|
|
33
33
|
this["technologyPlatform@100"] = technologyPlatform;
|
|
34
34
|
this["performers@101-1"] = performers_1;
|
|
35
35
|
this["comments@102-1"] = comments_1;
|
|
36
|
+
this.staticHash = 0;
|
|
36
37
|
}
|
|
37
38
|
get Identifier() {
|
|
38
39
|
const this$ = this;
|
|
@@ -90,6 +91,14 @@ export class ArcAssay extends ArcTables {
|
|
|
90
91
|
const this$ = this;
|
|
91
92
|
this$["comments@102-1"] = n;
|
|
92
93
|
}
|
|
94
|
+
get StaticHash() {
|
|
95
|
+
const this$ = this;
|
|
96
|
+
return this$.staticHash | 0;
|
|
97
|
+
}
|
|
98
|
+
set StaticHash(h) {
|
|
99
|
+
const this$ = this;
|
|
100
|
+
this$.staticHash = (h | 0);
|
|
101
|
+
}
|
|
93
102
|
static init(identifier) {
|
|
94
103
|
return new ArcAssay(identifier);
|
|
95
104
|
}
|
|
@@ -561,26 +570,27 @@ export class ArcStudy extends ArcTables {
|
|
|
561
570
|
const registeredAssayIdentifiers_1 = defaultArg(registeredAssayIdentifiers, []);
|
|
562
571
|
const factors_1 = defaultArg(factors, []);
|
|
563
572
|
const comments_1 = defaultArg(comments, []);
|
|
564
|
-
this["identifier@
|
|
573
|
+
this["identifier@572"] = identifier;
|
|
565
574
|
this.investigation = void 0;
|
|
566
|
-
this["title@
|
|
567
|
-
this["description@
|
|
568
|
-
this["submissionDate@
|
|
569
|
-
this["publicReleaseDate@
|
|
570
|
-
this["publications@
|
|
571
|
-
this["contacts@
|
|
572
|
-
this["studyDesignDescriptors@
|
|
573
|
-
this["registeredAssayIdentifiers@
|
|
574
|
-
this["factors@
|
|
575
|
-
this["comments@
|
|
575
|
+
this["title@574"] = title;
|
|
576
|
+
this["description@575"] = description;
|
|
577
|
+
this["submissionDate@576"] = submissionDate;
|
|
578
|
+
this["publicReleaseDate@577"] = publicReleaseDate;
|
|
579
|
+
this["publications@578-1"] = publications_1;
|
|
580
|
+
this["contacts@579-1"] = contacts_1;
|
|
581
|
+
this["studyDesignDescriptors@580-1"] = studyDesignDescriptors_1;
|
|
582
|
+
this["registeredAssayIdentifiers@581-1"] = registeredAssayIdentifiers_1;
|
|
583
|
+
this["factors@582-1"] = factors_1;
|
|
584
|
+
this["comments@583-1"] = comments_1;
|
|
585
|
+
this.staticHash = 0;
|
|
576
586
|
}
|
|
577
587
|
get Identifier() {
|
|
578
588
|
const this$ = this;
|
|
579
|
-
return this$["identifier@
|
|
589
|
+
return this$["identifier@572"];
|
|
580
590
|
}
|
|
581
591
|
set Identifier(i) {
|
|
582
592
|
const this$ = this;
|
|
583
|
-
this$["identifier@
|
|
593
|
+
this$["identifier@572"] = i;
|
|
584
594
|
}
|
|
585
595
|
get Investigation() {
|
|
586
596
|
const this$ = this;
|
|
@@ -592,83 +602,91 @@ export class ArcStudy extends ArcTables {
|
|
|
592
602
|
}
|
|
593
603
|
get Title() {
|
|
594
604
|
const this$ = this;
|
|
595
|
-
return unwrap(this$["title@
|
|
605
|
+
return unwrap(this$["title@574"]);
|
|
596
606
|
}
|
|
597
607
|
set Title(n) {
|
|
598
608
|
const this$ = this;
|
|
599
|
-
this$["title@
|
|
609
|
+
this$["title@574"] = n;
|
|
600
610
|
}
|
|
601
611
|
get Description() {
|
|
602
612
|
const this$ = this;
|
|
603
|
-
return unwrap(this$["description@
|
|
613
|
+
return unwrap(this$["description@575"]);
|
|
604
614
|
}
|
|
605
615
|
set Description(n) {
|
|
606
616
|
const this$ = this;
|
|
607
|
-
this$["description@
|
|
617
|
+
this$["description@575"] = n;
|
|
608
618
|
}
|
|
609
619
|
get SubmissionDate() {
|
|
610
620
|
const this$ = this;
|
|
611
|
-
return unwrap(this$["submissionDate@
|
|
621
|
+
return unwrap(this$["submissionDate@576"]);
|
|
612
622
|
}
|
|
613
623
|
set SubmissionDate(n) {
|
|
614
624
|
const this$ = this;
|
|
615
|
-
this$["submissionDate@
|
|
625
|
+
this$["submissionDate@576"] = n;
|
|
616
626
|
}
|
|
617
627
|
get PublicReleaseDate() {
|
|
618
628
|
const this$ = this;
|
|
619
|
-
return unwrap(this$["publicReleaseDate@
|
|
629
|
+
return unwrap(this$["publicReleaseDate@577"]);
|
|
620
630
|
}
|
|
621
631
|
set PublicReleaseDate(n) {
|
|
622
632
|
const this$ = this;
|
|
623
|
-
this$["publicReleaseDate@
|
|
633
|
+
this$["publicReleaseDate@577"] = n;
|
|
624
634
|
}
|
|
625
635
|
get Publications() {
|
|
626
636
|
const this$ = this;
|
|
627
|
-
return this$["publications@
|
|
637
|
+
return this$["publications@578-1"];
|
|
628
638
|
}
|
|
629
639
|
set Publications(n) {
|
|
630
640
|
const this$ = this;
|
|
631
|
-
this$["publications@
|
|
641
|
+
this$["publications@578-1"] = n;
|
|
632
642
|
}
|
|
633
643
|
get Contacts() {
|
|
634
644
|
const this$ = this;
|
|
635
|
-
return this$["contacts@
|
|
645
|
+
return this$["contacts@579-1"];
|
|
636
646
|
}
|
|
637
647
|
set Contacts(n) {
|
|
638
648
|
const this$ = this;
|
|
639
|
-
this$["contacts@
|
|
649
|
+
this$["contacts@579-1"] = n;
|
|
640
650
|
}
|
|
641
651
|
get StudyDesignDescriptors() {
|
|
642
652
|
const this$ = this;
|
|
643
|
-
return this$["studyDesignDescriptors@
|
|
653
|
+
return this$["studyDesignDescriptors@580-1"];
|
|
644
654
|
}
|
|
645
655
|
set StudyDesignDescriptors(n) {
|
|
646
656
|
const this$ = this;
|
|
647
|
-
this$["studyDesignDescriptors@
|
|
657
|
+
this$["studyDesignDescriptors@580-1"] = n;
|
|
648
658
|
}
|
|
649
659
|
get RegisteredAssayIdentifiers() {
|
|
650
660
|
const this$ = this;
|
|
651
|
-
return this$["registeredAssayIdentifiers@
|
|
661
|
+
return this$["registeredAssayIdentifiers@581-1"];
|
|
652
662
|
}
|
|
653
663
|
set RegisteredAssayIdentifiers(n) {
|
|
654
664
|
const this$ = this;
|
|
655
|
-
this$["registeredAssayIdentifiers@
|
|
665
|
+
this$["registeredAssayIdentifiers@581-1"] = n;
|
|
656
666
|
}
|
|
657
667
|
get Factors() {
|
|
658
668
|
const this$ = this;
|
|
659
|
-
return this$["factors@
|
|
669
|
+
return this$["factors@582-1"];
|
|
660
670
|
}
|
|
661
671
|
set Factors(n) {
|
|
662
672
|
const this$ = this;
|
|
663
|
-
this$["factors@
|
|
673
|
+
this$["factors@582-1"] = n;
|
|
664
674
|
}
|
|
665
675
|
get Comments() {
|
|
666
676
|
const this$ = this;
|
|
667
|
-
return this$["comments@
|
|
677
|
+
return this$["comments@583-1"];
|
|
668
678
|
}
|
|
669
679
|
set Comments(n) {
|
|
670
680
|
const this$ = this;
|
|
671
|
-
this$["comments@
|
|
681
|
+
this$["comments@583-1"] = n;
|
|
682
|
+
}
|
|
683
|
+
get StaticHash() {
|
|
684
|
+
const this$ = this;
|
|
685
|
+
return this$.staticHash | 0;
|
|
686
|
+
}
|
|
687
|
+
set StaticHash(h) {
|
|
688
|
+
const this$ = this;
|
|
689
|
+
this$.staticHash = (h | 0);
|
|
672
690
|
}
|
|
673
691
|
static init(identifier) {
|
|
674
692
|
return new ArcStudy(identifier);
|
|
@@ -1223,6 +1241,10 @@ export class ArcStudy extends ArcTables {
|
|
|
1223
1241
|
const this$ = this;
|
|
1224
1242
|
return HashCodes_boxHashArray([this$.Identifier, HashCodes_boxHashOption(this$.Title), HashCodes_boxHashOption(this$.Description), HashCodes_boxHashOption(this$.SubmissionDate), HashCodes_boxHashOption(this$.PublicReleaseDate), HashCodes_boxHashArray(this$.Publications), HashCodes_boxHashArray(this$.Contacts), HashCodes_boxHashArray(this$.StudyDesignDescriptors), HashCodes_boxHashArray(Array.from(this$.Tables)), HashCodes_boxHashArray(Array.from(this$.RegisteredAssayIdentifiers)), HashCodes_boxHashArray(this$.Factors), HashCodes_boxHashArray(this$.Comments)]) | 0;
|
|
1225
1243
|
}
|
|
1244
|
+
GetLightHashCode() {
|
|
1245
|
+
const this$ = this;
|
|
1246
|
+
return HashCodes_boxHashArray([this$.Identifier, HashCodes_boxHashOption(this$.Title), HashCodes_boxHashOption(this$.Description), HashCodes_boxHashOption(this$.SubmissionDate), HashCodes_boxHashOption(this$.PublicReleaseDate), HashCodes_boxHashArray(this$.Publications), HashCodes_boxHashArray(this$.Contacts), HashCodes_boxHashArray(this$.StudyDesignDescriptors), HashCodes_boxHashArray(Array.from(this$.Tables)), HashCodes_boxHashArray(this$.Factors), HashCodes_boxHashArray(this$.Comments)]) | 0;
|
|
1247
|
+
}
|
|
1226
1248
|
}
|
|
1227
1249
|
|
|
1228
1250
|
export function ArcStudy_$reflection() {
|
|
@@ -1269,124 +1291,133 @@ export class ArcInvestigation {
|
|
|
1269
1291
|
const registeredStudyIdentifiers_1 = defaultArg(registeredStudyIdentifiers, []);
|
|
1270
1292
|
const comments_1 = defaultArg(comments, []);
|
|
1271
1293
|
const remarks_1 = defaultArg(remarks, []);
|
|
1272
|
-
this["identifier@
|
|
1273
|
-
this["title@
|
|
1274
|
-
this["description@
|
|
1275
|
-
this["submissionDate@
|
|
1276
|
-
this["publicReleaseDate@
|
|
1277
|
-
this["ontologySourceReferences@
|
|
1278
|
-
this["publications@
|
|
1279
|
-
this["contacts@
|
|
1280
|
-
this["assays@
|
|
1281
|
-
this["studies@
|
|
1282
|
-
this["registeredStudyIdentifiers@
|
|
1283
|
-
this["comments@
|
|
1284
|
-
this["remarks@
|
|
1285
|
-
this
|
|
1294
|
+
this["identifier@1195"] = identifier;
|
|
1295
|
+
this["title@1196"] = title;
|
|
1296
|
+
this["description@1197"] = description;
|
|
1297
|
+
this["submissionDate@1198"] = submissionDate;
|
|
1298
|
+
this["publicReleaseDate@1199"] = publicReleaseDate;
|
|
1299
|
+
this["ontologySourceReferences@1200-1"] = ontologySourceReferences_1;
|
|
1300
|
+
this["publications@1201-1"] = publications_1;
|
|
1301
|
+
this["contacts@1202-1"] = contacts_1;
|
|
1302
|
+
this["assays@1203-1"] = assays_1;
|
|
1303
|
+
this["studies@1204-1"] = studies_1;
|
|
1304
|
+
this["registeredStudyIdentifiers@1205-1"] = registeredStudyIdentifiers_1;
|
|
1305
|
+
this["comments@1206-1"] = comments_1;
|
|
1306
|
+
this["remarks@1207-1"] = remarks_1;
|
|
1307
|
+
this.staticHash = 0;
|
|
1308
|
+
this["init@1176"] = 1;
|
|
1286
1309
|
}
|
|
1287
1310
|
get Identifier() {
|
|
1288
1311
|
const this$ = this;
|
|
1289
|
-
return this$["identifier@
|
|
1312
|
+
return this$["identifier@1195"];
|
|
1290
1313
|
}
|
|
1291
1314
|
set Identifier(i) {
|
|
1292
1315
|
const this$ = this;
|
|
1293
|
-
this$["identifier@
|
|
1316
|
+
this$["identifier@1195"] = i;
|
|
1294
1317
|
}
|
|
1295
1318
|
get Title() {
|
|
1296
1319
|
const this$ = this;
|
|
1297
|
-
return unwrap(this$["title@
|
|
1320
|
+
return unwrap(this$["title@1196"]);
|
|
1298
1321
|
}
|
|
1299
1322
|
set Title(n) {
|
|
1300
1323
|
const this$ = this;
|
|
1301
|
-
this$["title@
|
|
1324
|
+
this$["title@1196"] = n;
|
|
1302
1325
|
}
|
|
1303
1326
|
get Description() {
|
|
1304
1327
|
const this$ = this;
|
|
1305
|
-
return unwrap(this$["description@
|
|
1328
|
+
return unwrap(this$["description@1197"]);
|
|
1306
1329
|
}
|
|
1307
1330
|
set Description(n) {
|
|
1308
1331
|
const this$ = this;
|
|
1309
|
-
this$["description@
|
|
1332
|
+
this$["description@1197"] = n;
|
|
1310
1333
|
}
|
|
1311
1334
|
get SubmissionDate() {
|
|
1312
1335
|
const this$ = this;
|
|
1313
|
-
return unwrap(this$["submissionDate@
|
|
1336
|
+
return unwrap(this$["submissionDate@1198"]);
|
|
1314
1337
|
}
|
|
1315
1338
|
set SubmissionDate(n) {
|
|
1316
1339
|
const this$ = this;
|
|
1317
|
-
this$["submissionDate@
|
|
1340
|
+
this$["submissionDate@1198"] = n;
|
|
1318
1341
|
}
|
|
1319
1342
|
get PublicReleaseDate() {
|
|
1320
1343
|
const this$ = this;
|
|
1321
|
-
return unwrap(this$["publicReleaseDate@
|
|
1344
|
+
return unwrap(this$["publicReleaseDate@1199"]);
|
|
1322
1345
|
}
|
|
1323
1346
|
set PublicReleaseDate(n) {
|
|
1324
1347
|
const this$ = this;
|
|
1325
|
-
this$["publicReleaseDate@
|
|
1348
|
+
this$["publicReleaseDate@1199"] = n;
|
|
1326
1349
|
}
|
|
1327
1350
|
get OntologySourceReferences() {
|
|
1328
1351
|
const this$ = this;
|
|
1329
|
-
return this$["ontologySourceReferences@
|
|
1352
|
+
return this$["ontologySourceReferences@1200-1"];
|
|
1330
1353
|
}
|
|
1331
1354
|
set OntologySourceReferences(n) {
|
|
1332
1355
|
const this$ = this;
|
|
1333
|
-
this$["ontologySourceReferences@
|
|
1356
|
+
this$["ontologySourceReferences@1200-1"] = n;
|
|
1334
1357
|
}
|
|
1335
1358
|
get Publications() {
|
|
1336
1359
|
const this$ = this;
|
|
1337
|
-
return this$["publications@
|
|
1360
|
+
return this$["publications@1201-1"];
|
|
1338
1361
|
}
|
|
1339
1362
|
set Publications(n) {
|
|
1340
1363
|
const this$ = this;
|
|
1341
|
-
this$["publications@
|
|
1364
|
+
this$["publications@1201-1"] = n;
|
|
1342
1365
|
}
|
|
1343
1366
|
get Contacts() {
|
|
1344
1367
|
const this$ = this;
|
|
1345
|
-
return this$["contacts@
|
|
1368
|
+
return this$["contacts@1202-1"];
|
|
1346
1369
|
}
|
|
1347
1370
|
set Contacts(n) {
|
|
1348
1371
|
const this$ = this;
|
|
1349
|
-
this$["contacts@
|
|
1372
|
+
this$["contacts@1202-1"] = n;
|
|
1350
1373
|
}
|
|
1351
1374
|
get Assays() {
|
|
1352
1375
|
const this$ = this;
|
|
1353
|
-
return this$["assays@
|
|
1376
|
+
return this$["assays@1203-1"];
|
|
1354
1377
|
}
|
|
1355
1378
|
set Assays(n) {
|
|
1356
1379
|
const this$ = this;
|
|
1357
|
-
this$["assays@
|
|
1380
|
+
this$["assays@1203-1"] = n;
|
|
1358
1381
|
}
|
|
1359
1382
|
get Studies() {
|
|
1360
1383
|
const this$ = this;
|
|
1361
|
-
return this$["studies@
|
|
1384
|
+
return this$["studies@1204-1"];
|
|
1362
1385
|
}
|
|
1363
1386
|
set Studies(n) {
|
|
1364
1387
|
const this$ = this;
|
|
1365
|
-
this$["studies@
|
|
1388
|
+
this$["studies@1204-1"] = n;
|
|
1366
1389
|
}
|
|
1367
1390
|
get RegisteredStudyIdentifiers() {
|
|
1368
1391
|
const this$ = this;
|
|
1369
|
-
return this$["registeredStudyIdentifiers@
|
|
1392
|
+
return this$["registeredStudyIdentifiers@1205-1"];
|
|
1370
1393
|
}
|
|
1371
1394
|
set RegisteredStudyIdentifiers(n) {
|
|
1372
1395
|
const this$ = this;
|
|
1373
|
-
this$["registeredStudyIdentifiers@
|
|
1396
|
+
this$["registeredStudyIdentifiers@1205-1"] = n;
|
|
1374
1397
|
}
|
|
1375
1398
|
get Comments() {
|
|
1376
1399
|
const this$ = this;
|
|
1377
|
-
return this$["comments@
|
|
1400
|
+
return this$["comments@1206-1"];
|
|
1378
1401
|
}
|
|
1379
1402
|
set Comments(n) {
|
|
1380
1403
|
const this$ = this;
|
|
1381
|
-
this$["comments@
|
|
1404
|
+
this$["comments@1206-1"] = n;
|
|
1382
1405
|
}
|
|
1383
1406
|
get Remarks() {
|
|
1384
1407
|
const this$ = this;
|
|
1385
|
-
return this$["remarks@
|
|
1408
|
+
return this$["remarks@1207-1"];
|
|
1386
1409
|
}
|
|
1387
1410
|
set Remarks(n) {
|
|
1388
1411
|
const this$ = this;
|
|
1389
|
-
this$["remarks@
|
|
1412
|
+
this$["remarks@1207-1"] = n;
|
|
1413
|
+
}
|
|
1414
|
+
get StaticHash() {
|
|
1415
|
+
const this$ = this;
|
|
1416
|
+
return this$.staticHash | 0;
|
|
1417
|
+
}
|
|
1418
|
+
set StaticHash(h) {
|
|
1419
|
+
const this$ = this;
|
|
1420
|
+
this$.staticHash = (h | 0);
|
|
1390
1421
|
}
|
|
1391
1422
|
static get FileName() {
|
|
1392
1423
|
return "isa.investigation.xlsx";
|
|
@@ -2135,6 +2166,10 @@ export class ArcInvestigation {
|
|
|
2135
2166
|
const this$ = this;
|
|
2136
2167
|
return HashCodes_boxHashArray([this$.Identifier, HashCodes_boxHashOption(this$.Title), HashCodes_boxHashOption(this$.Description), HashCodes_boxHashOption(this$.SubmissionDate), HashCodes_boxHashOption(this$.PublicReleaseDate), HashCodes_boxHashArray(this$.Publications), HashCodes_boxHashArray(this$.Contacts), HashCodes_boxHashArray(this$.OntologySourceReferences), HashCodes_boxHashArray(Array.from(this$.Assays)), HashCodes_boxHashArray(Array.from(this$.Studies)), HashCodes_boxHashArray(Array.from(this$.RegisteredStudyIdentifiers)), HashCodes_boxHashArray(this$.Comments), HashCodes_boxHashArray(this$.Remarks)]) | 0;
|
|
2137
2168
|
}
|
|
2169
|
+
GetLightHashCode() {
|
|
2170
|
+
const this$ = this;
|
|
2171
|
+
return HashCodes_boxHashArray([this$.Identifier, HashCodes_boxHashOption(this$.Title), HashCodes_boxHashOption(this$.Description), HashCodes_boxHashOption(this$.SubmissionDate), HashCodes_boxHashOption(this$.PublicReleaseDate), HashCodes_boxHashArray(this$.Publications), HashCodes_boxHashArray(this$.Contacts), HashCodes_boxHashArray(this$.OntologySourceReferences), HashCodes_boxHashArray(this$.Comments), HashCodes_boxHashArray(this$.Remarks)]) | 0;
|
|
2172
|
+
}
|
|
2138
2173
|
}
|
|
2139
2174
|
|
|
2140
2175
|
export function ArcInvestigation_$reflection() {
|