@jbrowse/plugin-gtf 3.0.2 → 3.0.4

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.
@@ -161,7 +161,7 @@ class GtfAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
161
161
  }));
162
162
  }
163
163
  }
164
- Object.entries(parentAggregation).map(([name, subfeatures]) => {
164
+ for (const [name, subfeatures] of Object.entries(parentAggregation)) {
165
165
  const s = (0, util_1.min)(subfeatures.map(f => f.start));
166
166
  const e = (0, util_1.max)(subfeatures.map(f => f.end));
167
167
  if ((0, util_1.doesIntersect2)(s, e, originalQuery.start, originalQuery.end)) {
@@ -179,7 +179,7 @@ class GtfAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
179
179
  },
180
180
  }));
181
181
  }
182
- });
182
+ }
183
183
  }
184
184
  observer.complete();
185
185
  }
@@ -156,7 +156,7 @@ export default class GtfAdapter extends BaseFeatureDataAdapter {
156
156
  }));
157
157
  }
158
158
  }
159
- Object.entries(parentAggregation).map(([name, subfeatures]) => {
159
+ for (const [name, subfeatures] of Object.entries(parentAggregation)) {
160
160
  const s = min(subfeatures.map(f => f.start));
161
161
  const e = max(subfeatures.map(f => f.end));
162
162
  if (doesIntersect2(s, e, originalQuery.start, originalQuery.end)) {
@@ -174,7 +174,7 @@ export default class GtfAdapter extends BaseFeatureDataAdapter {
174
174
  },
175
175
  }));
176
176
  }
177
- });
177
+ }
178
178
  }
179
179
  observer.complete();
180
180
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-gtf",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "JBrowse 2 gtf feature adapter",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@flatten-js/interval-tree": "^1.0.15",
40
40
  "@gmod/bgzf-filehandle": "^2.0.1",
41
- "@jbrowse/core": "^3.0.2",
42
- "@jbrowse/plugin-linear-genome-view": "^3.0.2",
41
+ "@jbrowse/core": "^3.0.4",
42
+ "@jbrowse/plugin-linear-genome-view": "^3.0.4",
43
43
  "@mui/material": "^6.0.0",
44
44
  "gtf-nostream": "^1.0.0",
45
45
  "mobx": "^6.0.0",
@@ -56,5 +56,5 @@
56
56
  "distModule": "esm/index.js",
57
57
  "srcModule": "src/index.ts",
58
58
  "module": "esm/index.js",
59
- "gitHead": "c01a35edcb2612e94661af8793f09c95c0b13c75"
59
+ "gitHead": "61e6d26f83acbf58a946c2add3415bc46b878df9"
60
60
  }