@sjcrh/proteinpaint-types 2.126.0 → 2.126.1
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.
|
@@ -21,7 +21,7 @@ var genesetEnrichmentPayload = {
|
|
|
21
21
|
var validGenesetEnrichmentRequest = (input) => {
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
|
-
const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem) && (Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.pickle_file || "string" === typeof input3.pickle_file) && "number" === typeof input3.num_permutations
|
|
24
|
+
const $io0 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem) && (Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.pickle_file || "string" === typeof input3.pickle_file) && "number" === typeof input3.num_permutations;
|
|
25
25
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
26
|
};
|
|
27
27
|
if (false === __is(input)) {
|
|
@@ -75,10 +75,6 @@ var validGenesetEnrichmentRequest = (input) => {
|
|
|
75
75
|
path: _path2 + ".num_permutations",
|
|
76
76
|
expected: "number",
|
|
77
77
|
value: input3.num_permutations
|
|
78
|
-
}), "blitzgsea" === input3.method || "cerno" === input3.method || $report(_exceptionable2, {
|
|
79
|
-
path: _path2 + ".method",
|
|
80
|
-
expected: '("blitzgsea" | "cerno")',
|
|
81
|
-
value: input3.method
|
|
82
78
|
})].every((flag) => flag);
|
|
83
79
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
84
80
|
path: _path + "",
|
package/dist/index.js
CHANGED
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
genesetEnrichmentPayload,
|
|
196
196
|
validGenesetEnrichmentRequest,
|
|
197
197
|
validGenesetEnrichmentResponse
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-XZAH6P4D.js";
|
|
199
199
|
import {
|
|
200
200
|
genesetOverrepresentationPayload,
|
|
201
201
|
validGenesetOverrepresentationRequest,
|
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1929,12 +1929,6 @@ export type PreInit = {
|
|
|
1929
1929
|
retryDelay?: number
|
|
1930
1930
|
/** maximum number of times to call preInit.getStatus() before giving up */
|
|
1931
1931
|
retryMax?: number
|
|
1932
|
-
/**
|
|
1933
|
-
* optional callback to send notifications of pre-init errors
|
|
1934
|
-
* for St. Jude, this may reuse code that post to Slack channel;
|
|
1935
|
-
* in dev and other portals, this may use custom callbacks
|
|
1936
|
-
* */
|
|
1937
|
-
errorCallback?: (response: PreInitStatus) => void
|
|
1938
1932
|
/**
|
|
1939
1933
|
* dev only, used to test preInit handling by simulating different
|
|
1940
1934
|
* responses in a known sequence of steps that may edit the preInit
|
|
@@ -1971,8 +1965,19 @@ export type Mds3 = BaseMds & {
|
|
|
1971
1965
|
retryDelay?: number
|
|
1972
1966
|
/** maximum number of times to call preInit.getStatus() before giving up */
|
|
1973
1967
|
retryMax?: number
|
|
1968
|
+
/** server-computed cumulative count of the attempted init retries */
|
|
1969
|
+
currentRetry?: number
|
|
1970
|
+
/**
|
|
1971
|
+
* optional callback to send notifications of pre-init errors
|
|
1972
|
+
* for St. Jude, this may reuse code that post to Slack channel;
|
|
1973
|
+
* in dev and other portals, this may use custom callbacks
|
|
1974
|
+
* */
|
|
1975
|
+
errorCallback?: (response: PreInitStatus) => void
|
|
1974
1976
|
}
|
|
1975
|
-
|
|
1977
|
+
/** optional callback to invoke non-blocking code after dataset query validation in mds3.init.js;
|
|
1978
|
+
* for GDC, this callback is created after buildDictionary in initGdc.js
|
|
1979
|
+
**/
|
|
1980
|
+
initNonblocking?: (a: any) => void
|
|
1976
1981
|
viewModes?: ViewMode[]
|
|
1977
1982
|
dsinfo?: KeyVal[]
|
|
1978
1983
|
queries?: Mds3Queries
|
|
@@ -17,8 +17,6 @@ export type GenesetEnrichmentRequest = {
|
|
|
17
17
|
pickle_file?: string
|
|
18
18
|
/** Number of permutations to be carried out for GSEA analysis */
|
|
19
19
|
num_permutations: number
|
|
20
|
-
/** Method used for GSEA blitzgsea/cerno */
|
|
21
|
-
method: 'blitzgsea' | 'cerno'
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
type pathway_attributes = {
|