@platforma-open/milaboratories.clonotype-enrichment.model 2.0.1 → 2.1.1

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-enrichment/clonotype-enrichment/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.clonotype-enrichment.model@2.0.1 build /home/runner/work/clonotype-enrichment/clonotype-enrichment/model
3
+ > @platforma-open/milaboratories.clonotype-enrichment.model@2.1.1 build /home/runner/work/clonotype-enrichment/clonotype-enrichment/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,21 +11,21 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- ESM dist/index.js 3.81 KB
15
- ESM dist/index.js.map 10.10 KB
16
- ESM ⚡️ Build success in 144ms
17
- CJS dist/index.cjs 3.82 KB
18
- CJS dist/index.cjs.map 10.18 KB
19
- CJS ⚡️ Build success in 144ms
14
+ CJS dist/index.cjs 4.27 KB
15
+ CJS dist/index.cjs.map 11.19 KB
16
+ CJS ⚡️ Build success in 126ms
17
+ ESM dist/index.js 4.25 KB
18
+ ESM dist/index.js.map 11.11 KB
19
+ ESM ⚡️ Build success in 127ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 2250ms
22
- DTS dist/index.d.cts 3.78 KB
23
- DTS dist/index.d.ts 3.78 KB
21
+ DTS ⚡️ Build success in 2229ms
22
+ DTS dist/index.d.cts 3.85 KB
23
+ DTS dist/index.d.ts 3.85 KB
24
24
  vite v6.2.4 building for production...
25
25
  transforming...
26
26
  ✓ 7 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 175.57 kB │ gzip: 33.52 kB │ map: 373.08 kB
30
- dist/bundle.js 187.69 kB │ gzip: 34.11 kB │ map: 374.52 kB
31
- ✓ built in 885ms
29
+ dist/bundle.js 176.15 kB │ gzip: 33.54 kB │ map: 373.97 kB
30
+ dist/bundle.js 188.30 kB │ gzip: 34.14 kB │ map: 375.41 kB
31
+ ✓ built in 763ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @platforma-open/milaboratories.clonotype-enrichment.model
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 289344b: Updated line plot to show clonotype frequency
8
+
9
+ ## 2.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 8a8b908: Make it work with single-cell
14
+
3
15
  ## 2.0.1
4
16
 
5
17
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -5771,7 +5771,14 @@
5771
5771
  { includeNativeLabel: true, addLabelAsSuffix: true }
5772
5772
  );
5773
5773
  validCountOptions = validCountOptions.filter((item) => !umiBlockIds.includes(item.ref.blockId));
5774
- const validOptions = [...validUmiOptions, ...validCountOptions];
5774
+ const validScOptions = ctx.resultPool.getOptions(
5775
+ (spec) => {
5776
+ var _a;
5777
+ return f(spec) && spec.name === "pl7.app/vdj/uniqueCellCount" && ((_a = spec.annotations) == null ? void 0 : _a["pl7.app/abundance/normalized"]) === "false";
5778
+ },
5779
+ { includeNativeLabel: true, addLabelAsSuffix: true }
5780
+ );
5781
+ const validOptions = [...validUmiOptions, ...validCountOptions, ...validScOptions];
5775
5782
  return validOptions;
5776
5783
  }).output(
5777
5784
  "metadataOptions",
@@ -5845,10 +5852,17 @@
5845
5852
  return void 0;
5846
5853
  }
5847
5854
  return ctx.createPFrame(pCols);
5855
+ }).output("linePf", (ctx) => {
5856
+ var _a, _b;
5857
+ const pCols = (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("linePf")) == null ? void 0 : _b.getPColumns();
5858
+ if (pCols === void 0) {
5859
+ return void 0;
5860
+ }
5861
+ return ctx.createPFrame(pCols);
5848
5862
  }).sections((_ctx) => [
5849
5863
  { type: "link", href: "/", label: "Main" },
5850
5864
  { type: "link", href: "/buble", label: "Enriched bubble plot" },
5851
- { type: "link", href: "/line", label: "Enrichment line plot" },
5865
+ { type: "link", href: "/line", label: "Frequency line plot" },
5852
5866
  { type: "link", href: "/stacked", label: "Frequency bar plot" }
5853
5867
  ]).done();
5854
5868
  exports2.model = model;