@jbrowse/plugin-alignments 3.0.2 → 3.0.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.
@@ -168,11 +168,11 @@ function stateModelFactory(pluginManager, configSchema) {
168
168
  }
169
169
  const view = (0, util_1.getContainingView)(self);
170
170
  const { staticBlocks } = view;
171
- const { colorBy, adapterConfig } = self;
171
+ const { colorBy } = self;
172
172
  if ((colorBy === null || colorBy === void 0 ? void 0 : colorBy.type) === 'modifications') {
173
173
  const vals = await (0, getUniqueModifications_1.getUniqueModifications)({
174
174
  model: self,
175
- adapterConfig,
175
+ adapterConfig: (0, configuration_1.getConf)(self.parentTrack, 'adapter'),
176
176
  blocks: staticBlocks,
177
177
  });
178
178
  if ((0, mobx_state_tree_1.isAlive)(self)) {
@@ -130,11 +130,11 @@ function stateModelFactory(pluginManager, configSchema) {
130
130
  }
131
131
  const view = getContainingView(self);
132
132
  const { staticBlocks } = view;
133
- const { colorBy, adapterConfig } = self;
133
+ const { colorBy } = self;
134
134
  if ((colorBy === null || colorBy === void 0 ? void 0 : colorBy.type) === 'modifications') {
135
135
  const vals = await getUniqueModifications({
136
136
  model: self,
137
- adapterConfig,
137
+ adapterConfig: getConf(self.parentTrack, 'adapter'),
138
138
  blocks: staticBlocks,
139
139
  });
140
140
  if (isAlive(self)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-alignments",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "JBrowse 2 alignments adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -38,10 +38,10 @@
38
38
  "dependencies": {
39
39
  "@gmod/bam": "^5.0.0",
40
40
  "@gmod/cram": "^4.0.1",
41
- "@jbrowse/core": "^3.0.2",
42
- "@jbrowse/plugin-linear-genome-view": "^3.0.2",
43
- "@jbrowse/plugin-wiggle": "^3.0.2",
44
- "@jbrowse/sv-core": "^3.0.2",
41
+ "@jbrowse/core": "^3.0.3",
42
+ "@jbrowse/plugin-linear-genome-view": "^3.0.3",
43
+ "@jbrowse/plugin-wiggle": "^3.0.3",
44
+ "@jbrowse/sv-core": "^3.0.3",
45
45
  "@mui/icons-material": "^6.0.0",
46
46
  "@mui/material": "^6.0.0",
47
47
  "canvas2svg": "^1.0.16",
@@ -63,5 +63,5 @@
63
63
  "distModule": "esm/index.js",
64
64
  "srcModule": "src/index.ts",
65
65
  "module": "esm/index.js",
66
- "gitHead": "c01a35edcb2612e94661af8793f09c95c0b13c75"
66
+ "gitHead": "f516540428282351d26e46743e69a724651bfb2c"
67
67
  }