@platforma-open/milaboratories.clonotype-clustering.model 2.1.0 → 2.2.0

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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/clonotype-clustering/clonotype-clustering/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.clonotype-clustering.model@2.1.0 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.2.0 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,14 +11,14 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.js 2.91 KB
15
- ESM dist/index.js.map 6.79 KB
16
- ESM ⚡️ Build success in 132ms
17
- CJS dist/index.cjs 2.91 KB
18
- CJS dist/index.cjs.map 6.86 KB
19
- CJS ⚡️ Build success in 132ms
14
+ CJS dist/index.cjs 3.27 KB
15
+ CJS dist/index.cjs.map 7.58 KB
16
+ CJS ⚡️ Build success in 97ms
17
+ ESM dist/index.js 3.27 KB
18
+ ESM dist/index.js.map 7.51 KB
19
+ ESM ⚡️ Build success in 97ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2186ms
21
+ DTS ⚡️ Build success in 2159ms
22
22
  DTS dist/index.d.cts 3.98 KB
23
23
  DTS dist/index.d.ts 3.98 KB
24
24
  vite v6.2.3 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 11 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 187.85 kB │ gzip: 36.75 kB │ map: 397.86 kB
30
- dist/bundle.js 200.75 kB │ gzip: 37.38 kB │ map: 399.45 kB
31
- ✓ built in 761ms
29
+ dist/bundle.js 188.26 kB │ gzip: 36.79 kB │ map: 398.50 kB
30
+ dist/bundle.js 201.18 kB │ gzip: 37.42 kB │ map: 400.10 kB
31
+ ✓ built in 725ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.clonotype-clustering.model
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9a8e64d: Fix for bulk data
8
+
3
9
  ## 2.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/bundle.js CHANGED
@@ -6176,19 +6176,31 @@
6176
6176
  }
6177
6177
  )
6178
6178
  ).output("sequenceOptions", (ctx) => {
6179
+ var _a;
6179
6180
  const ref = ctx.args.datasetRef;
6180
6181
  if (ref === void 0) return void 0;
6182
+ const isSingleCell = ((_a = ctx.resultPool.getPColumnSpecByRef(ref)) == null ? void 0 : _a.axesSpec[1].name) === "pl7.app/vdj/scClonotypeKey";
6181
6183
  const sequenceMatchers = [];
6182
6184
  for (const feature of ["CDR3", "VDJRegion"]) {
6183
- sequenceMatchers.push({
6184
- axes: [{ anchor: "main", idx: 1 }],
6185
- name: "pl7.app/vdj/sequence",
6186
- domain: {
6187
- "pl7.app/vdj/feature": feature,
6188
- "pl7.app/vdj/scClonotypeChain": "A",
6189
- "pl7.app/vdj/scClonotypeChain/index": "primary"
6190
- }
6191
- });
6185
+ if (isSingleCell) {
6186
+ sequenceMatchers.push({
6187
+ axes: [{ anchor: "main", idx: 1 }],
6188
+ name: "pl7.app/vdj/sequence",
6189
+ domain: {
6190
+ "pl7.app/vdj/feature": feature,
6191
+ "pl7.app/vdj/scClonotypeChain": "A",
6192
+ "pl7.app/vdj/scClonotypeChain/index": "primary"
6193
+ }
6194
+ });
6195
+ } else {
6196
+ sequenceMatchers.push({
6197
+ axes: [{ anchor: "main", idx: 1 }],
6198
+ name: "pl7.app/vdj/sequence",
6199
+ domain: {
6200
+ "pl7.app/vdj/feature": feature
6201
+ }
6202
+ });
6203
+ }
6192
6204
  }
6193
6205
  return ctx.resultPool.getCanonicalOptions(
6194
6206
  { main: ref },