@platforma-open/milaboratories.sequence-properties.model 1.1.2 → 1.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.
- package/.turbo/turbo-build.log +16 -16
- package/.turbo/turbo-check.log +3 -3
- package/CHANGELOG.md +12 -0
- package/dist/bundle.js +57 -6
- package/dist/bundle.js.map +1 -1
- package/dist/dataModel.cjs +20 -1
- package/dist/dataModel.cjs.map +1 -1
- package/dist/dataModel.d.ts.map +1 -1
- package/dist/dataModel.js +20 -1
- package/dist/dataModel.js.map +1 -1
- package/dist/index.cjs +37 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +40 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -5
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/dataModel.ts +29 -4
- package/src/index.ts +54 -2
- package/src/types.ts +9 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.sequence-properties.model@1.2.0 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...
|
|
@@ -8,21 +8,21 @@ Building block-model project...
|
|
|
8
8
|
[33m[PLUGIN_TIMINGS] Warning:[0m Your build spent significant time in plugin `rolldown-plugin-dts:generate`. See https://rolldown.rs/options/checks#plugintimings for more details.
|
|
9
9
|
|
|
10
10
|
[log] <DIR>/dataModel.d.ts.map asset │ size: 0.14 kB
|
|
11
|
-
[log] <DIR>/types.d.ts.map asset │ size: 0.
|
|
12
|
-
[log] <DIR>/dataModel.js.map asset │ size:
|
|
13
|
-
[log] <DIR>/index.d.ts.map asset │ size:
|
|
14
|
-
[log] <DIR>/index.js.map asset │ size:
|
|
11
|
+
[log] <DIR>/types.d.ts.map asset │ size: 0.39 kB
|
|
12
|
+
[log] <DIR>/dataModel.js.map asset │ size: 1.50 kB
|
|
13
|
+
[log] <DIR>/index.d.ts.map asset │ size: 2.00 kB
|
|
14
|
+
[log] <DIR>/index.js.map asset │ size: 11.88 kB
|
|
15
15
|
[log] <DIR>/dataModel.d.ts chunk │ size: 0.29 kB
|
|
16
|
-
[log] <DIR>/dataModel.js chunk │ size: 0.
|
|
17
|
-
[log] <DIR>/types.d.ts chunk │ size: 0.
|
|
18
|
-
[log] <DIR>/index.js chunk │ size:
|
|
19
|
-
[log] <DIR>/index.d.ts chunk │ size:
|
|
20
|
-
[log] <DIR>/dataModel.cjs.map asset │ size:
|
|
21
|
-
[log] <DIR>/index.cjs.map asset │ size:
|
|
22
|
-
[log] <DIR>/dataModel.cjs chunk │ size:
|
|
23
|
-
[log] <DIR>/index.cjs chunk │ size:
|
|
24
|
-
[log] <DIR>/bundle.js.map asset │ size:
|
|
25
|
-
[log] <DIR>/bundle.js chunk │ size:
|
|
16
|
+
[log] <DIR>/dataModel.js chunk │ size: 0.80 kB
|
|
17
|
+
[log] <DIR>/types.d.ts chunk │ size: 0.89 kB
|
|
18
|
+
[log] <DIR>/index.js chunk │ size: 4.47 kB
|
|
19
|
+
[log] <DIR>/index.d.ts chunk │ size: 58.01 kB
|
|
20
|
+
[log] <DIR>/dataModel.cjs.map asset │ size: 1.54 kB
|
|
21
|
+
[log] <DIR>/index.cjs.map asset │ size: 12.01 kB
|
|
22
|
+
[log] <DIR>/dataModel.cjs chunk │ size: 0.83 kB
|
|
23
|
+
[log] <DIR>/index.cjs chunk │ size: 4.72 kB
|
|
24
|
+
[log] <DIR>/bundle.js.map asset │ size: 682.96 kB
|
|
25
|
+
[log] <DIR>/bundle.js chunk │ size: 346.26 kB
|
|
26
26
|
[log]
|
|
27
|
-
[success] rolldown v1.0.0-rc.16 Finished in
|
|
27
|
+
[success] rolldown v1.0.0-rc.16 Finished in 10.54 s
|
|
28
28
|
Build completed successfully
|
package/.turbo/turbo-check.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.sequence-properties.model@1.2.0 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
|
|
10
|
+
Finished in 13ms 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
|
|
17
|
+
Finished in 255ms 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.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c6e975d: Add Scatterplot and Histogram tabs to the Sequence Properties block. Both
|
|
8
|
+
panels read the existing `propertiesPf` p-frame and pick modality-aware
|
|
9
|
+
defaults: peptide charge / hydrophobicity in peptide mode, chain "A" CDR3
|
|
10
|
+
charge / hydrophobicity in antibody/TCR mode. Axis pickers list every
|
|
11
|
+
numeric scalar PColumn emitted by the run, excluding the 2-axis AA fraction
|
|
12
|
+
column. R21 / R21a reference line at GRAVY = 0 deferred — see
|
|
13
|
+
docs/spec-deviations.md SD-009.
|
|
14
|
+
|
|
3
15
|
## 1.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -9961,7 +9961,26 @@
|
|
|
9961
9961
|
});
|
|
9962
9962
|
//#endregion
|
|
9963
9963
|
//#region src/dataModel.ts
|
|
9964
|
-
const
|
|
9964
|
+
const DEFAULT_SCATTER_STATE = {
|
|
9965
|
+
title: "",
|
|
9966
|
+
template: "dots",
|
|
9967
|
+
currentTab: null
|
|
9968
|
+
};
|
|
9969
|
+
const DEFAULT_HISTOGRAM_STATE = {
|
|
9970
|
+
title: "",
|
|
9971
|
+
template: "bins",
|
|
9972
|
+
currentTab: null,
|
|
9973
|
+
layersSettings: { bins: { fillColor: "#99e099" } }
|
|
9974
|
+
};
|
|
9975
|
+
const blockDataModel = new DataModelBuilder().from("Ver_2026_04_28").migrate("Ver_2026_05_05", (v1) => ({
|
|
9976
|
+
...v1,
|
|
9977
|
+
graphStateScatter: { ...DEFAULT_SCATTER_STATE },
|
|
9978
|
+
graphStateHistogram: { ...DEFAULT_HISTOGRAM_STATE }
|
|
9979
|
+
})).init(() => ({
|
|
9980
|
+
tableState: createPlDataTableStateV2(),
|
|
9981
|
+
graphStateScatter: { ...DEFAULT_SCATTER_STATE },
|
|
9982
|
+
graphStateHistogram: { ...DEFAULT_HISTOGRAM_STATE }
|
|
9983
|
+
}));
|
|
9965
9984
|
//#endregion
|
|
9966
9985
|
//#region src/index.ts
|
|
9967
9986
|
const inputAnchorSpecs = [
|
|
@@ -10021,11 +10040,43 @@
|
|
|
10021
10040
|
visibility: "optional"
|
|
10022
10041
|
}] }
|
|
10023
10042
|
});
|
|
10024
|
-
}).
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10043
|
+
}).outputWithStatus("propertiesPfHandle", (ctx) => {
|
|
10044
|
+
const allPCols = ctx.outputs?.resolve("propertiesPf")?.getPColumns();
|
|
10045
|
+
if (allPCols === void 0) return void 0;
|
|
10046
|
+
const pCols = allPCols.filter((c) => c.spec.name !== "pl7.app/aaFraction");
|
|
10047
|
+
const inputAnchor = ctx.data.inputAnchor;
|
|
10048
|
+
const upstreamMeta = inputAnchor !== void 0 ? (ctx.resultPool.getAnchoredPColumns({ main: inputAnchor }, [{ axes: [{
|
|
10049
|
+
anchor: "main",
|
|
10050
|
+
idx: 0
|
|
10051
|
+
}] }, { axes: [{
|
|
10052
|
+
anchor: "main",
|
|
10053
|
+
idx: 1
|
|
10054
|
+
}] }]) ?? []).filter((c) => !c.spec.annotations?.[Annotation.Trace]?.includes("milaboratories.sequence-properties")) : [];
|
|
10055
|
+
return ctx.createPFrame([...pCols, ...upstreamMeta]);
|
|
10056
|
+
}).output("propertiesPfCols", (ctx) => {
|
|
10057
|
+
const pCols = ctx.outputs?.resolve("propertiesPf")?.getPColumns();
|
|
10058
|
+
if (pCols === void 0) return void 0;
|
|
10059
|
+
return pCols.map((c) => ({
|
|
10060
|
+
columnId: c.id,
|
|
10061
|
+
spec: c.spec
|
|
10062
|
+
}));
|
|
10063
|
+
}).title(() => "Sequence Properties").subtitle((ctx) => ctx.data.defaultBlockLabel ?? "").sections(() => [
|
|
10064
|
+
{
|
|
10065
|
+
type: "link",
|
|
10066
|
+
href: "/",
|
|
10067
|
+
label: "Main"
|
|
10068
|
+
},
|
|
10069
|
+
{
|
|
10070
|
+
type: "link",
|
|
10071
|
+
href: "/scatter",
|
|
10072
|
+
label: "Scatterplot"
|
|
10073
|
+
},
|
|
10074
|
+
{
|
|
10075
|
+
type: "link",
|
|
10076
|
+
href: "/histogram",
|
|
10077
|
+
label: "Histogram"
|
|
10078
|
+
}
|
|
10079
|
+
]).done();
|
|
10029
10080
|
//#endregion
|
|
10030
10081
|
exports.blockDataModel = blockDataModel;
|
|
10031
10082
|
exports.platforma = platforma$1;
|