@platforma-open/milaboratories.clonotype-enrichment.model 3.1.2 → 3.2.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.
- package/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/bundle.js +17 -17
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +18 -18
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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@3.1
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-enrichment.model@3.2.1 build /home/runner/work/clonotype-enrichment/clonotype-enrichment/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-enrichment/clonotype-enrichment/node_modules/.pnpm/@milaboratories+ts-builder@1.2.9_@types+node@24.5.2_sass-embedded@1.89.0_tslib@2.8.1_yaml@2.8.2/node_modules/@milaboratories/ts-builder/dist/configs/rollup.block-model.config.js
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist, dist[22m...[39m
|
|
10
|
-
[32mcreated [1mdist, dist[22m in [
|
|
10
|
+
[32mcreated [1mdist, dist[22m in [1m3s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/index.ts[22m → [1mdist[22m...[39m
|
|
13
13
|
[1m[33m(!) Circular dependency[39m[22m
|
|
14
14
|
../node_modules/.pnpm/@platforma-sdk+model@1.53.15/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.15/node_modules/@platforma-sdk/model/dist/pframe_utils/columns.js -> ../node_modules/.pnpm/@platforma-sdk+model@1.53.15/node_modules/@platforma-sdk/model/dist/components/PFrameForGraphs.js
|
|
15
|
-
[32mcreated [1mdist[22m in [
|
|
15
|
+
[32mcreated [1mdist[22m in [1m3.6s[22m[39m
|
|
16
16
|
Build completed successfully
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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@3.1
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-enrichment.model@3.2.1 lint /home/runner/work/clonotype-enrichment/clonotype-enrichment/model
|
|
4
4
|
> eslint .
|
|
5
5
|
|
|
@@ -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@3.1
|
|
3
|
+
> @platforma-open/milaboratories.clonotype-enrichment.model@3.2.1 type-check /home/runner/work/clonotype-enrichment/clonotype-enrichment/model
|
|
4
4
|
> ts-builder type-check --target block-model
|
|
5
5
|
|
|
6
6
|
↳ tsc --noEmit --project ./tsconfig.json --customConditions ,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.clonotype-enrichment.model
|
|
2
2
|
|
|
3
|
+
## 3.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bf55aca: Modify default pseudocount
|
|
8
|
+
|
|
9
|
+
## 3.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 8956099: Library selection by metadata and bug fixes
|
|
14
|
+
|
|
3
15
|
## 3.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -8652,6 +8652,7 @@
|
|
|
8652
8652
|
rounds: [],
|
|
8653
8653
|
logic: 'OR',
|
|
8654
8654
|
},
|
|
8655
|
+
excludeSequencedLibrary: true,
|
|
8655
8656
|
},
|
|
8656
8657
|
additionalEnrichmentExports: [],
|
|
8657
8658
|
antigenControlConfig: {
|
|
@@ -8663,12 +8664,12 @@
|
|
|
8663
8664
|
singleControlFrequencyThreshold: 0.01,
|
|
8664
8665
|
controlConditionsOrder: [],
|
|
8665
8666
|
sequencedLibraryEnabled: false,
|
|
8666
|
-
|
|
8667
|
+
sequencedLibraryAntigen: undefined,
|
|
8667
8668
|
hasSingleConditionNegativeControl: false,
|
|
8668
8669
|
hasMultiConditionNegativeControl: false,
|
|
8669
8670
|
},
|
|
8670
8671
|
enrichmentThreshold: 2.0,
|
|
8671
|
-
pseudoCount:
|
|
8672
|
+
pseudoCount: 1,
|
|
8672
8673
|
})
|
|
8673
8674
|
.withUiState({
|
|
8674
8675
|
tableState: createPlDataTableStateV2(),
|
|
@@ -8733,6 +8734,16 @@
|
|
|
8733
8734
|
|| antigenControlConfig.singleControlFrequencyThreshold === undefined)
|
|
8734
8735
|
return false;
|
|
8735
8736
|
}
|
|
8737
|
+
if (antigenControlConfig.sequencedLibraryEnabled) {
|
|
8738
|
+
if (!antigenControlConfig.sequencedLibraryAntigen)
|
|
8739
|
+
return false;
|
|
8740
|
+
if (conditionOrder.length === 0)
|
|
8741
|
+
return false; // no conditions to compare to
|
|
8742
|
+
}
|
|
8743
|
+
else {
|
|
8744
|
+
if (conditionOrder.length <= 1)
|
|
8745
|
+
return false; // no conditions to compare to
|
|
8746
|
+
}
|
|
8736
8747
|
return true;
|
|
8737
8748
|
})
|
|
8738
8749
|
.output('abundanceOptions', (ctx) => ctx.resultPool.getOptions([{
|
|
@@ -8808,16 +8819,6 @@
|
|
|
8808
8819
|
antigenColId = antigenCols?.[0]?.id;
|
|
8809
8820
|
}
|
|
8810
8821
|
return { conditionColId, antigenColId };
|
|
8811
|
-
})
|
|
8812
|
-
// Sample id → label map for all datasets from sample Samples & Data block
|
|
8813
|
-
.output('sampleLabels', (ctx) => {
|
|
8814
|
-
const { abundanceRef: anchor } = ctx.args;
|
|
8815
|
-
if (!anchor)
|
|
8816
|
-
return undefined;
|
|
8817
|
-
const spec = ctx.resultPool.getPColumnSpecByRef(anchor);
|
|
8818
|
-
if (!spec || !spec.axesSpec[0])
|
|
8819
|
-
return undefined;
|
|
8820
|
-
return ctx.resultPool.findLabels(spec.axesSpec[0]);
|
|
8821
8822
|
})
|
|
8822
8823
|
// Get only the sample IDs from the selected abundance column
|
|
8823
8824
|
.output('sampleIds', (ctx) => {
|
|
@@ -8971,14 +8972,13 @@
|
|
|
8971
8972
|
{ type: 'link', href: '/stacked', label: 'Frequency Bar Plot' },
|
|
8972
8973
|
];
|
|
8973
8974
|
if (ctx.args.antigenControlConfig.controlEnabled) {
|
|
8974
|
-
if (ctx.args.antigenControlConfig.
|
|
8975
|
-
|
|
8975
|
+
if (ctx.args.antigenControlConfig.controlConditionsOrder.length > 1
|
|
8976
|
+
|| (ctx.args.antigenControlConfig.sequencedLibraryEnabled === true
|
|
8976
8977
|
&& ctx.args.antigenControlConfig.controlConditionsOrder.length === 1)) {
|
|
8977
8978
|
sections.push({ type: 'link', href: '/scatter', label: 'Control Scatter Plot' });
|
|
8978
8979
|
}
|
|
8979
|
-
if (ctx.args.antigenControlConfig.
|
|
8980
|
-
|
|
8981
|
-
&& ctx.args.antigenControlConfig.controlConditionsOrder.length === 1)) {
|
|
8980
|
+
if (ctx.args.antigenControlConfig.sequencedLibraryEnabled === false
|
|
8981
|
+
&& ctx.args.antigenControlConfig.controlConditionsOrder.length === 1) {
|
|
8982
8982
|
sections.push({ type: 'link', href: '/box', label: 'Control Box Plot' });
|
|
8983
8983
|
}
|
|
8984
8984
|
}
|