@nfdi4plants/arctrl 1.0.0-beta.9 → 1.0.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/ISA/ISA/ArcTypes/ArcTable.js +1 -4
- package/ISA/ISA/ArcTypes/ArcTableAux.js +1 -3
- package/ISA/ISA.Json/ArcTypes/ArcAssay.js +197 -0
- package/ISA/ISA.Json/ArcTypes/ArcInvestigation.js +79 -0
- package/ISA/ISA.Json/ArcTypes/ArcStudy.js +77 -0
- package/ISA/ISA.Json/ArcTypes/ArcTable.js +57 -0
- package/ISA/ISA.Json/ArcTypes/CompositeCell.js +51 -0
- package/ISA/ISA.Json/ArcTypes/CompositeHeader.js +82 -0
- package/ISA/ISA.Json/ArcTypes/IOType.js +35 -0
- package/ISA/ISA.Json/Assay.js +0 -18
- package/ISA/ISA.Json/Investigation.js +17 -35
- package/ISA/ISA.Json/Study.js +0 -18
- package/ISA/ISA.Spreadsheet/ArcAssay.js +3 -3
- package/ISA/ISA.Spreadsheet/ArcStudy.js +3 -5
- package/Templates/Template.Json.js +12 -17
- package/fable_modules/project_cracked.json +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { sortBy, indexed, mapIndexed, singleton as singleton_1, initialize, sort
|
|
|
9
9
|
import { append, collect as collect_1, initialize as initialize_1, singleton as singleton_2, empty as empty_1, iterate, isEmpty } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
10
10
|
import { StringBuilder__AppendLine_Z721C83C5, StringBuilder_$ctor } from "../../../fable_modules/fable-library.4.5.0/System.Text.js";
|
|
11
11
|
import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
|
|
12
|
-
import { join,
|
|
12
|
+
import { join, printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
13
13
|
import { CompositeCell } from "./CompositeCell.js";
|
|
14
14
|
import { CompositeHeader } from "./CompositeHeader.js";
|
|
15
15
|
import { createMissingIdentifier } from "../Identifier.js";
|
|
@@ -739,18 +739,15 @@ export class ArcTable {
|
|
|
739
739
|
GetProcesses() {
|
|
740
740
|
const this$ = this;
|
|
741
741
|
if (this$.RowCount === 0) {
|
|
742
|
-
toConsole(printf("GetProcesses xddd"));
|
|
743
742
|
return singleton_2(Process_create_Z42860F3E(void 0, this$.Name));
|
|
744
743
|
}
|
|
745
744
|
else {
|
|
746
|
-
toConsole(printf("GetProcesses rofl"));
|
|
747
745
|
let getter;
|
|
748
746
|
const clo = ProcessParsing_getProcessGetter(this$.Name, this$.Headers);
|
|
749
747
|
getter = ((arg) => {
|
|
750
748
|
const clo_1 = clo(arg);
|
|
751
749
|
return clo_1;
|
|
752
750
|
});
|
|
753
|
-
toConsole(printf("GetProcesses roflcopter"));
|
|
754
751
|
return ProcessParsing_mergeIdenticalProcesses(toList(delay(() => map((i) => getter(this$.Values)(i), rangeDouble(0, 1, this$.RowCount - 1)))));
|
|
755
752
|
}
|
|
756
753
|
}
|
|
@@ -17,7 +17,7 @@ import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
|
|
|
17
17
|
import { MaterialAttributeValue_create_7F714043 } from "../JsonTypes/MaterialAttributeValue.js";
|
|
18
18
|
import { MaterialAttribute_create_Z6C54B221 } from "../JsonTypes/MaterialAttribute.js";
|
|
19
19
|
import { ProcessInput_getCharacteristicValues_102B6859, ProcessInput__isMaterial, ProcessInput__isData, ProcessInput_setCharacteristicValues, ProcessInput__get_Name, ProcessInput__isSource, ProcessInput__isSample, ProcessInput, ProcessInput_createDerivedData_Z721C83C5, ProcessInput_createRawData_Z721C83C5, ProcessInput_createImageFile_Z721C83C5, ProcessInput_createMaterial_2363974C, ProcessInput_createSample_Z6DF16D07, ProcessInput_createSource_7888CE42 } from "../JsonTypes/ProcessInput.js";
|
|
20
|
-
import {
|
|
20
|
+
import { remove, printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
21
21
|
import { ProcessOutput_getFactorValues_11830B70, ProcessOutput__isMaterial, ProcessOutput__isData, ProcessOutput_setFactorValues, ProcessOutput__get_Name, ProcessOutput__isSample, ProcessOutput, ProcessOutput_createDerivedData_Z721C83C5, ProcessOutput_createRawData_Z721C83C5, ProcessOutput_createImageFile_Z721C83C5, ProcessOutput_createMaterial_2363974C, ProcessOutput_createSample_Z6DF16D07 } from "../JsonTypes/ProcessOutput.js";
|
|
22
22
|
import { IOType, CompositeHeader } from "./CompositeHeader.js";
|
|
23
23
|
import { tryGetFactorColumnIndex, tryGetCharacteristicColumnIndex, tryGetComponentIndex, tryGetParameterColumnIndex, ARCtrl_ISA_OntologyAnnotation__OntologyAnnotation_SetColumnIndex_Z524259A4 } from "../JsonTypes/ColumnIndex.js";
|
|
@@ -940,7 +940,6 @@ export function ProcessParsing_groupProcesses(ps) {
|
|
|
940
940
|
* Merges processes with the same name, protocol and param values
|
|
941
941
|
*/
|
|
942
942
|
export function ProcessParsing_mergeIdenticalProcesses(processes) {
|
|
943
|
-
toConsole(printf("Merging identical processes aaaaaa"));
|
|
944
943
|
const l = List_groupBy((x) => {
|
|
945
944
|
if ((x.Name != null) && (Process_decomposeName_Z721C83C5(value_9(x.Name))[1] != null)) {
|
|
946
945
|
return [Process_decomposeName_Z721C83C5(value_9(x.Name))[0], x.ExecutesProtocol, map_1(HashCodes_boxHashSeq, x.ParameterValues)];
|
|
@@ -955,7 +954,6 @@ export function ProcessParsing_mergeIdenticalProcesses(processes) {
|
|
|
955
954
|
Equals: equalArrays,
|
|
956
955
|
GetHashCode: arrayHash,
|
|
957
956
|
});
|
|
958
|
-
toConsole(printf("Merging identical processes adwwdadawwda"));
|
|
959
957
|
return mapIndexed((i, tupledArg) => {
|
|
960
958
|
const _arg = tupledArg[0];
|
|
961
959
|
const processes_1 = tupledArg[1];
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { OntologySourceReference_encoder, OntologyAnnotation_encoder, OntologySourceReference_decoder, OntologyAnnotation_decoder } from "../Ontology.js";
|
|
2
|
+
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
3
|
+
import { fromString, object as object_1, string, list as list_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
4
|
+
import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
5
|
+
import { ArcTable_encoder, ArcTable_decoder } from "./ArcTable.js";
|
|
6
|
+
import { encoder, decoder as decoder_1 } from "../Person.js";
|
|
7
|
+
import { encoder as encoder_1, decoder as decoder_2 } from "../Comment.js";
|
|
8
|
+
import { Factor_encoder, Factor_decoder } from "../Factor.js";
|
|
9
|
+
import { encoder as encoder_2, decoder as decoder_3 } from "../Publication.js";
|
|
10
|
+
import { value as value_3, map, defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
11
|
+
import { toArray } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
12
|
+
import { toString, object, seq } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
13
|
+
import { empty, singleton, append, delay, toList, map as map_1 } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
14
|
+
import { ArcAssay } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
15
|
+
import { Assay_decoder, Assay_encoder } from "../Assay.js";
|
|
16
|
+
import { fromJsonString } from "../Decode.js";
|
|
17
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
18
|
+
|
|
19
|
+
export const JsonHelper_DecodeOa = OntologyAnnotation_decoder(ConverterOptions_$ctor());
|
|
20
|
+
|
|
21
|
+
export const JsonHelper_DecodeTables = (path) => ((value) => list_1(uncurry2(ArcTable_decoder), path, value));
|
|
22
|
+
|
|
23
|
+
export const JsonHelper_DecodePersons = (() => {
|
|
24
|
+
const decoder = decoder_1(ConverterOptions_$ctor());
|
|
25
|
+
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
26
|
+
})();
|
|
27
|
+
|
|
28
|
+
export const JsonHelper_DecodeComments = (() => {
|
|
29
|
+
const decoder = decoder_2(ConverterOptions_$ctor());
|
|
30
|
+
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
31
|
+
})();
|
|
32
|
+
|
|
33
|
+
export const JsonHelper_DecodeFactors = (() => {
|
|
34
|
+
const decoder = Factor_decoder(ConverterOptions_$ctor());
|
|
35
|
+
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
36
|
+
})();
|
|
37
|
+
|
|
38
|
+
export const JsonHelper_DecodePublications = (() => {
|
|
39
|
+
const decoder = decoder_3(ConverterOptions_$ctor());
|
|
40
|
+
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
41
|
+
})();
|
|
42
|
+
|
|
43
|
+
export const JsonHelper_DecodeOntologySourceReferences = (() => {
|
|
44
|
+
const decoder = OntologySourceReference_decoder(ConverterOptions_$ctor());
|
|
45
|
+
return (path) => ((value) => list_1(uncurry2(decoder), path, value));
|
|
46
|
+
})();
|
|
47
|
+
|
|
48
|
+
export function JsonHelper_tryGetTables(get$, fieldName) {
|
|
49
|
+
let objectArg;
|
|
50
|
+
return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeTables)))), []);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function JsonHelper_tryGetPersons(get$, fieldName) {
|
|
54
|
+
let objectArg;
|
|
55
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodePersons)))), new Array(0));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function JsonHelper_tryGetComments(get$, fieldName) {
|
|
59
|
+
let objectArg;
|
|
60
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeComments)))), new Array(0));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function JsonHelper_tryGetPublications(get$, fieldName) {
|
|
64
|
+
let objectArg;
|
|
65
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodePublications)))), new Array(0));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function JsonHelper_tryGetOAs(get$, fieldName) {
|
|
69
|
+
let objectArg;
|
|
70
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, (path, value) => list_1(uncurry2(JsonHelper_DecodeOa), path, value)))), new Array(0));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function JsonHelper_tryGetFactors(get$, fieldName) {
|
|
74
|
+
let objectArg;
|
|
75
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeFactors)))), new Array(0));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function JsonHelper_tryGetStringResizeArray(get$, fieldName) {
|
|
79
|
+
let objectArg;
|
|
80
|
+
return defaultArg(map((collection) => Array.from(collection), (objectArg = get$.Optional, objectArg.Field(fieldName, (path_1, value_1) => list_1(string, path_1, value_1)))), []);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function JsonHelper_tryGetOntologySourceReferences(get$, fieldName) {
|
|
84
|
+
let objectArg;
|
|
85
|
+
return defaultArg(map(toArray, (objectArg = get$.Optional, objectArg.Field(fieldName, uncurry2(JsonHelper_DecodeOntologySourceReferences)))), new Array(0));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function JsonHelper_EncoderOA(t) {
|
|
89
|
+
return OntologyAnnotation_encoder(ConverterOptions_$ctor(), t);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function JsonHelper_EncoderOAs(t) {
|
|
93
|
+
return seq(map_1(JsonHelper_EncoderOA, t));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function JsonHelper_EncoderTables(t) {
|
|
97
|
+
return seq(map_1(ArcTable_encoder, t));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function JsonHelper_EncoderPerson(t) {
|
|
101
|
+
return encoder(ConverterOptions_$ctor(), t);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function JsonHelper_EncoderPersons(t) {
|
|
105
|
+
return seq(map_1(JsonHelper_EncoderPerson, t));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function JsonHelper_EncoderComment(t) {
|
|
109
|
+
return encoder_1(ConverterOptions_$ctor(), t);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function JsonHelper_EncoderComments(t) {
|
|
113
|
+
return seq(map_1(JsonHelper_EncoderComment, t));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function JsonHelper_EncoderPublication(t) {
|
|
117
|
+
return encoder_2(ConverterOptions_$ctor(), t);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function JsonHelper_EncoderPublications(t) {
|
|
121
|
+
return seq(map_1(JsonHelper_EncoderPublication, t));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function JsonHelper_EncoderFactor(t) {
|
|
125
|
+
return Factor_encoder(ConverterOptions_$ctor(), t);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function JsonHelper_EncoderFactors(t) {
|
|
129
|
+
return seq(map_1(JsonHelper_EncoderFactor, t));
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function JsonHelper_EncoderOntologySourceReference(t) {
|
|
133
|
+
return OntologySourceReference_encoder(ConverterOptions_$ctor(), t);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function JsonHelper_EncoderOntologySourceReferences(t) {
|
|
137
|
+
return seq(map_1(JsonHelper_EncoderOntologySourceReference, t));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function ArcAssay_encoder(assay) {
|
|
141
|
+
return object(toList(delay(() => append(singleton(["Identifier", assay.Identifier]), delay(() => append((assay.MeasurementType != null) ? singleton(["MeasurementType", JsonHelper_EncoderOA(value_3(assay.MeasurementType))]) : empty(), delay(() => append((assay.TechnologyType != null) ? singleton(["TechnologyType", JsonHelper_EncoderOA(value_3(assay.TechnologyType))]) : empty(), delay(() => append((assay.TechnologyPlatform != null) ? singleton(["TechnologyPlatform", JsonHelper_EncoderOA(value_3(assay.TechnologyPlatform))]) : empty(), delay(() => append((assay.Tables.length !== 0) ? singleton(["Tables", JsonHelper_EncoderTables(assay.Tables)]) : empty(), delay(() => append((assay.Performers.length !== 0) ? singleton(["Performers", JsonHelper_EncoderPersons(assay.Performers)]) : empty(), delay(() => ((assay.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(assay.Comments)]) : empty()))))))))))))))));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export const ArcAssay_decoder = (path_1) => ((v) => object_1((get$) => {
|
|
145
|
+
let identifier;
|
|
146
|
+
const objectArg = get$.Required;
|
|
147
|
+
identifier = objectArg.Field("Identifier", string);
|
|
148
|
+
let measurementType;
|
|
149
|
+
const objectArg_1 = get$.Optional;
|
|
150
|
+
measurementType = objectArg_1.Field("MeasurementType", uncurry2(JsonHelper_DecodeOa));
|
|
151
|
+
let technologyType;
|
|
152
|
+
const objectArg_2 = get$.Optional;
|
|
153
|
+
technologyType = objectArg_2.Field("TechnologyType", uncurry2(JsonHelper_DecodeOa));
|
|
154
|
+
let technologyPlatform;
|
|
155
|
+
const objectArg_3 = get$.Optional;
|
|
156
|
+
technologyPlatform = objectArg_3.Field("TechnologyPlatform", uncurry2(JsonHelper_DecodeOa));
|
|
157
|
+
const tables = JsonHelper_tryGetTables(get$, "Tables");
|
|
158
|
+
const performers = JsonHelper_tryGetPersons(get$, "Performers");
|
|
159
|
+
const comments = JsonHelper_tryGetComments(get$, "Comments");
|
|
160
|
+
return ArcAssay.make(identifier, measurementType, technologyType, technologyPlatform, tables, performers, comments);
|
|
161
|
+
}, path_1, v));
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* exports in json-ld format
|
|
165
|
+
*/
|
|
166
|
+
export function ArcAssay_toStringLD(a) {
|
|
167
|
+
let returnVal;
|
|
168
|
+
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToAssay()));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function ArcAssay_fromJsonString(s) {
|
|
172
|
+
const a = fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
|
|
173
|
+
return ArcAssay.fromAssay(a);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export function ArcAssay_toJsonString(a) {
|
|
177
|
+
return toString(2, Assay_encoder(ConverterOptions_$ctor(), a.ToAssay()));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export function ARCtrl_ISA_ArcAssay__ArcAssay_fromArcJsonString_Static_Z721C83C5(jsonString) {
|
|
181
|
+
const matchValue = fromString(uncurry2(ArcAssay_decoder), jsonString);
|
|
182
|
+
if (matchValue.tag === 1) {
|
|
183
|
+
return toFail(printf("Error. Unable to parse json string to ArcAssay: %s"))(matchValue.fields[0]);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
return matchValue.fields[0];
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export function ARCtrl_ISA_ArcAssay__ArcAssay_ToArcJsonString_71136F3F(this$, spaces) {
|
|
191
|
+
return toString(defaultArg(spaces, 0), ArcAssay_encoder(this$));
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function ARCtrl_ISA_ArcAssay__ArcAssay_toArcJsonString_Static_1C75D08D(a) {
|
|
195
|
+
return ARCtrl_ISA_ArcAssay__ArcAssay_ToArcJsonString_71136F3F(a);
|
|
196
|
+
}
|
|
197
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { toString, seq, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
2
|
+
import { map, empty, singleton, append, delay, toList } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
3
|
+
import { map as map_1, defaultArg, value as value_9 } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
4
|
+
import { JsonHelper_tryGetComments, JsonHelper_tryGetStringResizeArray, ArcAssay_decoder, JsonHelper_tryGetPersons, JsonHelper_tryGetPublications, JsonHelper_tryGetOntologySourceReferences, JsonHelper_EncoderComments, ArcAssay_encoder, JsonHelper_EncoderPersons, JsonHelper_EncoderPublications, JsonHelper_EncoderOntologySourceReferences } from "./ArcAssay.js";
|
|
5
|
+
import { ArcStudy_decoder, ArcStudy_encoder } from "./ArcStudy.js";
|
|
6
|
+
import { fromString, list, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
7
|
+
import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
8
|
+
import { ArcInvestigation } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
9
|
+
import { decoder as decoder_2, encoder } from "../Investigation.js";
|
|
10
|
+
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
11
|
+
import { fromJsonString } from "../Decode.js";
|
|
12
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
13
|
+
|
|
14
|
+
export function ArcInvestigation_encoder(inv) {
|
|
15
|
+
return object(toList(delay(() => append(singleton(["Identifier", inv.Identifier]), delay(() => append((inv.Title != null) ? singleton(["Title", value_9(inv.Title)]) : empty(), delay(() => append((inv.Description != null) ? singleton(["Description", value_9(inv.Description)]) : empty(), delay(() => append((inv.SubmissionDate != null) ? singleton(["SubmissionDate", value_9(inv.SubmissionDate)]) : empty(), delay(() => append((inv.PublicReleaseDate != null) ? singleton(["PublicReleaseDate", value_9(inv.PublicReleaseDate)]) : empty(), delay(() => append((inv.OntologySourceReferences.length !== 0) ? singleton(["OntologySourceReferences", JsonHelper_EncoderOntologySourceReferences(inv.OntologySourceReferences)]) : empty(), delay(() => append((inv.Publications.length !== 0) ? singleton(["Publications", JsonHelper_EncoderPublications(inv.Publications)]) : empty(), delay(() => append((inv.Contacts.length !== 0) ? singleton(["Contacts", JsonHelper_EncoderPersons(inv.Contacts)]) : empty(), delay(() => append((inv.Assays.length !== 0) ? singleton(["Assays", seq(map(ArcAssay_encoder, inv.Assays))]) : empty(), delay(() => append((inv.Studies.length !== 0) ? singleton(["Studies", seq(map(ArcStudy_encoder, inv.Studies))]) : empty(), delay(() => append((inv.RegisteredStudyIdentifiers.length !== 0) ? singleton(["RegisteredStudyIdentifiers", seq(map((value_5) => value_5, inv.RegisteredStudyIdentifiers))]) : empty(), delay(() => ((inv.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(inv.Comments)]) : empty()))))))))))))))))))))))))));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const ArcInvestigation_decoder = (path_7) => ((v) => object_1((get$_2) => {
|
|
19
|
+
let objectArg, objectArg_1;
|
|
20
|
+
let identifier;
|
|
21
|
+
const objectArg_2 = get$_2.Required;
|
|
22
|
+
identifier = objectArg_2.Field("Identifier", string);
|
|
23
|
+
let title;
|
|
24
|
+
const objectArg_3 = get$_2.Optional;
|
|
25
|
+
title = objectArg_3.Field("Title", string);
|
|
26
|
+
let description;
|
|
27
|
+
const objectArg_4 = get$_2.Optional;
|
|
28
|
+
description = objectArg_4.Field("Description", string);
|
|
29
|
+
let submissionDate;
|
|
30
|
+
const objectArg_5 = get$_2.Optional;
|
|
31
|
+
submissionDate = objectArg_5.Field("SubmissionDate", string);
|
|
32
|
+
let publicReleaseDate;
|
|
33
|
+
const objectArg_6 = get$_2.Optional;
|
|
34
|
+
publicReleaseDate = objectArg_6.Field("PublicReleaseDate", string);
|
|
35
|
+
const ontologySourceReferences = JsonHelper_tryGetOntologySourceReferences(get$_2, "OntologySourceReferences");
|
|
36
|
+
const publications = JsonHelper_tryGetPublications(get$_2, "Publications");
|
|
37
|
+
const contacts = JsonHelper_tryGetPersons(get$_2, "Contacts");
|
|
38
|
+
const assays = defaultArg(map_1((collection) => Array.from(collection), (objectArg = get$_2.Optional, objectArg.Field("Assays", (path, value) => list(uncurry2(ArcAssay_decoder), path, value)))), []);
|
|
39
|
+
const studies = defaultArg(map_1((collection_1) => Array.from(collection_1), (objectArg_1 = get$_2.Optional, objectArg_1.Field("Studies", (path_1, value_1) => list(uncurry2(ArcStudy_decoder), path_1, value_1)))), []);
|
|
40
|
+
const registeredStudyIdentifiers = JsonHelper_tryGetStringResizeArray(get$_2, "RegisteredStudyIdentifiers");
|
|
41
|
+
const comments = JsonHelper_tryGetComments(get$_2, "Comments");
|
|
42
|
+
return ArcInvestigation.make(identifier, title, description, submissionDate, publicReleaseDate, ontologySourceReferences, publications, contacts, assays, studies, registeredStudyIdentifiers, comments, []);
|
|
43
|
+
}, path_7, v));
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* exports in json-ld format
|
|
47
|
+
*/
|
|
48
|
+
export function ArcInvestigation_toStringLD(a) {
|
|
49
|
+
let returnVal;
|
|
50
|
+
return toString(2, encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToInvestigation()));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ArcInvestigation_fromJsonString(s) {
|
|
54
|
+
const i = fromJsonString(uncurry2(decoder_2(ConverterOptions_$ctor())), s);
|
|
55
|
+
return ArcInvestigation.fromInvestigation(i);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ArcInvestigation_toJsonString(a) {
|
|
59
|
+
return toString(2, encoder(ConverterOptions_$ctor(), a.ToInvestigation()));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ARCtrl_ISA_ArcInvestigation__ArcInvestigation_fromArcJsonString_Static_Z721C83C5(jsonString) {
|
|
63
|
+
const matchValue = fromString(uncurry2(ArcInvestigation_decoder), jsonString);
|
|
64
|
+
if (matchValue.tag === 1) {
|
|
65
|
+
return toFail(printf("Error. Unable to parse json string to ArcInvestigation: %s"))(matchValue.fields[0]);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return matchValue.fields[0];
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ARCtrl_ISA_ArcInvestigation__ArcInvestigation_ToArcJsonString_71136F3F(this$, spaces) {
|
|
73
|
+
return toString(defaultArg(spaces, 0), ArcInvestigation_encoder(this$));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ARCtrl_ISA_ArcInvestigation__ArcInvestigation_toArcJsonString_Static_Z4D87C88C(a) {
|
|
77
|
+
return ARCtrl_ISA_ArcInvestigation__ArcInvestigation_ToArcJsonString_71136F3F(a);
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { toString, seq, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
2
|
+
import { map, empty, singleton, append, delay, toList } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
3
|
+
import { defaultArg, value as value_7 } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
4
|
+
import { JsonHelper_tryGetComments, JsonHelper_tryGetFactors, JsonHelper_tryGetStringResizeArray, JsonHelper_tryGetTables, JsonHelper_tryGetOAs, JsonHelper_tryGetPersons, JsonHelper_tryGetPublications, JsonHelper_EncoderComments, JsonHelper_EncoderFactors, JsonHelper_EncoderTables, JsonHelper_EncoderOAs, JsonHelper_EncoderPersons, JsonHelper_EncoderPublications } from "./ArcAssay.js";
|
|
5
|
+
import { fromString, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
6
|
+
import { ArcStudy } from "../../ISA/ArcTypes/ArcTypes.js";
|
|
7
|
+
import { Study_decoder, Study_encoder } from "../Study.js";
|
|
8
|
+
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
9
|
+
import { fromJsonString } from "../Decode.js";
|
|
10
|
+
import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
11
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
12
|
+
|
|
13
|
+
export function ArcStudy_encoder(study) {
|
|
14
|
+
return object(toList(delay(() => append(singleton(["Identifier", study.Identifier]), delay(() => append((study.Title != null) ? singleton(["Title", value_7(study.Title)]) : empty(), delay(() => append((study.Description != null) ? singleton(["Description", value_7(study.Description)]) : empty(), delay(() => append((study.SubmissionDate != null) ? singleton(["SubmissionDate", value_7(study.SubmissionDate)]) : empty(), delay(() => append((study.PublicReleaseDate != null) ? singleton(["PublicReleaseDate", value_7(study.PublicReleaseDate)]) : empty(), delay(() => append((study.Publications.length !== 0) ? singleton(["Publications", JsonHelper_EncoderPublications(study.Publications)]) : empty(), delay(() => append((study.Contacts.length !== 0) ? singleton(["Contacts", JsonHelper_EncoderPersons(study.Contacts)]) : empty(), delay(() => append((study.StudyDesignDescriptors.length !== 0) ? singleton(["StudyDesignDescriptors", JsonHelper_EncoderOAs(study.StudyDesignDescriptors)]) : empty(), delay(() => append((study.TableCount !== 0) ? singleton(["Tables", JsonHelper_EncoderTables(study.Tables)]) : empty(), delay(() => append((study.RegisteredAssayIdentifiers.length !== 0) ? singleton(["RegisteredAssayIdentifiers", seq(map((value_5) => value_5, study.RegisteredAssayIdentifiers))]) : empty(), delay(() => append((study.Factors.length !== 0) ? singleton(["Factors", JsonHelper_EncoderFactors(study.Factors)]) : empty(), delay(() => ((study.Comments.length !== 0) ? singleton(["Comments", JsonHelper_EncoderComments(study.Comments)]) : empty()))))))))))))))))))))))))));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const ArcStudy_decoder = (path_5) => ((v) => object_1((get$) => {
|
|
18
|
+
let identifier;
|
|
19
|
+
const objectArg = get$.Required;
|
|
20
|
+
identifier = objectArg.Field("Identifier", string);
|
|
21
|
+
let title;
|
|
22
|
+
const objectArg_1 = get$.Optional;
|
|
23
|
+
title = objectArg_1.Field("Title", string);
|
|
24
|
+
let description;
|
|
25
|
+
const objectArg_2 = get$.Optional;
|
|
26
|
+
description = objectArg_2.Field("Description", string);
|
|
27
|
+
let submissionDate;
|
|
28
|
+
const objectArg_3 = get$.Optional;
|
|
29
|
+
submissionDate = objectArg_3.Field("SubmissionDate", string);
|
|
30
|
+
let publicReleaseDate;
|
|
31
|
+
const objectArg_4 = get$.Optional;
|
|
32
|
+
publicReleaseDate = objectArg_4.Field("PublicReleaseDate", string);
|
|
33
|
+
const publications = JsonHelper_tryGetPublications(get$, "Publications");
|
|
34
|
+
const contacts = JsonHelper_tryGetPersons(get$, "Contacts");
|
|
35
|
+
const studyDesignDescriptors = JsonHelper_tryGetOAs(get$, "StudyDesignDescriptors");
|
|
36
|
+
const tables = JsonHelper_tryGetTables(get$, "Tables");
|
|
37
|
+
const registeredAssayIdentifiers = JsonHelper_tryGetStringResizeArray(get$, "RegisteredAssayIdentifiers");
|
|
38
|
+
const factors = JsonHelper_tryGetFactors(get$, "Factors");
|
|
39
|
+
const comments = JsonHelper_tryGetComments(get$, "Comments");
|
|
40
|
+
return ArcStudy.make(identifier, title, description, submissionDate, publicReleaseDate, publications, contacts, studyDesignDescriptors, tables, registeredAssayIdentifiers, factors, comments);
|
|
41
|
+
}, path_5, v));
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* exports in json-ld format
|
|
45
|
+
*/
|
|
46
|
+
export function ArcStudy_toStringLD(a, assays) {
|
|
47
|
+
let returnVal;
|
|
48
|
+
return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToStudy(assays)));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ArcStudy_fromJsonString(s) {
|
|
52
|
+
const s_1 = fromJsonString(uncurry2(Study_decoder(ConverterOptions_$ctor())), s);
|
|
53
|
+
return ArcStudy.fromStudy(s_1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ArcStudy_toJsonString(a, assays) {
|
|
57
|
+
return toString(2, Study_encoder(ConverterOptions_$ctor(), a.ToStudy(assays)));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ARCtrl_ISA_ArcStudy__ArcStudy_fromArcJsonString_Static_Z721C83C5(jsonString) {
|
|
61
|
+
const matchValue = fromString(uncurry2(ArcStudy_decoder), jsonString);
|
|
62
|
+
if (matchValue.tag === 1) {
|
|
63
|
+
return toFail(printf("Error. Unable to parse json string to ArcStudy: %s"))(matchValue.fields[0]);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
return matchValue.fields[0];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ARCtrl_ISA_ArcStudy__ArcStudy_ToArcJsonString_71136F3F(this$, spaces) {
|
|
71
|
+
return toString(defaultArg(spaces, 0), ArcStudy_encoder(this$));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ARCtrl_ISA_ArcStudy__ArcStudy_toArcJsonString_Static_1B3D5E9B(a) {
|
|
75
|
+
return ARCtrl_ISA_ArcStudy__ArcStudy_ToArcJsonString_71136F3F(a);
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { toString, tuple2, map as map_1, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
2
|
+
import { collect, empty, map, singleton, append, delay, toList } from "../../../fable_modules/fable-library.4.5.0/Seq.js";
|
|
3
|
+
import { CompositeHeader_decoder, CompositeHeader_encoder } from "./CompositeHeader.js";
|
|
4
|
+
import { CompositeCell_decoder, CompositeCell_encoder } from "./CompositeCell.js";
|
|
5
|
+
import { empty as empty_2, ofSeq } from "../../../fable_modules/fable-library.4.5.0/Map.js";
|
|
6
|
+
import { arrayHash, equalArrays, uncurry2, compareArrays } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
7
|
+
import { fromString, string, int, tuple2 as tuple2_1, map$0027, list as list_1, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
8
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
9
|
+
import { empty as empty_1 } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
10
|
+
import { Dictionary } from "../../../fable_modules/fable-library.4.5.0/MutableMap.js";
|
|
11
|
+
import { ArcTable } from "../../ISA/ArcTypes/ArcTable.js";
|
|
12
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
13
|
+
|
|
14
|
+
export function ArcTable_encoder(table) {
|
|
15
|
+
return object(toList(delay(() => append(singleton(["name", table.Name]), delay(() => append((table.Headers.length !== 0) ? singleton(["header", list(toList(delay(() => map(CompositeHeader_encoder, table.Headers))))]) : empty(), delay(() => ((table.Values.size !== 0) ? singleton(["values", map_1((tupledArg) => tuple2((value) => value, (value_2) => value_2, tupledArg[0], tupledArg[1]), CompositeCell_encoder, ofSeq(toList(delay(() => collect((matchValue) => {
|
|
16
|
+
const activePatternResult = matchValue;
|
|
17
|
+
return singleton([activePatternResult[0], activePatternResult[1]]);
|
|
18
|
+
}, table.Values))), {
|
|
19
|
+
Compare: compareArrays,
|
|
20
|
+
}))]) : empty()))))))));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const ArcTable_decoder = (path_2) => ((v) => object_1((get$) => {
|
|
24
|
+
let objectArg, arg_5, objectArg_1, objectArg_2;
|
|
25
|
+
let decodedHeader;
|
|
26
|
+
const collection = defaultArg((objectArg = get$.Optional, objectArg.Field("header", (path, value) => list_1(uncurry2(CompositeHeader_decoder), path, value))), empty_1());
|
|
27
|
+
decodedHeader = Array.from(collection);
|
|
28
|
+
const decodedValues = new Dictionary(defaultArg((arg_5 = map$0027(uncurry2(tuple2_1(uncurry2(int), uncurry2(int))), uncurry2((arg_2) => {
|
|
29
|
+
const clo = CompositeCell_decoder(arg_2);
|
|
30
|
+
return clo;
|
|
31
|
+
})), (objectArg_1 = get$.Optional, objectArg_1.Field("values", uncurry2(arg_5)))), empty_2({
|
|
32
|
+
Compare: compareArrays,
|
|
33
|
+
})), {
|
|
34
|
+
Equals: equalArrays,
|
|
35
|
+
GetHashCode: arrayHash,
|
|
36
|
+
});
|
|
37
|
+
return ArcTable.create((objectArg_2 = get$.Required, objectArg_2.Field("name", string)), decodedHeader, decodedValues);
|
|
38
|
+
}, path_2, v));
|
|
39
|
+
|
|
40
|
+
export function ARCtrl_ISA_ArcTable__ArcTable_fromJsonString_Static_Z721C83C5(jsonString) {
|
|
41
|
+
const matchValue = fromString(uncurry2(ArcTable_decoder), jsonString);
|
|
42
|
+
if (matchValue.tag === 1) {
|
|
43
|
+
return toFail(printf("Error. Unable to parse json string to ArcTable: %s"))(matchValue.fields[0]);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
return matchValue.fields[0];
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ARCtrl_ISA_ArcTable__ArcTable_ToJsonString_71136F3F(this$, spaces) {
|
|
51
|
+
return toString(defaultArg(spaces, 0), ArcTable_encoder(this$));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ARCtrl_ISA_ArcTable__ArcTable_toJsonString_Static_1B2566EA(a) {
|
|
55
|
+
return ARCtrl_ISA_ArcTable__ArcTable_ToJsonString_71136F3F(a);
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../Ontology.js";
|
|
2
|
+
import { ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
3
|
+
import { ofArray, singleton } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
4
|
+
import { toString, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
5
|
+
import { fromString, index, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
6
|
+
import { CompositeCell } from "../../ISA/ArcTypes/CompositeCell.js";
|
|
7
|
+
import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
8
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
9
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
10
|
+
|
|
11
|
+
export function CompositeCell_encoder(cc) {
|
|
12
|
+
const oaToJsonString = (oa) => OntologyAnnotation_encoder(ConverterOptions_$ctor(), oa);
|
|
13
|
+
const patternInput = (cc.tag === 0) ? ["Term", singleton(oaToJsonString(cc.fields[0]))] : ((cc.tag === 2) ? ["Unitized", ofArray([cc.fields[0], oaToJsonString(cc.fields[1])])] : ["FreeText", singleton(cc.fields[0])]);
|
|
14
|
+
return object([["celltype", patternInput[0]], ["values", list(patternInput[1])]]);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const CompositeCell_decoder = (path_7) => ((v_1) => object_1((get$) => {
|
|
18
|
+
let objectArg_1, arg_5, decoder_1, objectArg_2, objectArg_3, arg_9, decoder_3, objectArg_4;
|
|
19
|
+
let matchValue;
|
|
20
|
+
const objectArg = get$.Required;
|
|
21
|
+
matchValue = objectArg.Field("celltype", string);
|
|
22
|
+
switch (matchValue) {
|
|
23
|
+
case "FreeText":
|
|
24
|
+
return new CompositeCell(1, [(objectArg_1 = get$.Required, objectArg_1.Field("values", (path_2, value_2) => index(0, string, path_2, value_2)))]);
|
|
25
|
+
case "Term":
|
|
26
|
+
return new CompositeCell(0, [(arg_5 = ((decoder_1 = OntologyAnnotation_decoder(ConverterOptions_$ctor()), (path_3) => ((value_3) => index(0, uncurry2(decoder_1), path_3, value_3)))), (objectArg_2 = get$.Required, objectArg_2.Field("values", uncurry2(arg_5))))]);
|
|
27
|
+
case "Unitized":
|
|
28
|
+
return new CompositeCell(2, [(objectArg_3 = get$.Required, objectArg_3.Field("values", (path_4, value_4) => index(0, string, path_4, value_4))), (arg_9 = ((decoder_3 = OntologyAnnotation_decoder(ConverterOptions_$ctor()), (path_6) => ((value_6) => index(1, uncurry2(decoder_3), path_6, value_6)))), (objectArg_4 = get$.Required, objectArg_4.Field("values", uncurry2(arg_9))))]);
|
|
29
|
+
default:
|
|
30
|
+
return toFail(printf("Error reading CompositeCell from json string: %A"))(matchValue);
|
|
31
|
+
}
|
|
32
|
+
}, path_7, v_1));
|
|
33
|
+
|
|
34
|
+
export function ARCtrl_ISA_CompositeCell__CompositeCell_fromJsonString_Static_Z721C83C5(jsonString) {
|
|
35
|
+
const matchValue = fromString(uncurry2(CompositeCell_decoder), jsonString);
|
|
36
|
+
if (matchValue.tag === 1) {
|
|
37
|
+
return toFail(printf("Error. Unable to parse json string to CompositeCell: %s"))(matchValue.fields[0]);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return matchValue.fields[0];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ARCtrl_ISA_CompositeCell__CompositeCell_ToJsonString_71136F3F(this$, spaces) {
|
|
45
|
+
return toString(defaultArg(spaces, 0), CompositeCell_encoder(this$));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function ARCtrl_ISA_CompositeCell__CompositeCell_toJsonString_Static_1B703D57(a) {
|
|
49
|
+
return ARCtrl_ISA_CompositeCell__CompositeCell_ToJsonString_71136F3F(a);
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../Ontology.js";
|
|
2
|
+
import { ConverterOptions_$ctor } from "../ConverterOptions.js";
|
|
3
|
+
import { empty, singleton } from "../../../fable_modules/fable-library.4.5.0/List.js";
|
|
4
|
+
import { IOType_decoder, IOType_encoder } from "./IOType.js";
|
|
5
|
+
import { toString, list, object } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
6
|
+
import { fromString, index, string, object as object_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
7
|
+
import { uncurry2 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
8
|
+
import { CompositeHeader } from "../../ISA/ArcTypes/CompositeHeader.js";
|
|
9
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
10
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
11
|
+
|
|
12
|
+
export function CompositeHeader_encoder(ch) {
|
|
13
|
+
const oaToJsonString = (oa) => OntologyAnnotation_encoder(ConverterOptions_$ctor(), oa);
|
|
14
|
+
const patternInput = (ch.tag === 3) ? ["Parameter", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 2) ? ["Factor", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 1) ? ["Characteristic", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 0) ? ["Component", singleton(oaToJsonString(ch.fields[0]))] : ((ch.tag === 4) ? ["ProtocolType", empty()] : ((ch.tag === 8) ? ["ProtocolREF", empty()] : ((ch.tag === 5) ? ["ProtocolDescription", empty()] : ((ch.tag === 6) ? ["ProtocolUri", empty()] : ((ch.tag === 7) ? ["ProtocolVersion", empty()] : ((ch.tag === 9) ? ["Performer", empty()] : ((ch.tag === 10) ? ["Date", empty()] : ((ch.tag === 11) ? ["Input", singleton(IOType_encoder(ch.fields[0]))] : ((ch.tag === 12) ? ["Output", singleton(IOType_encoder(ch.fields[0]))] : [ch.fields[0], empty()]))))))))))));
|
|
15
|
+
return object([["headertype", patternInput[0]], ["values", list(patternInput[1])]]);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const CompositeHeader_decoder = (path_3) => ((v) => object_1((get$) => {
|
|
19
|
+
let headerType;
|
|
20
|
+
const objectArg = get$.Required;
|
|
21
|
+
headerType = objectArg.Field("headertype", string);
|
|
22
|
+
const oa = () => {
|
|
23
|
+
let arg_3;
|
|
24
|
+
const decoder = OntologyAnnotation_decoder(ConverterOptions_$ctor());
|
|
25
|
+
arg_3 = ((path_1) => ((value_1) => index(0, uncurry2(decoder), path_1, value_1)));
|
|
26
|
+
const objectArg_1 = get$.Required;
|
|
27
|
+
return objectArg_1.Field("values", uncurry2(arg_3));
|
|
28
|
+
};
|
|
29
|
+
const io = () => {
|
|
30
|
+
const objectArg_2 = get$.Required;
|
|
31
|
+
return objectArg_2.Field("values", (path_2, value_2) => index(0, uncurry2(IOType_decoder), path_2, value_2));
|
|
32
|
+
};
|
|
33
|
+
switch (headerType) {
|
|
34
|
+
case "Characteristic":
|
|
35
|
+
return new CompositeHeader(1, [oa()]);
|
|
36
|
+
case "Parameter":
|
|
37
|
+
return new CompositeHeader(3, [oa()]);
|
|
38
|
+
case "Component":
|
|
39
|
+
return new CompositeHeader(0, [oa()]);
|
|
40
|
+
case "Factor":
|
|
41
|
+
return new CompositeHeader(2, [oa()]);
|
|
42
|
+
case "Input":
|
|
43
|
+
return new CompositeHeader(11, [io()]);
|
|
44
|
+
case "Output":
|
|
45
|
+
return new CompositeHeader(12, [io()]);
|
|
46
|
+
case "ProtocolType":
|
|
47
|
+
return new CompositeHeader(4, []);
|
|
48
|
+
case "ProtocolREF":
|
|
49
|
+
return new CompositeHeader(8, []);
|
|
50
|
+
case "ProtocolDescription":
|
|
51
|
+
return new CompositeHeader(5, []);
|
|
52
|
+
case "ProtocolUri":
|
|
53
|
+
return new CompositeHeader(6, []);
|
|
54
|
+
case "ProtocolVersion":
|
|
55
|
+
return new CompositeHeader(7, []);
|
|
56
|
+
case "Performer":
|
|
57
|
+
return new CompositeHeader(9, []);
|
|
58
|
+
case "Date":
|
|
59
|
+
return new CompositeHeader(10, []);
|
|
60
|
+
default:
|
|
61
|
+
return new CompositeHeader(13, [headerType]);
|
|
62
|
+
}
|
|
63
|
+
}, path_3, v));
|
|
64
|
+
|
|
65
|
+
export function ARCtrl_ISA_CompositeHeader__CompositeHeader_fromJsonString_Static_Z721C83C5(jsonString) {
|
|
66
|
+
const matchValue = fromString(uncurry2(CompositeHeader_decoder), jsonString);
|
|
67
|
+
if (matchValue.tag === 1) {
|
|
68
|
+
return toFail(printf("Error. Unable to parse json string to CompositeHeader: %s"))(matchValue.fields[0]);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
return matchValue.fields[0];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ARCtrl_ISA_CompositeHeader__CompositeHeader_ToJsonString_71136F3F(this$, spaces) {
|
|
76
|
+
return toString(defaultArg(spaces, 0), CompositeHeader_encoder(this$));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ARCtrl_ISA_CompositeHeader__CompositeHeader_toJsonString_Static_Z331CE692(a) {
|
|
80
|
+
return ARCtrl_ISA_CompositeHeader__CompositeHeader_ToJsonString_71136F3F(a);
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { toString } from "../../../fable_modules/fable-library.4.5.0/Types.js";
|
|
2
|
+
import { fromString, string, succeed, andThen } from "../../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
3
|
+
import { uncurry2, uncurry3 } from "../../../fable_modules/fable-library.4.5.0/Util.js";
|
|
4
|
+
import { IOType } from "../../ISA/ArcTypes/CompositeHeader.js";
|
|
5
|
+
import { printf, toFail } from "../../../fable_modules/fable-library.4.5.0/String.js";
|
|
6
|
+
import { toString as toString_1 } from "../../../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
7
|
+
import { defaultArg } from "../../../fable_modules/fable-library.4.5.0/Option.js";
|
|
8
|
+
|
|
9
|
+
export function IOType_encoder(io) {
|
|
10
|
+
return toString(io);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const IOType_decoder = (path_1) => ((value_1) => andThen(uncurry3((s) => {
|
|
14
|
+
const output = IOType.ofString(s);
|
|
15
|
+
return (arg10$0040) => ((arg20$0040) => succeed(output, arg10$0040, arg20$0040));
|
|
16
|
+
}), string, path_1, value_1));
|
|
17
|
+
|
|
18
|
+
export function ARCtrl_ISA_IOType__IOType_fromJsonString_Static_Z721C83C5(jsonString) {
|
|
19
|
+
const matchValue = fromString(uncurry2(IOType_decoder), jsonString);
|
|
20
|
+
if (matchValue.tag === 1) {
|
|
21
|
+
return toFail(printf("Error. Unable to parse json string to IOType: %s"))(matchValue.fields[0]);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
return matchValue.fields[0];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export function ARCtrl_ISA_IOType__IOType_ToJsonString_71136F3F(this$, spaces) {
|
|
29
|
+
return toString_1(defaultArg(spaces, 0), IOType_encoder(this$));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function ARCtrl_ISA_IOType__IOType_toJsonString_Static_Z359DBB26(a) {
|
|
33
|
+
return ARCtrl_ISA_IOType__IOType_ToJsonString_71136F3F(a);
|
|
34
|
+
}
|
|
35
|
+
|
package/ISA/ISA.Json/Assay.js
CHANGED
|
@@ -14,7 +14,6 @@ import { Process_decoder, Process_encoder } from "./Process.js";
|
|
|
14
14
|
import { decoder as decoder_5, encoder } from "./Comment.js";
|
|
15
15
|
import { fromJsonString, uri } from "./Decode.js";
|
|
16
16
|
import { Assay } from "../ISA/JsonTypes/Assay.js";
|
|
17
|
-
import { ArcAssay } from "../ISA/ArcTypes/ArcTypes.js";
|
|
18
17
|
|
|
19
18
|
export function AssayMaterials_encoder(options, oa) {
|
|
20
19
|
return object_22(choose((tupledArg) => {
|
|
@@ -104,20 +103,3 @@ export function Assay_toStringLD(a) {
|
|
|
104
103
|
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a));
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
export function ArcAssay_fromJsonString(s) {
|
|
108
|
-
const a = fromJsonString(uncurry2(Assay_decoder(ConverterOptions_$ctor())), s);
|
|
109
|
-
return ArcAssay.fromAssay(a);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export function ArcAssay_toJsonString(a) {
|
|
113
|
-
return toString(2, Assay_encoder(ConverterOptions_$ctor(), a.ToAssay()));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* exports in json-ld format
|
|
118
|
-
*/
|
|
119
|
-
export function ArcAssay_toStringLD(a) {
|
|
120
|
-
let returnVal;
|
|
121
|
-
return toString(2, Assay_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToAssay()));
|
|
122
|
-
}
|
|
123
|
-
|
|
@@ -7,16 +7,15 @@ import { empty, singleton, append, delay, toList } from "../../fable_modules/fab
|
|
|
7
7
|
import { ConverterOptions__set_IncludeType_Z1FBCCD16, ConverterOptions__set_SetID_Z1FBCCD16, ConverterOptions_$ctor, ConverterOptions__get_IncludeType, ConverterOptions__get_SetID } from "./ConverterOptions.js";
|
|
8
8
|
import { tryInclude } from "./GEncode.js";
|
|
9
9
|
import { OntologySourceReference_decoder, OntologySourceReference_encoder } from "./Ontology.js";
|
|
10
|
-
import { decoder as
|
|
11
|
-
import { decoder as
|
|
10
|
+
import { decoder as decoder_6, encoder as encoder_1 } from "./Publication.js";
|
|
11
|
+
import { decoder as decoder_7, encoder as encoder_2 } from "./Person.js";
|
|
12
12
|
import { Study_decoder, Study_encoder } from "./Study.js";
|
|
13
|
-
import { decoder as
|
|
13
|
+
import { decoder as decoder_8, encoder as encoder_3 } from "./Comment.js";
|
|
14
14
|
import { list as list_1, string, object as object_25 } from "../../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
15
15
|
import { Investigation } from "../ISA/JsonTypes/Investigation.js";
|
|
16
|
-
import { fromJsonString } from "./Decode.js";
|
|
17
|
-
import { ArcInvestigation } from "../ISA/ArcTypes/ArcTypes.js";
|
|
16
|
+
import { fromJsonString as fromJsonString_1 } from "./Decode.js";
|
|
18
17
|
|
|
19
|
-
export function
|
|
18
|
+
export function genID(i) {
|
|
20
19
|
const matchValue = i.ID;
|
|
21
20
|
if (matchValue == null) {
|
|
22
21
|
const matchValue_1 = i.FileName;
|
|
@@ -44,7 +43,7 @@ export function Investigation_genID(i) {
|
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
|
|
47
|
-
export function
|
|
46
|
+
export function encoder(options, oa) {
|
|
48
47
|
return object_24(choose((tupledArg) => {
|
|
49
48
|
const v = tupledArg[1];
|
|
50
49
|
if (equals(v, nil)) {
|
|
@@ -55,7 +54,7 @@ export function Investigation_encoder(options, oa) {
|
|
|
55
54
|
}
|
|
56
55
|
}, toList(delay(() => {
|
|
57
56
|
let value, s;
|
|
58
|
-
return append(ConverterOptions__get_SetID(options) ? singleton(["@id", (value =
|
|
57
|
+
return append(ConverterOptions__get_SetID(options) ? singleton(["@id", (value = genID(oa), (typeof value === "string") ? ((s = value, s)) : nil)]) : singleton(tryInclude("@id", (value_2) => {
|
|
59
58
|
let s_1;
|
|
60
59
|
const value_3 = value_2;
|
|
61
60
|
return (typeof value_3 === "string") ? ((s_1 = value_3, s_1)) : nil;
|
|
@@ -85,48 +84,31 @@ export function Investigation_encoder(options, oa) {
|
|
|
85
84
|
let s_8;
|
|
86
85
|
const value_23 = value_22;
|
|
87
86
|
return (typeof value_23 === "string") ? ((s_8 = value_23, s_8)) : nil;
|
|
88
|
-
}, oa["PublicReleaseDate"])), delay(() => append(singleton(tryInclude("ontologySourceReferences", (osr) => OntologySourceReference_encoder(options, osr), oa["OntologySourceReferences"])), delay(() => append(singleton(tryInclude("publications", (oa_1) =>
|
|
87
|
+
}, oa["PublicReleaseDate"])), delay(() => append(singleton(tryInclude("ontologySourceReferences", (osr) => OntologySourceReference_encoder(options, osr), oa["OntologySourceReferences"])), delay(() => append(singleton(tryInclude("publications", (oa_1) => encoder_1(options, oa_1), oa["Publications"])), delay(() => append(singleton(tryInclude("people", (oa_2) => encoder_2(options, oa_2), oa["Contacts"])), delay(() => append(singleton(tryInclude("studies", (oa_3) => Study_encoder(options, oa_3), oa["Studies"])), delay(() => singleton(tryInclude("comments", (comment) => encoder_3(options, comment), oa["Comments"]))))))))))))))))))))))));
|
|
89
88
|
}));
|
|
90
89
|
}))));
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
export function
|
|
92
|
+
export function decoder(options) {
|
|
94
93
|
return (path_12) => ((v) => object_25((get$) => {
|
|
95
|
-
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, arg_15,
|
|
96
|
-
return new Investigation((objectArg = get$.Optional, objectArg.Field("@id", string)), (objectArg_1 = get$.Optional, objectArg_1.Field("filename", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("identifier", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("title", string)), (objectArg_4 = get$.Optional, objectArg_4.Field("description", string)), (objectArg_5 = get$.Optional, objectArg_5.Field("submissionDate", string)), (objectArg_6 = get$.Optional, objectArg_6.Field("publicReleaseDate", string)), (arg_15 = ((
|
|
94
|
+
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, arg_15, decoder_1, objectArg_7, arg_17, decoder_2, objectArg_8, arg_19, decoder_3, objectArg_9, arg_21, decoder_4, objectArg_10, arg_23, decoder_5, objectArg_11;
|
|
95
|
+
return new Investigation((objectArg = get$.Optional, objectArg.Field("@id", string)), (objectArg_1 = get$.Optional, objectArg_1.Field("filename", string)), (objectArg_2 = get$.Optional, objectArg_2.Field("identifier", string)), (objectArg_3 = get$.Optional, objectArg_3.Field("title", string)), (objectArg_4 = get$.Optional, objectArg_4.Field("description", string)), (objectArg_5 = get$.Optional, objectArg_5.Field("submissionDate", string)), (objectArg_6 = get$.Optional, objectArg_6.Field("publicReleaseDate", string)), (arg_15 = ((decoder_1 = OntologySourceReference_decoder(options), (path_7) => ((value_7) => list_1(uncurry2(decoder_1), path_7, value_7)))), (objectArg_7 = get$.Optional, objectArg_7.Field("ontologySourceReferences", uncurry2(arg_15)))), (arg_17 = ((decoder_2 = decoder_6(options), (path_8) => ((value_8) => list_1(uncurry2(decoder_2), path_8, value_8)))), (objectArg_8 = get$.Optional, objectArg_8.Field("publications", uncurry2(arg_17)))), (arg_19 = ((decoder_3 = decoder_7(options), (path_9) => ((value_9) => list_1(uncurry2(decoder_3), path_9, value_9)))), (objectArg_9 = get$.Optional, objectArg_9.Field("people", uncurry2(arg_19)))), (arg_21 = ((decoder_4 = Study_decoder(options), (path_10) => ((value_10) => list_1(uncurry2(decoder_4), path_10, value_10)))), (objectArg_10 = get$.Optional, objectArg_10.Field("studies", uncurry2(arg_21)))), (arg_23 = ((decoder_5 = decoder_8(options), (path_11) => ((value_11) => list_1(uncurry2(decoder_5), path_11, value_11)))), (objectArg_11 = get$.Optional, objectArg_11.Field("comments", uncurry2(arg_23)))), empty_1());
|
|
97
96
|
}, path_12, v));
|
|
98
97
|
}
|
|
99
98
|
|
|
100
|
-
export function
|
|
101
|
-
return
|
|
99
|
+
export function fromJsonString(s) {
|
|
100
|
+
return fromJsonString_1(uncurry2(decoder(ConverterOptions_$ctor())), s);
|
|
102
101
|
}
|
|
103
102
|
|
|
104
|
-
export function
|
|
105
|
-
return toString(2,
|
|
103
|
+
export function toJsonString(p) {
|
|
104
|
+
return toString(2, encoder(ConverterOptions_$ctor(), p));
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
/**
|
|
109
108
|
* exports in json-ld format
|
|
110
109
|
*/
|
|
111
|
-
export function
|
|
110
|
+
export function toStringLD(i) {
|
|
112
111
|
let returnVal;
|
|
113
|
-
return toString(2,
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export function ArcInvestigation_fromJsonString(s) {
|
|
117
|
-
const i = fromJsonString(uncurry2(Investigation_decoder(ConverterOptions_$ctor())), s);
|
|
118
|
-
return ArcInvestigation.fromInvestigation(i);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export function ArcInvestigation_toJsonString(a) {
|
|
122
|
-
return toString(2, Investigation_encoder(ConverterOptions_$ctor(), a.ToInvestigation()));
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* exports in json-ld format
|
|
127
|
-
*/
|
|
128
|
-
export function ArcInvestigation_toStringLD(a) {
|
|
129
|
-
let returnVal;
|
|
130
|
-
return toString(2, Investigation_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToInvestigation()));
|
|
112
|
+
return toString(2, encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), i));
|
|
131
113
|
}
|
|
132
114
|
|
package/ISA/ISA.Json/Study.js
CHANGED
|
@@ -20,7 +20,6 @@ import { Factor_decoder, Factor_encoder } from "./Factor.js";
|
|
|
20
20
|
import { decoder as decoder_12, encoder as encoder_2 } from "./Comment.js";
|
|
21
21
|
import { fromJsonString, uri } from "./Decode.js";
|
|
22
22
|
import { Study } from "../ISA/JsonTypes/Study.js";
|
|
23
|
-
import { ArcStudy } from "../ISA/ArcTypes/ArcTypes.js";
|
|
24
23
|
|
|
25
24
|
export function StudyMaterials_encoder(options, oa) {
|
|
26
25
|
return object_36(choose((tupledArg) => {
|
|
@@ -211,20 +210,3 @@ export function Study_toStringLD(s) {
|
|
|
211
210
|
return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), s));
|
|
212
211
|
}
|
|
213
212
|
|
|
214
|
-
export function ArcStudy_fromJsonString(s) {
|
|
215
|
-
const s_1 = fromJsonString(uncurry2(Study_decoder(ConverterOptions_$ctor())), s);
|
|
216
|
-
return ArcStudy.fromStudy(s_1);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export function ArcStudy_toJsonString(a, assays) {
|
|
220
|
-
return toString(2, Study_encoder(ConverterOptions_$ctor(), a.ToStudy(assays)));
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* exports in json-ld format
|
|
225
|
-
*/
|
|
226
|
-
export function ArcStudy_toStringLD(a, assays) {
|
|
227
|
-
let returnVal;
|
|
228
|
-
return toString(2, Study_encoder((returnVal = ConverterOptions_$ctor(), ((ConverterOptions__set_SetID_Z1FBCCD16(returnVal, true), ConverterOptions__set_IncludeType_Z1FBCCD16(returnVal, true)), returnVal)), a.ToStudy(assays)));
|
|
229
|
-
}
|
|
230
|
-
|
|
@@ -127,9 +127,9 @@ export function fromFsWorkbook(doc) {
|
|
|
127
127
|
else {
|
|
128
128
|
assayMetaData = fromMetadataSheet(matchValue);
|
|
129
129
|
}
|
|
130
|
-
const
|
|
131
|
-
if (!isEmpty_1(
|
|
132
|
-
assayMetaData.Tables = Array.from(
|
|
130
|
+
const annotationTables = choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
131
|
+
if (!isEmpty_1(annotationTables)) {
|
|
132
|
+
assayMetaData.Tables = Array.from(annotationTables);
|
|
133
133
|
}
|
|
134
134
|
return assayMetaData;
|
|
135
135
|
}
|
|
@@ -9,7 +9,6 @@ import { createMissingIdentifier } from "../ISA/Identifier.js";
|
|
|
9
9
|
import { empty } from "../../fable_modules/fable-library.4.5.0/List.js";
|
|
10
10
|
import { printf, toConsole } from "../../fable_modules/fable-library.4.5.0/String.js";
|
|
11
11
|
import { toFsWorksheet, tryFromFsWorksheet } from "./AnnotationTable/ArcTable.js";
|
|
12
|
-
import { ArcTables } from "../ISA/ArcTypes/ArcTables.js";
|
|
13
12
|
import { FsWorkbook } from "../../fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs.js";
|
|
14
13
|
|
|
15
14
|
export function ArcStudy_toMetadataSheet(study, assays) {
|
|
@@ -46,10 +45,9 @@ export function ARCtrl_ISA_ArcStudy__ArcStudy_fromFsWorkbook_Static_32154C9D(doc
|
|
|
46
45
|
patternInput = ArcStudy_fromMetadataSheet(matchValue);
|
|
47
46
|
}
|
|
48
47
|
const studyMetadata = patternInput[0];
|
|
49
|
-
const
|
|
50
|
-
if (!isEmpty(
|
|
51
|
-
|
|
52
|
-
studyMetadata.Tables = updatedTables.Tables;
|
|
48
|
+
const annotationTables = choose(tryFromFsWorksheet, doc.GetWorksheets());
|
|
49
|
+
if (!isEmpty(annotationTables)) {
|
|
50
|
+
studyMetadata.Tables = Array.from(annotationTables);
|
|
53
51
|
}
|
|
54
52
|
return [studyMetadata, patternInput[1]];
|
|
55
53
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { toString } from "../fable_modules/fable-library.4.5.0/Types.js";
|
|
2
|
-
import { dict, fromString, datetimeUtc, array as array_1,
|
|
2
|
+
import { dict, fromString, datetimeUtc, array as array_1, guid as guid_1, object as object_1, string, succeed, andThen } from "../fable_modules/Thoth.Json.10.1.0/Decode.fs.js";
|
|
3
3
|
import { uncurry2, uncurry3 } from "../fable_modules/fable-library.4.5.0/Util.js";
|
|
4
4
|
import { Template, Organisation } from "./Template.js";
|
|
5
5
|
import { ConverterOptions_$ctor } from "../ISA/ISA.Json/ConverterOptions.js";
|
|
6
|
-
import { decoder as
|
|
6
|
+
import { decoder as decoder_1, encoder } from "../ISA/ISA.Json/Person.js";
|
|
7
7
|
import { OntologyAnnotation_decoder, OntologyAnnotation_encoder } from "../ISA/ISA.Json/Ontology.js";
|
|
8
8
|
import { toString as toString_1, datetime, list as list_1, guid, object } from "../fable_modules/Thoth.Json.10.1.0/Encode.fs.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { map as map_1, delay, toList } from "../fable_modules/fable-library.4.5.0/Seq.js";
|
|
12
|
-
import { ArcTables } from "../ISA/ISA/ArcTypes/ArcTables.js";
|
|
9
|
+
import { ArcTable_decoder, ArcTable_encoder } from "../ISA/ISA.Json/ArcTypes/ArcTable.js";
|
|
10
|
+
import { map, delay, toList } from "../fable_modules/fable-library.4.5.0/Seq.js";
|
|
13
11
|
import { printf, toFail } from "../fable_modules/fable-library.4.5.0/String.js";
|
|
12
|
+
import { ofArray, map as map_1 } from "../fable_modules/fable-library.4.5.0/List.js";
|
|
14
13
|
import { FSharpMap__get_Values } from "../fable_modules/fable-library.4.5.0/Map.js";
|
|
15
14
|
import { defaultArg } from "../fable_modules/fable-library.4.5.0/Option.js";
|
|
16
15
|
|
|
@@ -22,26 +21,22 @@ export const Organisation_decode = (path_1) => ((value_1) => andThen(uncurry3((t
|
|
|
22
21
|
}), string, path_1, value_1));
|
|
23
22
|
|
|
24
23
|
export function Template_encode(template) {
|
|
25
|
-
let list, options_2;
|
|
26
24
|
let personEncoder;
|
|
27
25
|
const options = ConverterOptions_$ctor();
|
|
28
26
|
personEncoder = ((oa) => encoder(options, oa));
|
|
29
27
|
let oaEncoder;
|
|
30
28
|
const options_1 = ConverterOptions_$ctor();
|
|
31
29
|
oaEncoder = ((oa_1) => OntologyAnnotation_encoder(options_1, oa_1));
|
|
32
|
-
return object([["id", guid(template.Id)], ["table",
|
|
30
|
+
return object([["id", guid(template.Id)], ["table", ArcTable_encoder(template.Table)], ["name", template.Name], ["description", template.Description], ["organisation", Organisation_encode(template.Organisation)], ["version", template.Version], ["authors", list_1(toList(delay(() => map(personEncoder, template.Authors))))], ["endpoint_repositories", list_1(toList(delay(() => map(oaEncoder, template.EndpointRepositories))))], ["tags", list_1(toList(delay(() => map(oaEncoder, template.Tags))))], ["last_updated", datetime(template.LastUpdated)]]);
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
export const Template_decode = (() => {
|
|
36
|
-
const personDecoder =
|
|
34
|
+
const personDecoder = decoder_1(ConverterOptions_$ctor());
|
|
37
35
|
const oaDecoder = OntologyAnnotation_decoder(ConverterOptions_$ctor());
|
|
38
|
-
return (
|
|
39
|
-
let objectArg,
|
|
40
|
-
return Template.create((objectArg = get$.Required, objectArg.Field("id", guid_1)), (
|
|
41
|
-
|
|
42
|
-
return arctbls.Tables[0];
|
|
43
|
-
}, uncurry2(d), path_2, value_2)))), (objectArg_1 = get$.Required, objectArg_1.Field("table", uncurry2(arg_3)))), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", uncurry2(Organisation_decode))), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), (objectArg_6 = get$.Required, objectArg_6.Field("authors", (path_6, value_6) => array_1(uncurry2(personDecoder), path_6, value_6))), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", (path_7, value_7) => array_1(uncurry2(oaDecoder), path_7, value_7))), (objectArg_8 = get$.Required, objectArg_8.Field("tags", (path_8, value_8) => array_1(uncurry2(oaDecoder), path_8, value_8))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
|
|
44
|
-
}, path_10, v));
|
|
36
|
+
return (path_8) => ((v) => object_1((get$) => {
|
|
37
|
+
let objectArg, objectArg_1, objectArg_2, objectArg_3, objectArg_4, objectArg_5, objectArg_6, objectArg_7, objectArg_8, objectArg_9;
|
|
38
|
+
return Template.create((objectArg = get$.Required, objectArg.Field("id", guid_1)), (objectArg_1 = get$.Required, objectArg_1.Field("table", uncurry2(ArcTable_decoder))), (objectArg_2 = get$.Required, objectArg_2.Field("name", string)), (objectArg_3 = get$.Required, objectArg_3.Field("description", string)), (objectArg_4 = get$.Required, objectArg_4.Field("organisation", uncurry2(Organisation_decode))), (objectArg_5 = get$.Required, objectArg_5.Field("version", string)), (objectArg_6 = get$.Required, objectArg_6.Field("authors", (path_4, value_4) => array_1(uncurry2(personDecoder), path_4, value_4))), (objectArg_7 = get$.Required, objectArg_7.Field("endpoint_repositories", (path_5, value_5) => array_1(uncurry2(oaDecoder), path_5, value_5))), (objectArg_8 = get$.Required, objectArg_8.Field("tags", (path_6, value_6) => array_1(uncurry2(oaDecoder), path_6, value_6))), (objectArg_9 = get$.Required, objectArg_9.Field("last_updated", datetimeUtc)));
|
|
39
|
+
}, path_8, v));
|
|
45
40
|
})();
|
|
46
41
|
|
|
47
42
|
export function Template_fromJsonString(jsonString) {
|
|
@@ -59,7 +54,7 @@ export function Template_toJsonString(spaces, template) {
|
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
export function Templates_encode(templateList) {
|
|
62
|
-
return object(
|
|
57
|
+
return object(map_1((tupledArg) => [tupledArg[0], Template_encode(tupledArg[1])], ofArray(templateList)));
|
|
63
58
|
}
|
|
64
59
|
|
|
65
60
|
export const Templates_decode = (() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"Version":"4.5.0","FableOptions":{"TypedArrays":true,"ClampByteArrays":false,"Language":["JavaScript"],"Define":["FABLE_COMPILER","FABLE_COMPILER_4","FABLE_COMPILER_JAVASCRIPT"],"DebugMode":false,"OptimizeFSharpAst":false,"Verbosity":["Normal"],"FileExtension":".js","TriggeredByDependency":false,"NoReflection":false},"ProjectPath":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/ARCtrl.fsproj","SourcePaths":["C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Promise.2.2.2/Promise.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Fetch.2.6.0/Fetch.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsAddress.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeAddress.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeBase.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRange.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableField.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/SheetBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Expression.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Transform.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Operators.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/CellBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/RowBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/ColumnBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/TableBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/SheetBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/WorkbookBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/DSL.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Decode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Encode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Extra.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/Commit.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/DefaultGitignore.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/FileSystemTree.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/FileSystem.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Url.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Regex.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Identifier.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Fable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Helper.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Printer.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/URI.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/CommentList.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/AnnotationValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/OntologyAnnotation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/OntologySourceReference.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Value.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Factor.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/FactorValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialAttribute.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialAttributeValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialType.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Material.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Source.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Sample.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/DataFile.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Data.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Person.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Component.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProtocolParameter.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Protocol.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessInput.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessOutput.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessParameterValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Process.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessSequence.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/AssayMaterials.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Assay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/StudyMaterials.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Investigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ColumnIndex.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeHeader.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTableAux.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTables.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTypes.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/IdentifierSetters.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/UIHelper.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/ProcessBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/AssayBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/Transform.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AssemblyInfo.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/CollectionAux.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Conversions.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/SparseTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Contacts.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Factors.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Protocols.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Assays.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcAssay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcStudy.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcInvestigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/ValidationResult.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/Fable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/JsonSchemaValidation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ConverterOptions.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Decode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/GEncode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Ontology.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Factor.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Protocol.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Material.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Data.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Process.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Person.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Assay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Investigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/Library.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/Contract/Contract.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/FileSystemTree.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/SemVer.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/WebRequest/WebRequest.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.ArcTypes.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.Git.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.ARCtrl.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Templates.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Json.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Spreadsheet.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Web.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/ARC.fs"],"FSharpOptions":["--nowarn:1701,1702,1701,1702","--define:TRACE","--define:RELEASE","--define:NETSTANDARD","--define:NETSTANDARD2_0","--define:NETSTANDARD1_0_OR_GREATER","--define:NETSTANDARD1_1_OR_GREATER","--define:NETSTANDARD1_2_OR_GREATER","--define:NETSTANDARD1_3_OR_GREATER","--define:NETSTANDARD1_4_OR_GREATER","--define:NETSTANDARD1_5_OR_GREATER","--define:NETSTANDARD1_6_OR_GREATER","--define:NETSTANDARD2_0_OR_GREATER","--noframework","--nologo","--simpleresolution","--nocopyfsharpcore","--nowin32manifest","--warn:3","--fullpaths","--flaterrors","--optimize-","-r:C:/Users/HLWei/.nuget/packages/thoth.json.net/11.0.0/lib/netstandard2.0/Thoth.Json.Net.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ValueTuple.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Thread.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Tasks.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.RegularExpressions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Numerics.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.InteropServices.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Primitives.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Numerics.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Requests.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Globalization.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tracing.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tools.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Debug.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Core.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Console.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.Primitives.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.Concurrent.dll","-r:C:/Users/HLWei/.nuget/packages/njsonschema/10.8.0/lib/netstandard2.0/NJsonSchema.dll","-r:C:/Users/HLWei/.nuget/packages/newtonsoft.json/11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/netstandard.dll","-r:C:/Users/HLWei/.nuget/packages/namotion.reflection/2.1.0/lib/netstandard2.0/Namotion.Reflection.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/mscorlib.dll","-r:C:/Users/HLWei/.nuget/packages/fable.core/4.2.0/lib/netstandard2.0/Fable.Core.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.xmlhttprequest/1.1.0/lib/netstandard2.0/Browser.XMLHttpRequest.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.webstorage/1.0.0/lib/netstandard2.0/Browser.WebStorage.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.gamepad/1.1.0/lib/netstandard2.0/Browser.Gamepad.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.event/1.5.0/lib/netstandard2.0/Browser.Event.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.dom/1.0.0/lib/netstandard2.0/Browser.Dom.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.blob/1.2.0/lib/netstandard2.0/Browser.Blob.dll","-r:C:\\Users\\HLWei\\.nuget\\packages\\fable\\4.6.0\\tools\\net6.0\\any\\FSharp.Core.dll"],"References":["C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/ARCtrl.FileSystem.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ARCtrl.ISA.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ARCtrl.ISA.Spreadsheet.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ARCtrl.ISA.Json.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/ARCtrl.CWL.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/Contract/ARCtrl.Contract.fsproj"],"OutDir":["Some","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js"],"FableLibDir":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/fable-library.4.5.0","FableModulesDir":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules","OutputType":["Library"],"TargetFramework":"netstandard2.0","Exclude":[],"SourceMaps":false,"SourceMapsRoot":null}
|
|
1
|
+
{"Version":"4.5.0","FableOptions":{"TypedArrays":true,"ClampByteArrays":false,"Language":["JavaScript"],"Define":["FABLE_COMPILER","FABLE_COMPILER_4","FABLE_COMPILER_JAVASCRIPT"],"DebugMode":false,"OptimizeFSharpAst":false,"Verbosity":["Normal"],"FileExtension":".js","TriggeredByDependency":false,"NoReflection":false},"ProjectPath":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/ARCtrl.fsproj","SourcePaths":["C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Promise.2.2.2/Promise.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Promise.2.2.2/PromiseImpl.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.Fetch.2.6.0/Fetch.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsAddress.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Cells/FsCellsCollection.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeAddress.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeBase.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRangeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Ranges/FsRange.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableField.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTableRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/Tables/FsTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsWorksheet.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/FsWorkbook.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/SheetBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Expression.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Transform.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/Operators.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/CellBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/RowBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/ColumnBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/TableBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/SheetBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/WorkbookBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/FsSpreadsheet.5.0.1/DSL/DSL.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Decode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Encode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/Thoth.Json.10.1.0/Extra.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/Commit.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/DefaultGitignore.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/FileSystemTree.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/FileSystem.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Url.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Regex.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Identifier.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Fable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Helper.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Printer.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/URI.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/CommentList.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/AnnotationValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/OntologyAnnotation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/OntologySourceReference.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Value.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Factor.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/FactorValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialAttribute.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialAttributeValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/MaterialType.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Material.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Source.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Sample.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/DataFile.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Data.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Person.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Component.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProtocolParameter.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Protocol.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessInput.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessOutput.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessParameterValue.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Process.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ProcessSequence.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/AssayMaterials.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Assay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/StudyMaterials.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/Investigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/JsonTypes/ColumnIndex.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeHeader.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeRow.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/CompositeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTableAux.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTables.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/ArcTypes.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ArcTypes/IdentifierSetters.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/UIHelper.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/Types.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/ProcessBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/AssayBuilder.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/Builder/Transform.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AssemblyInfo.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/CollectionAux.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Conversions.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/SparseTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Contacts.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/OntologyAnnotation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/DesignDescriptors.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Factors.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Protocols.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Assays.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/Metadata/OntologySourceReference.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeHeader.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/CompositeColumn.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/AnnotationTable/ArcTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcAssay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcStudy.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ArcInvestigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/ValidationResult.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/Fable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Validation/JsonSchemaValidation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ConverterOptions.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Decode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/GEncode.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Comment.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Ontology.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Factor.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Protocol.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Material.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Data.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Process.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Publication.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Person.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Assay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Study.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/Investigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/CompositeCell.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/IOType.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/CompositeHeader.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/ArcTable.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/ArcAssay.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/ArcStudy.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ArcTypes/ArcInvestigation.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/Library.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/Contract/Contract.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Path.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/FileSystemTree.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/SemVer.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/WebRequest/WebRequest.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.ArcTypes.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.Git.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Contracts/Contracts.ARCtrl.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Templates.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Json.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Spreadsheet.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/Templates/Template.Web.fs","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ARCtrl/ARC.fs"],"FSharpOptions":["--nowarn:1701,1702,1701,1702","--define:TRACE","--define:RELEASE","--define:NETSTANDARD","--define:NETSTANDARD2_0","--define:NETSTANDARD1_0_OR_GREATER","--define:NETSTANDARD1_1_OR_GREATER","--define:NETSTANDARD1_2_OR_GREATER","--define:NETSTANDARD1_3_OR_GREATER","--define:NETSTANDARD1_4_OR_GREATER","--define:NETSTANDARD1_5_OR_GREATER","--define:NETSTANDARD1_6_OR_GREATER","--define:NETSTANDARD2_0_OR_GREATER","--noframework","--nologo","--simpleresolution","--nocopyfsharpcore","--nowin32manifest","--warn:3","--fullpaths","--flaterrors","--optimize-","-r:C:/Users/HLWei/.nuget/packages/thoth.json.net/11.0.0/lib/netstandard2.0/Thoth.Json.Net.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ValueTuple.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Thread.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Tasks.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.RegularExpressions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Numerics.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.InteropServices.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Primitives.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Extensions.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Numerics.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Requests.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Globalization.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tracing.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tools.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Debug.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Core.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Console.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.Primitives.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.Concurrent.dll","-r:C:/Users/HLWei/.nuget/packages/njsonschema/10.8.0/lib/netstandard2.0/NJsonSchema.dll","-r:C:/Users/HLWei/.nuget/packages/newtonsoft.json/11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/netstandard.dll","-r:C:/Users/HLWei/.nuget/packages/namotion.reflection/2.1.0/lib/netstandard2.0/Namotion.Reflection.dll","-r:C:/Users/HLWei/.nuget/packages/netstandard.library/2.0.3/build/netstandard2.0/ref/mscorlib.dll","-r:C:/Users/HLWei/.nuget/packages/fable.core/4.2.0/lib/netstandard2.0/Fable.Core.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.xmlhttprequest/1.1.0/lib/netstandard2.0/Browser.XMLHttpRequest.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.webstorage/1.0.0/lib/netstandard2.0/Browser.WebStorage.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.gamepad/1.1.0/lib/netstandard2.0/Browser.Gamepad.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.event/1.5.0/lib/netstandard2.0/Browser.Event.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.dom/1.0.0/lib/netstandard2.0/Browser.Dom.dll","-r:C:/Users/HLWei/.nuget/packages/fable.browser.blob/1.2.0/lib/netstandard2.0/Browser.Blob.dll","-r:C:\\Users\\HLWei\\.nuget\\packages\\fable\\4.6.0\\tools\\net6.0\\any\\FSharp.Core.dll"],"References":["C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/FileSystem/ARCtrl.FileSystem.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA/ARCtrl.ISA.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Spreadsheet/ARCtrl.ISA.Spreadsheet.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/ISA/ISA.Json/ARCtrl.ISA.Json.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/CWL/ARCtrl.CWL.fsproj","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/src/Contract/ARCtrl.Contract.fsproj"],"OutDir":["Some","C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js"],"FableLibDir":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules/fable-library.4.5.0","FableModulesDir":"C:/Users/HLWei/source/repos/ARC_tools/ARCtrl/dist/js/fable_modules","OutputType":["Library"],"TargetFramework":"netstandard2.0","Exclude":[],"SourceMaps":false,"SourceMapsRoot":null}
|