@nfdi4plants/arctrl 3.0.0-beta.13 → 3.0.0-beta.15
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/dist/ts/index.d.ts +2 -1
- package/dist/ts/index.d.ts.map +1 -1
- package/dist/ts/index.js +2 -1
- package/dist/ts/ts/ARC.d.ts +5 -5
- package/dist/ts/ts/ARC.js +52 -52
- package/dist/ts/ts/Contract/Datamap.d.ts +25 -25
- package/dist/ts/ts/Contract/Datamap.js +34 -34
- package/dist/ts/ts/Conversion/Assay.js +6 -6
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts +1 -0
- package/dist/ts/ts/Conversion/ColumnIndex.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/ColumnIndex.js +24 -5
- package/dist/ts/ts/Conversion/Datamap.d.ts +3 -3
- package/dist/ts/ts/Conversion/Datamap.js +4 -4
- package/dist/ts/ts/Conversion/Run.d.ts.map +1 -1
- package/dist/ts/ts/Conversion/Run.js +30 -9
- package/dist/ts/ts/Conversion/Study.js +6 -6
- package/dist/ts/ts/Conversion/Workflow.js +6 -6
- package/dist/ts/ts/Core/ArcTypes.d.ts +29 -29
- package/dist/ts/ts/Core/ArcTypes.d.ts.map +1 -1
- package/dist/ts/ts/Core/ArcTypes.js +46 -46
- package/dist/ts/ts/Core/{DataMap.d.ts → Datamap.d.ts} +24 -24
- package/dist/ts/ts/Core/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Core/{DataMap.js → Datamap.js} +36 -36
- package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +4 -4
- package/dist/ts/ts/FileSystem/FileSystemTree.js +16 -16
- package/dist/ts/ts/Json/Assay.js +5 -5
- package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts.map +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts → Datamap/Datamap.d.ts} +6 -6
- package/dist/ts/ts/Json/{DataMap/DataMap.d.ts.map → Datamap/Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Json/{DataMap/DataMap.js → Datamap/Datamap.js} +2 -2
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts +1 -0
- package/dist/ts/ts/Json/ROCrate/LDNode.d.ts.map +1 -1
- package/dist/ts/ts/Json/ROCrate/LDNode.js +18 -7
- package/dist/ts/ts/Json/Run.js +5 -5
- package/dist/ts/ts/Json/Study.js +5 -5
- package/dist/ts/ts/Json/Workflow.js +5 -5
- package/dist/ts/ts/Json.d.ts +3 -3
- package/dist/ts/ts/Json.js +3 -3
- package/dist/ts/ts/JsonIO/Datamap.d.ts +4 -4
- package/dist/ts/ts/JsonIO/Datamap.js +6 -6
- package/dist/ts/ts/ROCrate/ROCrateContext.js +1 -1
- package/dist/ts/ts/Spreadsheet/ArcAssay.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcRun.js +2 -2
- package/dist/ts/ts/Spreadsheet/ArcStudy.js +3 -3
- package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +2 -2
- package/dist/ts/ts/Spreadsheet/Datamap.d.ts +8 -0
- package/dist/ts/ts/Spreadsheet/{DataMap.d.ts.map → Datamap.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMap.js → Datamap.js} +9 -9
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts → DatamapTable/DatamapColumn.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.d.ts.map → DatamapTable/DatamapColumn.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapColumn.js → DatamapTable/DatamapColumn.js} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts → DatamapTable/DatamapHeader.d.ts} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.d.ts.map → DatamapTable/DatamapHeader.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts → DatamapTable/DatamapTable.d.ts} +5 -5
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.d.ts.map → DatamapTable/DatamapTable.d.ts.map} +1 -1
- package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapTable.js → DatamapTable/DatamapTable.js} +6 -6
- package/dist/ts/ts/Xlsx.d.ts +5 -5
- package/dist/ts/ts/Xlsx.js +1 -1
- package/package.json +1 -1
- package/dist/ts/ts/Spreadsheet/DataMap.d.ts +0 -8
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.d.ts +0 -0
- /package/dist/ts/ts/Json/{DataMap → Datamap}/DataContext.js +0 -0
- /package/dist/ts/ts/Spreadsheet/{DataMapTable/DataMapHeader.js → DatamapTable/DatamapHeader.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnIndex.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/ColumnIndex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAiBhD,eAAO,MAAM,SAAS,gBAAgB,CAAC;AAEvC,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"ColumnIndex.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/ColumnIndex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAiBhD,eAAO,MAAM,SAAS,gBAAgB,CAAC;AAEvC,eAAO,MAAM,oBAAoB,8CAA8C,CAAC;AAEhF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAyCvD;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAEzD;AAED,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAEjF;AAED,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAE5F;AAED,wBAAgB,sDAAsD,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAExG"}
|
|
@@ -16,8 +16,9 @@ function tryInt(str) {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
const orderName = "columnIndex";
|
|
19
|
+
const columndIndexProperty = "https://w3id.org/ro/terms/arc#columnIndex";
|
|
19
20
|
function tryGetIndex(node) {
|
|
20
|
-
const matchValue = node.TryGetPropertyAsSingleton(
|
|
21
|
+
const matchValue = node.TryGetPropertyAsSingleton(columndIndexProperty);
|
|
21
22
|
let matchResult, ci;
|
|
22
23
|
if (matchValue != null) {
|
|
23
24
|
if (typeof value(matchValue) === "string") {
|
|
@@ -32,12 +33,30 @@ function tryGetIndex(node) {
|
|
|
32
33
|
switch (matchResult) {
|
|
33
34
|
case 0:
|
|
34
35
|
return tryInt(ci);
|
|
35
|
-
default:
|
|
36
|
-
|
|
36
|
+
default: {
|
|
37
|
+
const matchValue_1 = node.TryGetPropertyAsSingleton(orderName);
|
|
38
|
+
let matchResult_1, ci_1;
|
|
39
|
+
if (matchValue_1 != null) {
|
|
40
|
+
if (typeof value(matchValue_1) === "string") {
|
|
41
|
+
matchResult_1 = 0;
|
|
42
|
+
ci_1 = value(matchValue_1);
|
|
43
|
+
} else {
|
|
44
|
+
matchResult_1 = 1;
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
matchResult_1 = 1;
|
|
48
|
+
}
|
|
49
|
+
switch (matchResult_1) {
|
|
50
|
+
case 0:
|
|
51
|
+
return tryInt(ci_1);
|
|
52
|
+
default:
|
|
53
|
+
return void 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
37
56
|
}
|
|
38
57
|
}
|
|
39
58
|
function setIndex(node, index) {
|
|
40
|
-
node.SetProperty(
|
|
59
|
+
node.SetProperty(columndIndexProperty, int32ToString(index));
|
|
41
60
|
}
|
|
42
61
|
function ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex(this$) {
|
|
43
62
|
return value(tryGetIndex(this$));
|
|
@@ -49,4 +68,4 @@ function ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4(this$, index) {
|
|
|
49
68
|
setIndex(this$, index);
|
|
50
69
|
}
|
|
51
70
|
|
|
52
|
-
export { ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex, ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4, ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex, orderName, setIndex, tryGetIndex };
|
|
71
|
+
export { ARCtrl_ROCrate_LDNode__LDNode_GetColumnIndex, ARCtrl_ROCrate_LDNode__LDNode_SetColumnIndex_Z524259A4, ARCtrl_ROCrate_LDNode__LDNode_TryGetColumnIndex, columndIndexProperty, orderName, setIndex, tryGetIndex };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TypeInfo } from '@fable-org/fable-library-js/Reflection.js';
|
|
2
2
|
import { LDGraph, LDNode } from '../ROCrate/LDObject.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Datamap } from '../Core/Datamap.js';
|
|
4
4
|
import { LDContext } from '../ROCrate/LDContext.js';
|
|
5
5
|
export declare class DatamapConversion {
|
|
6
6
|
constructor();
|
|
7
7
|
}
|
|
8
8
|
export declare function DatamapConversion_$reflection(): TypeInfo;
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(fragmentDescriptors: LDNode[], graph?: LDGraph, context?: LDContext):
|
|
9
|
+
export declare function DatamapConversion_composeFragmentDescriptors_Z892BFC3(datamap: Datamap): LDNode[];
|
|
10
|
+
export declare function DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(fragmentDescriptors: LDNode[], graph?: LDGraph, context?: LDContext): Datamap;
|
|
11
11
|
//# sourceMappingURL=Datamap.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { class_type } from '../../node_modules/@fable-org/fable-library-js/Reflection.js';
|
|
2
2
|
import { ResizeArray_map } from '../Core/Helper/Collections.js';
|
|
3
3
|
import { BaseTypes_composeFragmentDescriptor_Z4C0BEF62, BaseTypes_decomposeFragmentDescriptor_Z6839B9E8 } from './Basic.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Datamap } from '../Core/Datamap.js';
|
|
5
5
|
import { unwrap } from '../../node_modules/@fable-org/fable-library-js/Option.js';
|
|
6
6
|
|
|
7
7
|
class DatamapConversion {
|
|
@@ -11,11 +11,11 @@ class DatamapConversion {
|
|
|
11
11
|
function DatamapConversion_$reflection() {
|
|
12
12
|
return class_type("ARCtrl.Conversion.DatamapConversion", void 0, DatamapConversion);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function DatamapConversion_composeFragmentDescriptors_Z892BFC3(datamap) {
|
|
15
15
|
return ResizeArray_map(BaseTypes_composeFragmentDescriptor_Z4C0BEF62, datamap.DataContexts);
|
|
16
16
|
}
|
|
17
17
|
function DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(fragmentDescriptors, graph, context) {
|
|
18
|
-
return new
|
|
18
|
+
return new Datamap(ResizeArray_map((fd) => BaseTypes_decomposeFragmentDescriptor_Z6839B9E8(fd, unwrap(graph), unwrap(context)), fragmentDescriptors));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export { DatamapConversion, DatamapConversion_$reflection,
|
|
21
|
+
export { DatamapConversion, DatamapConversion_$reflection, DatamapConversion_composeFragmentDescriptors_Z892BFC3, DatamapConversion_decomposeFragmentDescriptors_Z6E59645F };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAQjF,OAAO,EAAE,QAAQ,EAAgB,MAAM,kBAAkB,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AASvE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../../../../src/ARCtrl/ts/Conversion/Run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAQjF,OAAO,EAAE,QAAQ,EAAgB,MAAM,kBAAkB,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AASvE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAYzD,qBAAa,aAAa;;CAGzB;AAED,wBAAgB,yBAAyB,IAAI,QAAQ,CAEpD;AAED;;;;GAIG;AACH,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAOrG;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAQvG;AAED,wBAAgB,2CAA2C,CAAC,UAAU,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAwCnK;AAED,wBAAgB,8CAA8C,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAqB/J;AAED,wBAAgB,0DAA0D,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,EAAE,CAkDjH;AAED,wBAAgB,uDAAuD,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,wBAAwB,EAAE,qBAAqB,EAAE,CAAC,CAK9M;AAED,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,CAYtF;AAED,wBAAgB,oCAAoC,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAmC9G"}
|
|
@@ -12,7 +12,7 @@ import { CWLParameterReference } from '../CWL/ParameterReference.js';
|
|
|
12
12
|
import { LDFormalParameter } from '../ROCrate/LDTypes/FormalParameter.js';
|
|
13
13
|
import { Run_cwlFileNameFromIdentifier } from '../Core/Helper/Identifier.js';
|
|
14
14
|
import { WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7, WorkflowConversion_getInputParametersFromProcessingUnit_30922B92, WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_2664C4B8 } from './Workflow.js';
|
|
15
|
-
import { tryPick, find
|
|
15
|
+
import { tryPick, find } from '../../node_modules/@fable-org/fable-library-js/Seq.js';
|
|
16
16
|
import { LDComputationalWorkflow } from '../ROCrate/LDTypes/ComputationalWorkflow.js';
|
|
17
17
|
import { ARCtrl_ArcTables__ArcTables_GetProcesses_5E660E5C, ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586 } from './Table.js';
|
|
18
18
|
import { ArcTables } from '../Core/Table/ArcTables.js';
|
|
@@ -22,10 +22,11 @@ import { LDLabProcess } from '../ROCrate/LDTypes/LabProcess.js';
|
|
|
22
22
|
import { ArcRun } from '../Core/ArcTypes.js';
|
|
23
23
|
import { BaseTypes_composeDefinedTerm_ZDED3A0F, BaseTypes_composePropertyValueFromOA_ZDED3A0F, BaseTypes_composeComment_Z13201A7E, BaseTypes_decomposeDefinedTerm_Z2F770004, BaseTypes_decomposePropertyValueToOA_Z2F770004, BaseTypes_decomposeComment_Z2F770004 } from './Basic.js';
|
|
24
24
|
import { PersonConversion_composePerson_Z64D846DC, PersonConversion_decomposePerson_Z6839B9E8 } from './Person.js';
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
25
|
+
import { DatamapConversion_composeFragmentDescriptors_Z892BFC3, DatamapConversion_decomposeFragmentDescriptors_Z6E59645F } from './Datamap.js';
|
|
26
|
+
import { Datamap } from '../Core/Datamap.js';
|
|
27
27
|
import { AssayConversion_getDataFilesFromProcesses_6BABD1B0 } from './Assay.js';
|
|
28
28
|
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
29
|
+
import { LDWorkflowProtocol } from '../ROCrate/LDTypes/WorkflowProtocol.js';
|
|
29
30
|
|
|
30
31
|
class RunConversion {
|
|
31
32
|
constructor() {
|
|
@@ -128,7 +129,7 @@ function RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC(run, fs) {
|
|
|
128
129
|
}
|
|
129
130
|
}, run.CWLInput);
|
|
130
131
|
if (paramRef == null) {
|
|
131
|
-
throw new Error(`Could not create workflow invocation for run "${run.Identifier}": Workflow parameter "name" had no assigned value.`);
|
|
132
|
+
throw new Error(`Could not create workflow invocation for run "${run.Identifier}": Workflow parameter "${name}" had no assigned value.`);
|
|
132
133
|
} else {
|
|
133
134
|
return RunConversion_composeCWLInputValue_70DD9184(value(paramRef), ldI, tupledArg[0], run.Identifier);
|
|
134
135
|
}
|
|
@@ -166,25 +167,45 @@ function RunConversion_composeRun_Z8CC08AC(run, fs) {
|
|
|
166
167
|
const measurementTechnique = map(BaseTypes_composeDefinedTerm_ZDED3A0F, run.TechnologyPlatform);
|
|
167
168
|
const variableMeasured = map(BaseTypes_composePropertyValueFromOA_ZDED3A0F, run.MeasurementType);
|
|
168
169
|
const creators = Option_fromSeq(ResizeArray_map(PersonConversion_composePerson_Z64D846DC, run.Performers));
|
|
169
|
-
const fragmentDescriptors = map(
|
|
170
|
+
const fragmentDescriptors = map(DatamapConversion_composeFragmentDescriptors_Z892BFC3, run.Datamap);
|
|
170
171
|
const dataFiles = map((ps) => AssayConversion_getDataFilesFromProcesses_6BABD1B0(ps, unwrap(fragmentDescriptors)), workflowInvocations);
|
|
171
172
|
const variableMeasureds = variableMeasured == null ? fragmentDescriptors == null ? void 0 : (fds_1 = value(fragmentDescriptors), fds_1) : fragmentDescriptors == null ? (vm_1 = value(variableMeasured), ResizeArray_singleton(vm_1)) : (fds = value(fragmentDescriptors), vm = value(variableMeasured), ResizeArray_appendSingleton(vm, fds));
|
|
172
173
|
const comments = Option_fromSeq(ResizeArray_map(BaseTypes_composeComment_Z13201A7E, run.Comments));
|
|
173
174
|
return LDDataset.createARCRun(run.Identifier, void 0, unwrap(run.Title), unwrap(run.Description), unwrap(creators), unwrap(dataFiles), unwrap(measurementMethod), unwrap(measurementTechnique), unwrap(variableMeasureds), unwrap(workflowInvocations), unwrap(workflowInvocations), unwrap(comments));
|
|
174
175
|
}
|
|
175
176
|
function RunConversion_decomposeRun_Z6839B9E8(run, graph, context) {
|
|
176
|
-
const mainWorkflowInvocation = find((wi) =>
|
|
177
|
+
const mainWorkflowInvocation = find((wi) => {
|
|
178
|
+
let lp;
|
|
179
|
+
const matchValue = LDLabProcess.tryGetExecutesLabProtocol(wi, unwrap(graph), unwrap(context));
|
|
180
|
+
let matchResult, lp_1;
|
|
181
|
+
if (matchValue != null) {
|
|
182
|
+
if (lp = value(matchValue), LDWorkflowProtocol.validate(lp, unwrap(context))) {
|
|
183
|
+
matchResult = 0;
|
|
184
|
+
lp_1 = value(matchValue);
|
|
185
|
+
} else {
|
|
186
|
+
matchResult = 1;
|
|
187
|
+
}
|
|
188
|
+
} else {
|
|
189
|
+
matchResult = 1;
|
|
190
|
+
}
|
|
191
|
+
switch (matchResult) {
|
|
192
|
+
case 0:
|
|
193
|
+
return true;
|
|
194
|
+
default:
|
|
195
|
+
return false;
|
|
196
|
+
}
|
|
197
|
+
}, LDDataset.getAboutsAsWorkflowInvocation(run, unwrap(graph), unwrap(context)));
|
|
177
198
|
const patternInput = RunConversion_decomposeMainWorkflowInvocation_Z1346FE9D(mainWorkflowInvocation, LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(context), unwrap(graph));
|
|
178
199
|
const measurementMethod = map((m) => BaseTypes_decomposeDefinedTerm_Z2F770004(m, unwrap(context)), LDDataset.tryGetMeasurementMethodAsDefinedTerm(run, unwrap(graph), unwrap(context)));
|
|
179
200
|
const measurementTechnique = map((m_1) => BaseTypes_decomposeDefinedTerm_Z2F770004(m_1, unwrap(context)), LDDataset.tryGetMeasurementTechniqueAsDefinedTerm(run, unwrap(graph), unwrap(context)));
|
|
180
201
|
const variableMeasured = map((v) => BaseTypes_decomposePropertyValueToOA_Z2F770004(v, unwrap(context)), LDDataset.tryGetVariableMeasuredAsMeasurementType(run, unwrap(graph), unwrap(context)));
|
|
181
202
|
const contacts = ResizeArray_map((c) => PersonConversion_decomposePerson_Z6839B9E8(c, unwrap(graph), unwrap(context)), LDDataset.getCreators(run, unwrap(graph), unwrap(context)));
|
|
182
203
|
const comments = ResizeArray_map((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, unwrap(context)), LDDataset.getComments(run, unwrap(graph), unwrap(context)));
|
|
183
|
-
let
|
|
204
|
+
let datamap;
|
|
184
205
|
const v_1 = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(LDDataset.getVariableMeasuredAsFragmentDescriptors(run, unwrap(graph), unwrap(context)), unwrap(graph), unwrap(context));
|
|
185
|
-
|
|
206
|
+
datamap = Option_fromValueWithDefault(Datamap.init(), v_1);
|
|
186
207
|
const tables = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586(ofSeq(ResizeArray_filter((wi_1) => wi_1.Id !== mainWorkflowInvocation.Id, LDDataset.getAboutsAsLabProcess(run, unwrap(graph), unwrap(context)))), unwrap(graph), unwrap(context));
|
|
187
|
-
return ArcRun.create(LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(run, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(run, unwrap(context))), unwrap(variableMeasured), unwrap(measurementMethod), unwrap(measurementTechnique), void 0, tables.Tables, unwrap(
|
|
208
|
+
return ArcRun.create(LDDataset.getIdentifierAsString(run, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(run, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(run, unwrap(context))), unwrap(variableMeasured), unwrap(measurementMethod), unwrap(measurementTechnique), void 0, tables.Tables, unwrap(datamap), contacts, patternInput[0], patternInput[1], comments);
|
|
188
209
|
}
|
|
189
210
|
|
|
190
211
|
export { RunConversion, RunConversion_$reflection, RunConversion_composeCWLInputFilePath_Z384F8060, RunConversion_composeCWLInputValue_70DD9184, RunConversion_composeRun_Z8CC08AC, RunConversion_composeWorkflowInvocationFromArcRun_Z8CC08AC, RunConversion_decomposeCWLInputFilePath_Z384F8060, RunConversion_decomposeCWLInputValue_Z1346FE9D, RunConversion_decomposeMainWorkflowInvocation_Z1346FE9D, RunConversion_decomposeRun_Z6839B9E8 };
|
|
@@ -7,8 +7,8 @@ import { ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, ScholarlyAr
|
|
|
7
7
|
import { PersonConversion_composePerson_Z64D846DC, PersonConversion_decomposePerson_Z6839B9E8 } from './Person.js';
|
|
8
8
|
import { ARCtrl_ArcTables__ArcTables_GetProcesses_5E660E5C, ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586 } from './Table.js';
|
|
9
9
|
import { ArcTables } from '../Core/Table/ArcTables.js';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { DatamapConversion_composeFragmentDescriptors_Z892BFC3, DatamapConversion_decomposeFragmentDescriptors_Z6E59645F } from './Datamap.js';
|
|
11
|
+
import { Datamap } from '../Core/Datamap.js';
|
|
12
12
|
import { AssayConversion_getDataFilesFromProcesses_6BABD1B0 } from './Assay.js';
|
|
13
13
|
import { BaseTypes_composeComment_Z13201A7E, BaseTypes_decomposeComment_Z2F770004 } from './Basic.js';
|
|
14
14
|
import { LDDataset } from '../ROCrate/LDTypes/Dataset.js';
|
|
@@ -30,7 +30,7 @@ function StudyConversion_composeStudy_ZFE0E38E(study, fs) {
|
|
|
30
30
|
const publications = Option_fromSeq(ResizeArray_map(ScholarlyArticleConversion_composeScholarlyArticle_D324A6D, study.Publications));
|
|
31
31
|
const creators = Option_fromSeq(ResizeArray_map(PersonConversion_composePerson_Z64D846DC, study.Contacts));
|
|
32
32
|
const processSequence = Option_fromSeq((collection = ARCtrl_ArcTables__ArcTables_GetProcesses_5E660E5C(new ArcTables(study.Tables), void 0, study.Identifier, unwrap(fs)), Array.from(collection)));
|
|
33
|
-
const fragmentDescriptors = map(
|
|
33
|
+
const fragmentDescriptors = map(DatamapConversion_composeFragmentDescriptors_Z892BFC3, study.Datamap);
|
|
34
34
|
const dataFiles = map((ps) => AssayConversion_getDataFilesFromProcesses_6BABD1B0(ps, unwrap(fragmentDescriptors)), processSequence);
|
|
35
35
|
const comments = Option_fromSeq(ResizeArray_map(BaseTypes_composeComment_Z13201A7E, study.Comments));
|
|
36
36
|
return LDDataset.createStudy(study.Identifier, void 0, unwrap(creators), unwrap(dateCreated), unwrap(datePublished), dateModified, unwrap(study.Description), unwrap(dataFiles), unwrap(study.Title), unwrap(publications), unwrap(fragmentDescriptors), unwrap(comments), void 0, unwrap(processSequence));
|
|
@@ -40,12 +40,12 @@ function StudyConversion_decomposeStudy_Z6839B9E8(study, graph, context) {
|
|
|
40
40
|
const datePublished = map(toString, LDDataset.tryGetDatePublishedAsDateTime(study, unwrap(context)));
|
|
41
41
|
const publications = ResizeArray_map((p) => ScholarlyArticleConversion_decomposeScholarlyArticle_Z6839B9E8(p, unwrap(graph), unwrap(context)), LDDataset.getCitations(study, unwrap(graph), unwrap(context)));
|
|
42
42
|
const creators = ResizeArray_map((c) => PersonConversion_decomposePerson_Z6839B9E8(c, unwrap(graph), unwrap(context)), LDDataset.getCreators(study, unwrap(graph), unwrap(context)));
|
|
43
|
-
let
|
|
43
|
+
let datamap;
|
|
44
44
|
const v = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(LDDataset.getVariableMeasuredAsFragmentDescriptors(study, unwrap(graph), unwrap(context)), unwrap(graph), unwrap(context));
|
|
45
|
-
|
|
45
|
+
datamap = Option_fromValueWithDefault(Datamap.init(), v);
|
|
46
46
|
const tables = ARCtrl_ArcTables__ArcTables_fromProcesses_Static_Z27F0B586(ofSeq(LDDataset.getAboutsAsLabProcess(study, unwrap(graph), unwrap(context))), unwrap(graph), unwrap(context));
|
|
47
47
|
const comments = ResizeArray_map((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, unwrap(context)), LDDataset.getComments(study, unwrap(graph), unwrap(context)));
|
|
48
|
-
return ArcStudy.create(LDDataset.getIdentifierAsString(study, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(study, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(study, unwrap(context))), unwrap(dateCreated), unwrap(datePublished), publications, creators, void 0, tables.Tables, unwrap(
|
|
48
|
+
return ArcStudy.create(LDDataset.getIdentifierAsString(study, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(study, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(study, unwrap(context))), unwrap(dateCreated), unwrap(datePublished), publications, creators, void 0, tables.Tables, unwrap(datamap), void 0, comments);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export { StudyConversion, StudyConversion_$reflection, StudyConversion_composeStudy_ZFE0E38E, StudyConversion_decomposeStudy_Z6839B9E8 };
|
|
@@ -24,8 +24,8 @@ import { WorkflowStep, StepOutput } from '../CWL/WorkflowSteps.js';
|
|
|
24
24
|
import { Workflow_cwlFileNameFromIdentifier } from '../Core/Helper/Identifier.js';
|
|
25
25
|
import { toFail, printf } from '../../node_modules/@fable-org/fable-library-js/String.js';
|
|
26
26
|
import { LDLabProtocol } from '../ROCrate/LDTypes/LabProtocol.js';
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { DatamapConversion_composeFragmentDescriptors_Z892BFC3, DatamapConversion_decomposeFragmentDescriptors_Z6E59645F } from './Datamap.js';
|
|
28
|
+
import { Datamap } from '../Core/Datamap.js';
|
|
29
29
|
import { PersonConversion_composePerson_Z64D846DC, PersonConversion_decomposePerson_Z6839B9E8 } from './Person.js';
|
|
30
30
|
import { ArcWorkflow } from '../Core/ArcTypes.js';
|
|
31
31
|
|
|
@@ -277,7 +277,7 @@ function WorkflowConversion_composeWorkflow_42450E6E(workflow, fs) {
|
|
|
277
277
|
const intendedUse = BaseTypes_composeDefinedTerm_ZDED3A0F(value(workflow.WorkflowType));
|
|
278
278
|
LDLabProtocol.setIntendedUseAsDefinedTerm(workflowProtocol, intendedUse);
|
|
279
279
|
}
|
|
280
|
-
const dataFiles = ResizeArray_choose((df) => LDPropertyValue.tryGetSubjectOf(df), defaultArg(map(
|
|
280
|
+
const dataFiles = ResizeArray_choose((df) => LDPropertyValue.tryGetSubjectOf(df), defaultArg(map(DatamapConversion_composeFragmentDescriptors_Z892BFC3, workflow.Datamap), []));
|
|
281
281
|
if (workflow.Components.length > 0) {
|
|
282
282
|
const softwareTools = ResizeArray_map(WorkflowConversion_composeComputationalTool_Z685B8F25, workflow.Components);
|
|
283
283
|
LDLabProtocol.setComputationalTools(workflowProtocol, softwareTools);
|
|
@@ -296,10 +296,10 @@ function WorkflowConversion_decomposeWorkflow_Z6839B9E8(workflow, graph, context
|
|
|
296
296
|
const components = ResizeArray_map((ct) => WorkflowConversion_decomposeComputationalTool_Z6839B9E8(ct, unwrap(graph), unwrap(context)), LDLabProtocol.getComputationalTools(workflowProtocol, unwrap(graph), unwrap(context)));
|
|
297
297
|
const contacts = ResizeArray_map((c) => PersonConversion_decomposePerson_Z6839B9E8(c, unwrap(graph), unwrap(context)), LDDataset.getCreators(workflow, unwrap(graph), unwrap(context)));
|
|
298
298
|
const comments = ResizeArray_map((c_1) => BaseTypes_decomposeComment_Z2F770004(c_1, unwrap(context)), LDDataset.getComments(workflow, unwrap(graph), unwrap(context)));
|
|
299
|
-
let
|
|
299
|
+
let datamap;
|
|
300
300
|
const v = DatamapConversion_decomposeFragmentDescriptors_Z6E59645F(LDDataset.getVariableMeasuredAsFragmentDescriptors(workflow, unwrap(graph), unwrap(context)), unwrap(graph), unwrap(context));
|
|
301
|
-
|
|
302
|
-
return ArcWorkflow.create(LDDataset.getIdentifierAsString(workflow, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(workflow, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(workflow, unwrap(context))), unwrap(workflowType), unwrap(uri), unwrap(version), void 0, void 0, components, unwrap(
|
|
301
|
+
datamap = Option_fromValueWithDefault(Datamap.init(), v);
|
|
302
|
+
return ArcWorkflow.create(LDDataset.getIdentifierAsString(workflow, unwrap(context)), unwrap(LDDataset.tryGetNameAsString(workflow, unwrap(context))), unwrap(LDDataset.tryGetDescriptionAsString(workflow, unwrap(context))), unwrap(workflowType), unwrap(uri), unwrap(version), void 0, void 0, components, unwrap(datamap), contacts, cwlDescription, comments);
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
export { WorkflowConversion, WorkflowConversion_$reflection, WorkflowConversion_composeAdditionalType_Z5C31A0F9, WorkflowConversion_composeComputationalTool_Z685B8F25, WorkflowConversion_composeFormalParamInputIdentifiers, WorkflowConversion_composeFormalParameterFromInput_Z7A02DED7, WorkflowConversion_composeFormalParameterFromOutput_Z25C7EC80, WorkflowConversion_composeFormalParameterOutputIdentifiers_6DFDD678, WorkflowConversion_composeWorkflowProtocolFromProcessingUnit_Z3099C0F7, WorkflowConversion_composeWorkflowProtocolFromToolDescription_7B8357DA, WorkflowConversion_composeWorkflowProtocolFromWorkflow_Z6FBB852F, WorkflowConversion_composeWorkflowStep_Z35AB9E5D, WorkflowConversion_composeWorkflow_42450E6E, WorkflowConversion_decomposeAdditionalType_Z721C83C5, WorkflowConversion_decomposeComputationalTool_Z6839B9E8, WorkflowConversion_decomposeInputBindings_1AAAE9A5, WorkflowConversion_decomposeInputFromFormalParameter_2664C4B8, WorkflowConversion_decomposeOutputBindings_1AAAE9A5, WorkflowConversion_decomposeOutputFromFormalParameter_2664C4B8, WorkflowConversion_decomposeWorkflowProtocolToProcessingUnit_2664C4B8, WorkflowConversion_decomposeWorkflowProtocolToToolDescription_2664C4B8, WorkflowConversion_decomposeWorkflowProtocolToWorkflow_2664C4B8, WorkflowConversion_decomposeWorkflowStep_2664C4B8, WorkflowConversion_decomposeWorkflow_Z6839B9E8, WorkflowConversion_getInputParametersFromProcessingUnit_30922B92, WorkflowConversion_get_toolDescriptionTypeName, WorkflowConversion_get_workflowDescriptionTypeName };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Option } from '@fable-org/fable-library-js/Option.js';
|
|
2
2
|
import { OntologyAnnotation } from './OntologyAnnotation.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Datamap } from './Datamap.js';
|
|
4
4
|
import { Person } from './Person.js';
|
|
5
5
|
import { Remark, Comment$ } from './Comment.js';
|
|
6
6
|
import { int32 } from '@fable-org/fable-library-js/Int32.js';
|
|
@@ -23,11 +23,11 @@ export declare class ArcAssay extends ArcTables implements Iterable<ArcTable> {
|
|
|
23
23
|
"measurementType@136": Option<OntologyAnnotation>;
|
|
24
24
|
"technologyType@137": Option<OntologyAnnotation>;
|
|
25
25
|
"technologyPlatform@138": Option<OntologyAnnotation>;
|
|
26
|
-
|
|
26
|
+
"datamap@139": Option<Datamap>;
|
|
27
27
|
"performers@140-1": Person[];
|
|
28
28
|
"comments@141-1": Comment$[];
|
|
29
29
|
staticHash: int32;
|
|
30
|
-
constructor(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, tables?: ArcTable[], datamap?:
|
|
30
|
+
constructor(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, tables?: ArcTable[], datamap?: Datamap, performers?: Person[], comments?: Comment$[]);
|
|
31
31
|
get Identifier(): string;
|
|
32
32
|
set Identifier(i: string);
|
|
33
33
|
get Investigation(): ArcInvestigation | undefined;
|
|
@@ -42,8 +42,8 @@ export declare class ArcAssay extends ArcTables implements Iterable<ArcTable> {
|
|
|
42
42
|
set TechnologyType(n: Option<OntologyAnnotation>);
|
|
43
43
|
get TechnologyPlatform(): OntologyAnnotation | undefined;
|
|
44
44
|
set TechnologyPlatform(n: Option<OntologyAnnotation>);
|
|
45
|
-
get
|
|
46
|
-
set
|
|
45
|
+
get Datamap(): Datamap | undefined;
|
|
46
|
+
set Datamap(n: Option<Datamap>);
|
|
47
47
|
get Performers(): Person[];
|
|
48
48
|
set Performers(n: Person[]);
|
|
49
49
|
get Comments(): Comment$[];
|
|
@@ -51,8 +51,8 @@ export declare class ArcAssay extends ArcTables implements Iterable<ArcTable> {
|
|
|
51
51
|
get StaticHash(): int32;
|
|
52
52
|
set StaticHash(h: int32);
|
|
53
53
|
static init(identifier: string): ArcAssay;
|
|
54
|
-
static create(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, tables?: ArcTable[], datamap?:
|
|
55
|
-
static make(identifier: string, title: Option<string>, description: Option<string>, measurementType: Option<OntologyAnnotation>, technologyType: Option<OntologyAnnotation>, technologyPlatform: Option<OntologyAnnotation>, tables: ArcTable[], datamap: Option<
|
|
54
|
+
static create(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, tables?: ArcTable[], datamap?: Datamap, performers?: Person[], comments?: Comment$[]): ArcAssay;
|
|
55
|
+
static make(identifier: string, title: Option<string>, description: Option<string>, measurementType: Option<OntologyAnnotation>, technologyType: Option<OntologyAnnotation>, technologyPlatform: Option<OntologyAnnotation>, tables: ArcTable[], datamap: Option<Datamap>, performers: Person[], comments: Comment$[]): ArcAssay;
|
|
56
56
|
static get FileName(): string;
|
|
57
57
|
get StudiesRegisteredIn(): ArcStudy[];
|
|
58
58
|
static addTable(table: ArcTable, index?: int32): ((arg0: ArcAssay) => ArcAssay);
|
|
@@ -101,7 +101,7 @@ export declare class ArcAssay extends ArcTables implements Iterable<ArcTable> {
|
|
|
101
101
|
GetHashCode(): int32;
|
|
102
102
|
}
|
|
103
103
|
export declare function ArcAssay_$reflection(): TypeInfo;
|
|
104
|
-
export declare function ArcAssay_$
|
|
104
|
+
export declare function ArcAssay_$ctor_Z69B192EC(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, tables?: ArcTable[], datamap?: Datamap, performers?: Person[], comments?: Comment$[]): ArcAssay;
|
|
105
105
|
export declare class ArcStudy extends ArcTables implements Iterable<ArcTable> {
|
|
106
106
|
"identifier@579": string;
|
|
107
107
|
investigation: Option<ArcInvestigation>;
|
|
@@ -112,11 +112,11 @@ export declare class ArcStudy extends ArcTables implements Iterable<ArcTable> {
|
|
|
112
112
|
"publications@588-1": Publication[];
|
|
113
113
|
"contacts@589-1": Person[];
|
|
114
114
|
"studyDesignDescriptors@590-1": OntologyAnnotation[];
|
|
115
|
-
"datamap@591": Option<
|
|
115
|
+
"datamap@591": Option<Datamap>;
|
|
116
116
|
"registeredAssayIdentifiers@592-1": string[];
|
|
117
117
|
"comments@593-1": Comment$[];
|
|
118
118
|
staticHash: int32;
|
|
119
|
-
constructor(identifier: string, title?: string, description?: string, submissionDate?: string, publicReleaseDate?: string, publications?: Publication[], contacts?: Person[], studyDesignDescriptors?: OntologyAnnotation[], tables?: ArcTable[], datamap?:
|
|
119
|
+
constructor(identifier: string, title?: string, description?: string, submissionDate?: string, publicReleaseDate?: string, publications?: Publication[], contacts?: Person[], studyDesignDescriptors?: OntologyAnnotation[], tables?: ArcTable[], datamap?: Datamap, registeredAssayIdentifiers?: string[], comments?: Comment$[]);
|
|
120
120
|
get Identifier(): string;
|
|
121
121
|
set Identifier(i: string);
|
|
122
122
|
get Investigation(): ArcInvestigation | undefined;
|
|
@@ -135,8 +135,8 @@ export declare class ArcStudy extends ArcTables implements Iterable<ArcTable> {
|
|
|
135
135
|
set Contacts(n: Person[]);
|
|
136
136
|
get StudyDesignDescriptors(): OntologyAnnotation[];
|
|
137
137
|
set StudyDesignDescriptors(n: OntologyAnnotation[]);
|
|
138
|
-
get
|
|
139
|
-
set
|
|
138
|
+
get Datamap(): Datamap | undefined;
|
|
139
|
+
set Datamap(n: Option<Datamap>);
|
|
140
140
|
get RegisteredAssayIdentifiers(): string[];
|
|
141
141
|
set RegisteredAssayIdentifiers(n: string[]);
|
|
142
142
|
get Comments(): Comment$[];
|
|
@@ -144,8 +144,8 @@ export declare class ArcStudy extends ArcTables implements Iterable<ArcTable> {
|
|
|
144
144
|
get StaticHash(): int32;
|
|
145
145
|
set StaticHash(h: int32);
|
|
146
146
|
static init(identifier: string): ArcStudy;
|
|
147
|
-
static create(identifier: string, title?: string, description?: string, submissionDate?: string, publicReleaseDate?: string, publications?: Publication[], contacts?: Person[], studyDesignDescriptors?: OntologyAnnotation[], tables?: ArcTable[], datamap?:
|
|
148
|
-
static make(identifier: string, title: Option<string>, description: Option<string>, submissionDate: Option<string>, publicReleaseDate: Option<string>, publications: Publication[], contacts: Person[], studyDesignDescriptors: OntologyAnnotation[], tables: ArcTable[], datamap: Option<
|
|
147
|
+
static create(identifier: string, title?: string, description?: string, submissionDate?: string, publicReleaseDate?: string, publications?: Publication[], contacts?: Person[], studyDesignDescriptors?: OntologyAnnotation[], tables?: ArcTable[], datamap?: Datamap, registeredAssayIdentifiers?: string[], comments?: Comment$[]): ArcStudy;
|
|
148
|
+
static make(identifier: string, title: Option<string>, description: Option<string>, submissionDate: Option<string>, publicReleaseDate: Option<string>, publications: Publication[], contacts: Person[], studyDesignDescriptors: OntologyAnnotation[], tables: ArcTable[], datamap: Option<Datamap>, registeredAssayIdentifiers: string[], comments: Comment$[]): ArcStudy;
|
|
149
149
|
get isEmpty(): boolean;
|
|
150
150
|
static get FileName(): string;
|
|
151
151
|
get RegisteredAssayIdentifierCount(): int32;
|
|
@@ -209,7 +209,7 @@ export declare class ArcStudy extends ArcTables implements Iterable<ArcTable> {
|
|
|
209
209
|
GetLightHashCode(): int32;
|
|
210
210
|
}
|
|
211
211
|
export declare function ArcStudy_$reflection(): TypeInfo;
|
|
212
|
-
export declare function ArcStudy_$
|
|
212
|
+
export declare function ArcStudy_$ctor_Z273F64C5(identifier: string, title?: string, description?: string, submissionDate?: string, publicReleaseDate?: string, publications?: Publication[], contacts?: Person[], studyDesignDescriptors?: OntologyAnnotation[], tables?: ArcTable[], datamap?: Datamap, registeredAssayIdentifiers?: string[], comments?: Comment$[]): ArcStudy;
|
|
213
213
|
export declare class ArcWorkflow {
|
|
214
214
|
"identifier@1151": string;
|
|
215
215
|
investigation: Option<ArcInvestigation>;
|
|
@@ -221,12 +221,12 @@ export declare class ArcWorkflow {
|
|
|
221
221
|
"version@1161": Option<string>;
|
|
222
222
|
"parameters@1162": OntologyAnnotation[];
|
|
223
223
|
"components@1163": Component[];
|
|
224
|
-
|
|
224
|
+
"datamap@1164": Option<Datamap>;
|
|
225
225
|
"contacts@1165": Person[];
|
|
226
226
|
"cwlDescription@1166": Option<CWLProcessingUnit_$union>;
|
|
227
227
|
"comments@1167": Comment$[];
|
|
228
228
|
staticHash: int32;
|
|
229
|
-
constructor(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: OntologyAnnotation[], components?: Component[], datamap?:
|
|
229
|
+
constructor(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: OntologyAnnotation[], components?: Component[], datamap?: Datamap, contacts?: Person[], cwlDescription?: CWLProcessingUnit_$union, comments?: Comment$[]);
|
|
230
230
|
get Identifier(): string;
|
|
231
231
|
set Identifier(i: string);
|
|
232
232
|
get Investigation(): ArcInvestigation | undefined;
|
|
@@ -247,8 +247,8 @@ export declare class ArcWorkflow {
|
|
|
247
247
|
set Parameters(p: OntologyAnnotation[]);
|
|
248
248
|
get Components(): Component[];
|
|
249
249
|
set Components(c: Component[]);
|
|
250
|
-
get
|
|
251
|
-
set
|
|
250
|
+
get Datamap(): Datamap | undefined;
|
|
251
|
+
set Datamap(dm: Option<Datamap>);
|
|
252
252
|
get Contacts(): Person[];
|
|
253
253
|
set Contacts(c: Person[]);
|
|
254
254
|
get CWLDescription(): CWLProcessingUnit_$union | undefined;
|
|
@@ -258,8 +258,8 @@ export declare class ArcWorkflow {
|
|
|
258
258
|
get StaticHash(): int32;
|
|
259
259
|
set StaticHash(s: int32);
|
|
260
260
|
static init(identifier: string): ArcWorkflow;
|
|
261
|
-
static create(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: OntologyAnnotation[], components?: Component[], datamap?:
|
|
262
|
-
static make(identifier: string, title: Option<string>, description: Option<string>, workflowType: Option<OntologyAnnotation>, uri: Option<string>, version: Option<string>, subWorkflowIdentifiers: string[], parameters: OntologyAnnotation[], components: Component[], datamap: Option<
|
|
261
|
+
static create(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: OntologyAnnotation[], components?: Component[], datamap?: Datamap, contacts?: Person[], cwlDescription?: CWLProcessingUnit_$union, comments?: Comment$[]): ArcWorkflow;
|
|
262
|
+
static make(identifier: string, title: Option<string>, description: Option<string>, workflowType: Option<OntologyAnnotation>, uri: Option<string>, version: Option<string>, subWorkflowIdentifiers: string[], parameters: OntologyAnnotation[], components: Component[], datamap: Option<Datamap>, contacts: Person[], cwlDescription: Option<CWLProcessingUnit_$union>, comments: Comment$[]): ArcWorkflow;
|
|
263
263
|
static get FileName(): string;
|
|
264
264
|
get SubWorkflowIdentifiersCount(): int32;
|
|
265
265
|
get SubWorkflowCount(): int32;
|
|
@@ -287,7 +287,7 @@ export declare class ArcWorkflow {
|
|
|
287
287
|
GetLightHashCode(): int32;
|
|
288
288
|
}
|
|
289
289
|
export declare function ArcWorkflow_$reflection(): TypeInfo;
|
|
290
|
-
export declare function ArcWorkflow_$
|
|
290
|
+
export declare function ArcWorkflow_$ctor_Z5FF2D3D5(identifier: string, title?: string, description?: string, workflowType?: OntologyAnnotation, uri?: string, version?: string, subWorkflowIdentifiers?: string[], parameters?: OntologyAnnotation[], components?: Component[], datamap?: Datamap, contacts?: Person[], cwlDescription?: CWLProcessingUnit_$union, comments?: Comment$[]): ArcWorkflow;
|
|
291
291
|
export declare class ArcRun extends ArcTables implements Iterable<ArcTable> {
|
|
292
292
|
"identifier@1453": string;
|
|
293
293
|
"title@1457": Option<string>;
|
|
@@ -297,13 +297,13 @@ export declare class ArcRun extends ArcTables implements Iterable<ArcTable> {
|
|
|
297
297
|
"technologyType@1461": Option<OntologyAnnotation>;
|
|
298
298
|
"technologyPlatform@1462": Option<OntologyAnnotation>;
|
|
299
299
|
"workflowIdentifiers@1463-1": string[];
|
|
300
|
-
|
|
300
|
+
"datamap@1464": Option<Datamap>;
|
|
301
301
|
"performers@1465-1": Person[];
|
|
302
302
|
"cwlDescription@1466": Option<CWLProcessingUnit_$union>;
|
|
303
303
|
"cwlInput@1467-1": CWLParameterReference[];
|
|
304
304
|
"comments@1468-1": Comment$[];
|
|
305
305
|
staticHash: int32;
|
|
306
|
-
constructor(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, workflowIdentifiers?: string[], tables?: ArcTable[], datamap?:
|
|
306
|
+
constructor(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, workflowIdentifiers?: string[], tables?: ArcTable[], datamap?: Datamap, performers?: Person[], cwlDescription?: CWLProcessingUnit_$union, cwlInput?: CWLParameterReference[], comments?: Comment$[]);
|
|
307
307
|
get Identifier(): string;
|
|
308
308
|
set Identifier(i: string);
|
|
309
309
|
get Investigation(): ArcInvestigation | undefined;
|
|
@@ -320,8 +320,8 @@ export declare class ArcRun extends ArcTables implements Iterable<ArcTable> {
|
|
|
320
320
|
set TechnologyPlatform(n: Option<OntologyAnnotation>);
|
|
321
321
|
get WorkflowIdentifiers(): string[];
|
|
322
322
|
set WorkflowIdentifiers(w: string[]);
|
|
323
|
-
get
|
|
324
|
-
set
|
|
323
|
+
get Datamap(): Datamap | undefined;
|
|
324
|
+
set Datamap(n: Option<Datamap>);
|
|
325
325
|
get Performers(): Person[];
|
|
326
326
|
set Performers(n: Person[]);
|
|
327
327
|
get CWLDescription(): CWLProcessingUnit_$union | undefined;
|
|
@@ -333,8 +333,8 @@ export declare class ArcRun extends ArcTables implements Iterable<ArcTable> {
|
|
|
333
333
|
get StaticHash(): int32;
|
|
334
334
|
set StaticHash(h: int32);
|
|
335
335
|
static init(identifier: string): ArcRun;
|
|
336
|
-
static create(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, workflowIdentifiers?: string[], tables?: ArcTable[], datamap?:
|
|
337
|
-
static make(identifier: string, title: Option<string>, description: Option<string>, measurementType: Option<OntologyAnnotation>, technologyType: Option<OntologyAnnotation>, technologyPlatform: Option<OntologyAnnotation>, workflowIdentifiers: string[], tables: ArcTable[], datamap: Option<
|
|
336
|
+
static create(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, workflowIdentifiers?: string[], tables?: ArcTable[], datamap?: Datamap, performers?: Person[], cwlDescription?: CWLProcessingUnit_$union, cwlInput?: CWLParameterReference[], comments?: Comment$[]): ArcRun;
|
|
337
|
+
static make(identifier: string, title: Option<string>, description: Option<string>, measurementType: Option<OntologyAnnotation>, technologyType: Option<OntologyAnnotation>, technologyPlatform: Option<OntologyAnnotation>, workflowIdentifiers: string[], tables: ArcTable[], datamap: Option<Datamap>, performers: Person[], cwlDescription: Option<CWLProcessingUnit_$union>, cwlInput: CWLParameterReference[], comments: Comment$[]): ArcRun;
|
|
338
338
|
static get FileName(): string;
|
|
339
339
|
get WorkflowIdentifierCount(): int32;
|
|
340
340
|
get WorkflowCount(): int32;
|
|
@@ -385,7 +385,7 @@ export declare class ArcRun extends ArcTables implements Iterable<ArcTable> {
|
|
|
385
385
|
GetHashCode(): int32;
|
|
386
386
|
}
|
|
387
387
|
export declare function ArcRun_$reflection(): TypeInfo;
|
|
388
|
-
export declare function ArcRun_$
|
|
388
|
+
export declare function ArcRun_$ctor_287C1303(identifier: string, title?: string, description?: string, measurementType?: OntologyAnnotation, technologyType?: OntologyAnnotation, technologyPlatform?: OntologyAnnotation, workflowIdentifiers?: string[], tables?: ArcTable[], datamap?: Datamap, performers?: Person[], cwlDescription?: CWLProcessingUnit_$union, cwlInput?: CWLParameterReference[], comments?: Comment$[]): ArcRun;
|
|
389
389
|
export declare class ArcInvestigation {
|
|
390
390
|
"identifier@1951": string;
|
|
391
391
|
"title@1952": Option<string>;
|