@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow 1.11.0 → 1.12.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,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.11.0 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
3
+ > @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.12.0 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  Processing "src/aggregate-by-clonotype-key.tpl.tengo"...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow
2
2
 
3
+ ## 1.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 75ca0ce: change isProductive column values to true and false, sdk update
8
+
3
9
  ## 1.11.0
4
10
 
5
11
  ### Minor Changes
@@ -508,7 +508,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
508
508
  annotations: a(orderP, variant.visibility, {
509
509
  "pl7.app/label": variant.label,
510
510
  "pl7.app/isDiscreteFilter": "true",
511
- "pl7.app/discreteValues": string(json.encode(["True", "False"])) } )
511
+ "pl7.app/discreteValues": string(json.encode(["true", "false"])) } )
512
512
  }
513
513
  }
514
514
  ]
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "MiXCR Amplicon Alignment Workflow",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@platforma-sdk/workflow-tengo": "^5.5.0",
7
+ "@platforma-sdk/workflow-tengo": "^5.5.9",
8
8
  "@platforma-open/milaboratories.software-mixcr": "4.7.0-235-develop",
9
9
  "@platforma-open/milaboratories.software-repseqio": "^2.5.0-13-master"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@platforma-sdk/tengo-builder": "^2.3.3",
13
- "@platforma-sdk/test": "^1.45.0",
13
+ "@platforma-sdk/test": "^1.45.11",
14
14
  "vitest": "^2.1.8"
15
15
  },
16
16
  "scripts": {
@@ -508,7 +508,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
508
508
  annotations: a(orderP, variant.visibility, {
509
509
  "pl7.app/label": variant.label,
510
510
  "pl7.app/isDiscreteFilter": "true",
511
- "pl7.app/discreteValues": string(json.encode(["True", "False"])) } )
511
+ "pl7.app/discreteValues": string(json.encode(["true", "false"])) } )
512
512
  }
513
513
  }
514
514
  ]
@@ -21,6 +21,7 @@ self.body(func(inputs) {
21
21
  exportArgs := params.exportArgs
22
22
 
23
23
  clonotypeKeyColumns := params.clonotypeKeyColumns
24
+ mainIsProductiveColumn := params.mainIsProductiveColumn
24
25
 
25
26
  hashKeyDerivationExpressionPt := func(sourceColumns) {
26
27
  return pt.concatStr(
@@ -87,6 +88,15 @@ self.body(func(inputs) {
87
88
  dfMain.addColumns(
88
89
  pt.col("readCount").round().cast("Long").alias("readCount")
89
90
  )
91
+ // Normalize isProductive column casing to strictly "true"/"false"
92
+ if !is_undefined(mainIsProductiveColumn) {
93
+ dfMain.addColumns(
94
+ pt.when(pt.col(mainIsProductiveColumn).strToUpper().eq("TRUE")).
95
+ then(pt.lit("true")).
96
+ otherwise(pt.lit("false")).
97
+ alias(mainIsProductiveColumn)
98
+ )
99
+ }
90
100
  dfMain.addColumns(
91
101
  hashKeyDerivationExpressionPt(clonotypeKeyColumns).alias("clonotypeKey")
92
102
  )
@@ -222,7 +222,8 @@ self.body(func(inputs) {
222
222
  clonotypeKeyColumns: clonotypeKeyColumns,
223
223
  exportArgs: exportArgs,
224
224
  referenceLibrary: referenceLibrary,
225
- mixcrChains: mixcrChains
225
+ mixcrChains: mixcrChains,
226
+ mainIsProductiveColumn: mainIsProductiveColumn
226
227
  }
227
228
  }
228
229
  }