@jbrowse/plugin-gtf 5.0.0-beta.10 → 5.0.0-beta.11
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.
|
@@ -9,7 +9,7 @@ import { aggregateGtfFeatures, parseGtfToFeatures } from '../util.js';
|
|
|
9
9
|
export default class GtfTabixAdapter extends BaseFeatureDataAdapter {
|
|
10
10
|
configure = cachedSetup({
|
|
11
11
|
label: 'Downloading index',
|
|
12
|
-
setup: async (
|
|
12
|
+
setup: async (opts, onProgress) => {
|
|
13
13
|
const gtf = new TabixIndexedFile({
|
|
14
14
|
filehandle: openLocation(this.getConf('gtfGzLocation'), this.pluginManager),
|
|
15
15
|
...openTabixIndexFilehandle(this.getConf(['index', 'location']), this.getConf(['index', 'indexType']), this.pluginManager),
|
|
@@ -20,7 +20,7 @@ export default class GtfTabixAdapter extends BaseFeatureDataAdapter {
|
|
|
20
20
|
dontRedispatchSet: new Set(this.getConf('dontRedispatch')),
|
|
21
21
|
// the index is a whole-file read, so its byte ticks turn the
|
|
22
22
|
// "Downloading index" label into a determinate bar
|
|
23
|
-
header: await gtf.getHeader({ onProgress }),
|
|
23
|
+
header: await gtf.getHeader({ onProgress, signal: opts.signal }),
|
|
24
24
|
};
|
|
25
25
|
},
|
|
26
26
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gtf",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JBrowse 2 gtf feature adapter",
|
|
6
6
|
"keywords": [
|
|
@@ -21,13 +21,15 @@
|
|
|
21
21
|
"esm"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gmod/tabix": "^3.
|
|
25
|
-
"@jbrowse/mobx-state-tree": "^6.
|
|
24
|
+
"@gmod/tabix": "^3.9.1",
|
|
25
|
+
"@jbrowse/mobx-state-tree": "^6.7.0",
|
|
26
|
+
"mobx": "^7.0.5",
|
|
26
27
|
"rxjs": "^7.8.2",
|
|
27
|
-
"@jbrowse/core": "^5.0.0-beta.
|
|
28
|
+
"@jbrowse/core": "^5.0.0-beta.11"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
|
-
"react": ">=19.0.0"
|
|
31
|
+
"react": ">=19.0.0",
|
|
32
|
+
"react-dom": ">=19.0.0"
|
|
31
33
|
},
|
|
32
34
|
"publishConfig": {
|
|
33
35
|
"access": "public"
|