@platforma-open/milaboratories.sequence-properties.model 1.1.1 → 1.1.2

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/sequence-properties/sequence-properties/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.sequence-properties.model@1.1.1 build /home/runner/work/sequence-properties/sequence-properties/model
3
+ > @platforma-open/milaboratories.sequence-properties.model@1.1.2 build /home/runner/work/sequence-properties/sequence-properties/model
4
4
  > ts-builder build --target block-model && block-tools build-model
5
5
 
6
6
  Building block-model project...
@@ -11,18 +11,18 @@ Building block-model project...
11
11
  [log] <DIR>/types.d.ts.map asset │ size: 0.31 kB
12
12
  [log] <DIR>/dataModel.js.map asset │ size: 0.49 kB
13
13
  [log] <DIR>/index.d.ts.map asset │ size: 1.96 kB
14
- [log] <DIR>/index.js.map asset │ size: 5.91 kB
14
+ [log] <DIR>/index.js.map asset │ size: 8.56 kB
15
15
  [log] <DIR>/dataModel.d.ts chunk │ size: 0.29 kB
16
16
  [log] <DIR>/dataModel.js chunk │ size: 0.32 kB
17
17
  [log] <DIR>/types.d.ts chunk │ size: 0.71 kB
18
- [log] <DIR>/index.js chunk │ size: 2.46 kB
18
+ [log] <DIR>/index.js chunk │ size: 3.46 kB
19
19
  [log] <DIR>/index.d.ts chunk │ size: 56.81 kB
20
20
  [log] <DIR>/dataModel.cjs.map asset │ size: 0.53 kB
21
- [log] <DIR>/index.cjs.map asset │ size: 6.04 kB
21
+ [log] <DIR>/index.cjs.map asset │ size: 8.68 kB
22
22
  [log] <DIR>/dataModel.cjs chunk │ size: 0.35 kB
23
- [log] <DIR>/index.cjs chunk │ size: 2.69 kB
24
- [log] <DIR>/bundle.js.map asset │ size: 675.99 kB
25
- [log] <DIR>/bundle.js chunk │ size: 343.70 kB
23
+ [log] <DIR>/index.cjs chunk │ size: 3.70 kB
24
+ [log] <DIR>/bundle.js.map asset │ size: 678.63 kB
25
+ [log] <DIR>/bundle.js chunk │ size: 344.72 kB
26
26
  [log]
27
- [success] rolldown v1.0.0-rc.16 Finished in 5.42 s
27
+ [success] rolldown v1.0.0-rc.16 Finished in 6.27 s
28
28
  Build completed successfully
@@ -1,19 +1,19 @@
1
1
   WARN  Issue while reading "/home/runner/work/sequence-properties/sequence-properties/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.sequence-properties.model@1.1.1 check /home/runner/work/sequence-properties/sequence-properties/model
3
+ > @platforma-open/milaboratories.sequence-properties.model@1.1.2 check /home/runner/work/sequence-properties/sequence-properties/model
4
4
  > ts-builder check --target block-model
5
5
 
6
6
  ↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
7
7
  Linting project...
8
8
  ↳ oxlint --config /home/runner/work/sequence-properties/sequence-properties/model/.oxlintrc.json --deny-warnings
9
9
  Found 0 warnings and 0 errors.
10
- Finished in 8ms on 3 files with 90 rules using 2 threads.
10
+ Finished in 24ms on 3 files with 90 rules using 2 threads.
11
11
  Linting completed successfully
12
12
  Checking formatting...
13
13
  ↳ oxfmt --check --config /home/runner/work/sequence-properties/sequence-properties/model/.oxfmtrc.json
14
14
  Checking formatting...
15
15
 
16
16
  All matched files use the correct format.
17
- Finished in 252ms on 7 files using 2 threads.
17
+ Finished in 457ms on 7 files using 2 threads.
18
18
  Format check completed successfully
