@platforma-open/milaboratories.clonotype-clustering.model 2.14.2 → 2.15.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,16 +1,16 @@
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.14.2 build /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.15.0 build /home/runner/work/clonotype-clustering/clonotype-clustering/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/clonotype-clustering/clonotype-clustering/node_modules/.pnpm/@milaboratories+ts-builder@1.2.1_@microsoft+api-extractor@7.55.2_@types+node@24.5.2__@types+n_6gqrcohg6rrrhu5lui6bcpwgfa/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 3.5s
10
+ created dist, dist in 2.5s
11
11
  
12
12
  ./src/index.ts → dist...
13
13
  (!) Circular dependency
14
14
  ../node_modules/.pnpm/@platforma-sdk+model@1.51.2/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.51.2/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.51.2/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
15
- created dist in 3.8s
15
+ created dist in 3.2s
16
16
  Build completed successfully
@@ -1,5 +1,5 @@
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.14.2 lint /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.15.0 lint /home/runner/work/clonotype-clustering/clonotype-clustering/model
4
4
  > eslint .
5
5
 
@@ -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.14.2 type-check /home/runner/work/clonotype-clustering/clonotype-clustering/model
3
+ > @platforma-open/milaboratories.clonotype-clustering.model@2.15.0 type-check /home/runner/work/clonotype-clustering/clonotype-clustering/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.clonotype-clustering.model
2
2
 
3
+ ## 2.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c56955f: Added support for running state and labels
8
+
3
9
  ## 2.14.2
4
10
 
5
11
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -8182,6 +8182,8 @@
8182
8182
 
8183
8183
  const model = BlockModel.create()
8184
8184
  .withArgs({
8185
+ defaultBlockLabel: '',
8186
+ customBlockLabel: '',
8185
8187
  identity: 0.8,
8186
8188
  sequenceType: 'aminoacid',
8187
8189
  sequencesRef: [],
@@ -8192,7 +8194,6 @@
8192
8194
  trimEnd: 0, // default to no trimming from end
8193
8195
  })
8194
8196
  .withUiState({
8195
- title: 'Clonotype Clustering',
8196
8197
  tableState: createPlDataTableStateV2(),
8197
8198
  graphStateBubble: {
8198
8199
  title: 'Most abundant clusters',
@@ -8306,7 +8307,7 @@
8306
8307
  }
8307
8308
  return undefined;
8308
8309
  })
8309
- .output('clustersTable', (ctx) => {
8310
+ .outputWithStatus('clustersTable', (ctx) => {
8310
8311
  const pCols = ctx.outputs?.resolve('clustersPf')?.getPColumns();
8311
8312
  if (pCols === undefined)
8312
8313
  return undefined;
@@ -8354,14 +8355,14 @@
8354
8355
  return undefined;
8355
8356
  return anchorSpec;
8356
8357
  })
8357
- .output('clustersPf', (ctx) => {
8358
+ .outputWithStatus('clustersPf', (ctx) => {
8358
8359
  const pCols = ctx.outputs?.resolve('pf')?.getPColumns();
8359
8360
  if (pCols === undefined) {
8360
8361
  return undefined;
8361
8362
  }
8362
8363
  return createPFrameForGraphs(ctx, pCols);
8363
8364
  })
8364
- .output('bubblePlotPf', (ctx) => {
8365
+ .outputWithStatus('bubblePlotPf', (ctx) => {
8365
8366
  const pCols = ctx.outputs?.resolve('bubblePlotPf')?.getPColumns();
8366
8367
  if (pCols === undefined) {
8367
8368
  return undefined;
@@ -8390,7 +8391,8 @@
8390
8391
  }));
8391
8392
  })
8392
8393
  .output('isRunning', (ctx) => ctx.outputs?.getIsReadyOrError() === false)
8393
- .title((ctx) => ctx.uiState?.title ?? 'Clonotype Clustering')
8394
+ .title(() => 'Clonotype Clustering')
8395
+ .subtitle((ctx) => ctx.args.customBlockLabel || ctx.args.defaultBlockLabel)
8394
8396
  .sections((_ctx) => [
8395
8397
  { type: 'link', href: '/', label: 'Main' },
8396
8398
  { type: 'link', href: '/bubble', label: 'Most abundant clusters' },