@jbrowse/plugin-text-indexing 2.15.1 → 2.15.3
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.
|
@@ -13,22 +13,18 @@ class TextIndexRpcMethod extends RpcMethodType_1.default {
|
|
|
13
13
|
this.name = 'TextIndexRpcMethod';
|
|
14
14
|
}
|
|
15
15
|
async execute(args, rpcDriverClassName) {
|
|
16
|
-
const
|
|
17
|
-
const { tracks, outLocation, exclude, attributes, assemblies, indexType, signal, statusCallback, } = deserializedArgs;
|
|
16
|
+
const { tracks, outLocation, exclude, attributes, assemblies, indexType, signal, statusCallback, } = await this.deserializeArguments(args, rpcDriverClassName);
|
|
18
17
|
(0, util_1.checkAbortSignal)(signal);
|
|
19
|
-
|
|
20
|
-
outLocation,
|
|
18
|
+
await (0, text_indexing_1.indexTracks)({
|
|
19
|
+
outDir: outLocation,
|
|
21
20
|
tracks,
|
|
22
|
-
exclude,
|
|
23
|
-
attributes,
|
|
24
|
-
assemblies,
|
|
21
|
+
featureTypesToExclude: exclude,
|
|
22
|
+
attributesToIndex: attributes,
|
|
23
|
+
assemblyNames: assemblies,
|
|
25
24
|
indexType,
|
|
26
25
|
statusCallback,
|
|
27
26
|
signal,
|
|
28
|
-
};
|
|
29
|
-
await (0, text_indexing_1.indexTracks)(indexingParams);
|
|
30
|
-
statusCallback('Indexing Complete.');
|
|
31
|
-
return [];
|
|
27
|
+
});
|
|
32
28
|
}
|
|
33
29
|
}
|
|
34
30
|
exports.TextIndexRpcMethod = TextIndexRpcMethod;
|
|
@@ -7,21 +7,17 @@ export class TextIndexRpcMethod extends RpcMethodType {
|
|
|
7
7
|
this.name = 'TextIndexRpcMethod';
|
|
8
8
|
}
|
|
9
9
|
async execute(args, rpcDriverClassName) {
|
|
10
|
-
const
|
|
11
|
-
const { tracks, outLocation, exclude, attributes, assemblies, indexType, signal, statusCallback, } = deserializedArgs;
|
|
10
|
+
const { tracks, outLocation, exclude, attributes, assemblies, indexType, signal, statusCallback, } = await this.deserializeArguments(args, rpcDriverClassName);
|
|
12
11
|
checkAbortSignal(signal);
|
|
13
|
-
|
|
14
|
-
outLocation,
|
|
12
|
+
await indexTracks({
|
|
13
|
+
outDir: outLocation,
|
|
15
14
|
tracks,
|
|
16
|
-
exclude,
|
|
17
|
-
attributes,
|
|
18
|
-
assemblies,
|
|
15
|
+
featureTypesToExclude: exclude,
|
|
16
|
+
attributesToIndex: attributes,
|
|
17
|
+
assemblyNames: assemblies,
|
|
19
18
|
indexType,
|
|
20
19
|
statusCallback,
|
|
21
20
|
signal,
|
|
22
|
-
};
|
|
23
|
-
await indexTracks(indexingParams);
|
|
24
|
-
statusCallback('Indexing Complete.');
|
|
25
|
-
return [];
|
|
21
|
+
});
|
|
26
22
|
}
|
|
27
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-text-indexing",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.3",
|
|
4
4
|
"description": "JBrowse 2 text indexing rpc method",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"clean": "rimraf dist esm *.tsbuildinfo"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@jbrowse/text-indexing": "^2.15.
|
|
39
|
+
"@jbrowse/text-indexing": "^2.15.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@jbrowse/core": "^2.0.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "c0f82fe7b210622dd462e702641cc6da01109c6e"
|
|
55
55
|
}
|