@platforma-open/milaboratories.immune-assay-data.model 1.5.2 → 1.5.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.
@@ -1,16 +1,16 @@
1
1
   WARN  Issue while reading "/home/runner/work/immune-assay-data/immune-assay-data/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.immune-assay-data.model@1.5.2 build /home/runner/work/immune-assay-data/immune-assay-data/model
3
+ > @platforma-open/milaboratories.immune-assay-data.model@1.5.3 build /home/runner/work/immune-assay-data/immune-assay-data/model
4
4
  > ts-builder build --target block-model && block-tools build-model
5
5
 
6
6
  Building block-model project...
7
7
  ↳ rollup -c /home/runner/work/immune-assay-data/immune-assay-data/node_modules/.pnpm/@milaboratories+ts-builder@1.2.4_@microsoft+api-extractor@7.55.2_@types+node@24.5.2__@types+n_2542zcbhivqjvvaw7mnpl5fyam/node_modules/@milaboratories/ts-builder/dist/configs/rollup.block-model.config.js
8
8
  
9
9
  ./src/index.ts → dist, dist...
10
- created dist, dist in 1.2s
10
+ created dist, dist in 1s
11
11
  
12
12
  ./src/index.ts → dist...
13
13
  (!) Circular dependency
14
- ../node_modules/.pnpm/@platforma-sdk+model@1.53.2/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.2/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.2/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
15
- created dist in 2s
14
+ ../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.3/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
15
+ created dist in 2.4s
16
16
  Build completed successfully
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/home/runner/work/immune-assay-data/immune-assay-data/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.immune-assay-data.model@1.5.2 lint /home/runner/work/immune-assay-data/immune-assay-data/model
3
+ > @platforma-open/milaboratories.immune-assay-data.model@1.5.3 lint /home/runner/work/immune-assay-data/immune-assay-data/model
4
4
  > eslint .
5
5
 
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/immune-assay-data/immune-assay-data/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.immune-assay-data.model@1.5.2 type-check /home/runner/work/immune-assay-data/immune-assay-data/model
3
+ > @platforma-open/milaboratories.immune-assay-data.model@1.5.3 type-check /home/runner/work/immune-assay-data/immune-assay-data/model
4
4
  > ts-builder types --target block-model
5
5
 
6
6
  ↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.immune-assay-data.model
2
2
 
3
+ ## 1.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 59c14ff: Set default block label, use sdk strings for status messages
8
+
3
9
  ## 1.5.2
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -7524,7 +7524,7 @@
7524
7524
  }
7525
7525
  }
7526
7526
 
7527
- var version = "1.53.2";
7527
+ var version = "1.53.3";
7528
7528
 
7529
7529
  const PlatformaSDKVersion = version;
7530
7530
 
@@ -8587,6 +8587,24 @@
8587
8587
  errors: z.lazy(() => ErrorShape.array()).optional(),
8588
8588
  });
8589
8589
 
8590
+ function getDefaultBlockLabel(data) {
8591
+ const parts = [];
8592
+ // Add file name if available
8593
+ if (data.fileName) {
8594
+ parts.push(data.fileName);
8595
+ }
8596
+ // Add similarity type label
8597
+ const similarityLabel = data.similarityType === 'alignment-score' ? 'BLOSUM' : 'Exact Match';
8598
+ if (similarityLabel) {
8599
+ parts.push(similarityLabel);
8600
+ }
8601
+ // Add identity threshold
8602
+ parts.push(`ident:${data.identity}`);
8603
+ // Add coverage threshold
8604
+ parts.push(`cov:${data.coverageThreshold}`);
8605
+ return parts.filter(Boolean).join(', ');
8606
+ }
8607
+
8590
8608
  function getColumns(ctx) {
8591
8609
  const anchor = ctx.args.datasetRef;
8592
8610
  if (anchor === undefined)
@@ -8607,7 +8625,11 @@
8607
8625
  }
8608
8626
  const model = BlockModel.create()
8609
8627
  .withArgs({
8610
- defaultBlockLabel: '',
8628
+ defaultBlockLabel: getDefaultBlockLabel({
8629
+ similarityType: 'alignment-score',
8630
+ identity: 0.9,
8631
+ coverageThreshold: 0.95,
8632
+ }),
8611
8633
  customBlockLabel: '',
8612
8634
  settings: {
8613
8635
  coverageThreshold: 0.95, // default value matching MMseqs2 default
@@ -8728,6 +8750,7 @@
8728
8750
  ]))
8729
8751
  .done(2);
8730
8752
 
8753
+ exports.getDefaultBlockLabel = getDefaultBlockLabel;
8731
8754
  exports.model = model;
8732
8755
 
8733
8756
  }));