19
19
  All checks passed!
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @platforma-open/MiLaboratories.sequence-properties.model
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9d628d9: **Workflow (SD-008):** Derive receptor from `pl7.app/vdj/chain` when `pl7.app/vdj/receptor` is absent. Bulk MiXCR axes carry the chain key (`IGHeavy`, `IGLight`, `TCRAlpha`, `TCRBeta`, `TCRGamma`, `TCRDelta`) without the receptor key, which previously fired R13b's "Receptor type not detected" warning on every bulk run. Detection precedence now: axis receptor → axis chain → per-column receptor → per-column chain → IG default + warning. Inputs that carry receptor explicitly are unaffected.
8
+
9
+ **Model:** Default-visible single upstream amino-acid sequence column matching the analysed coverage tier — peptide (`pl7.app/sequence`, feature=peptide) for peptide mode; full-chain VDJRegion (`pl7.app/vdj/sequence`, feature=VDJRegion or VDJRegionInFrame, chain A) for `full_chain` tier; CDR3 (`pl7.app/vdj/sequence`, feature=CDR3, chain A) for `cdr3_only` and `partial` tiers. Chain B (light / beta / delta) and secondary alleles stay available via the column picker.
10
+
11
+ **UI:** Move the "Input dataset" picker into a Settings slide-out drawer (matches the convention used by clonotype-clustering and other sibling blocks). Drawer auto-opens on first load when no input is selected, auto-closes when the workflow starts running.
12
+
13
+ **Software:** Switch the Python runenv from `runenv-python-3:3.12.10` to `runenv-python-3:3.12.10-scientific-slim`. The scientific-slim image now ships biopython, so the per-block dependency install is faster and matches the convention used by sibling python blocks (e.g. `titeseq-analysis`).
14
+
3
15
  ## 1.1.1
4
16
 
5
17
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -9989,6 +9989,9 @@
9989
9989
  if (ctx.data.inputAnchor === void 0) return void 0;
9990
9990
  const ownCols = ctx.outputs?.resolve("propertiesPf")?.getPColumns();
9991
9991
  if (ownCols === void 0) return void 0;
9992
+ const info = ctx.outputs?.resolve("info")?.getDataAsJson();
9993
+ if (info === void 0) return void 0;
9994
+ const tier = info.coverageTier;
9992
9995
  const sources = [new ArrayColumnProvider(ctx.resultPool.selectColumns((spec) => !spec.annotations?.[Annotation.Trace]?.includes("milaboratories.sequence-properties"))), new ArrayColumnProvider(ownCols)];
9993
9996
  return createPlDataTableV3(ctx, {
9994
9997
  tableState: ctx.data.tableState,
@@ -9998,6 +10001,22 @@
9998
10001
  selector: { mode: "enrichment" }
9999
10002
  },
10000
10003
  displayOptions: { visibility: [{
10004
+ match: (spec) => {
10005
+ if (spec.domain?.["pl7.app/vdj/scClonotypeChain/index"] === "secondary") return false;
10006
+ if (spec.domain?.["pl7.app/alphabet"] !== "aminoacid") return false;
10007
+ const isVdj = spec.name === "pl7.app/vdj/sequence";
10008
+ const isUniversal = spec.name === "pl7.app/sequence";
10009
+ if (!isVdj && !isUniversal) return false;
10010
+ const feature = isVdj ? spec.domain?.["pl7.app/vdj/feature"] : spec.domain?.["pl7.app/feature"];
10011
+ if (tier === "peptide") return isUniversal && feature === "peptide";
10012
+ const chain = spec.domain?.["pl7.app/vdj/scClonotypeChain"];
10013
+ if (chain !== void 0 && chain !== "A") return false;
10014
+ if (tier === "full_chain") return feature === "VDJRegion" || feature === "VDJRegionInFrame";
10015
+ if (tier === "cdr3_only" || tier === "partial") return feature === "CDR3";
10016
+ return false;
10017
+ },
10018
+ visibility: "default"
10019
+ }, {
10001
10020
  match: (spec) => !spec.annotations?.[Annotation.Trace]?.includes("milaboratories.sequence-properties") && spec.annotations?.["pl7.app/isLinkerColumn"] !== "true",
10002
10021
  visibility: "optional"
10003
10022
  }] }