@platforma-open/milaboratories.top-antibodies.workflow 2.1.0 → 2.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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.top-antibodies.workflow@2.1.0 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
3
+ > @platforma-open/milaboratories.top-antibodies.workflow@2.2.0 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
4
4
  > shx rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  Processing "src/assembling-fasta.tpl.tengo"...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @platforma-open/milaboratories.top-antibodies.workflow
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f54202c: Add isNA/isNotNA filter types for lead selection filters
8
+
9
+ Columns with discrete allowed values (like Structural Liabilities with None/Low/Medium/High) previously only offered "Is one of" / "Is not one of" filter types, making it impossible to filter by empty/NA values. Now all column types (numeric, string, and discrete) include "Is empty (NA)" and "Is not empty (NA)" filter options.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [f54202c]
14
+ - @platforma-open/milaboratories.top-antibodies.sample-clonotypes@2.1.0
15
+
3
16
  ## 2.1.0
4
17
 
5
18
  ### Minor Changes
@@ -581,7 +581,9 @@ filterOperatorMap := {
581
581
  "string_contains": "contains",
582
582
  "string_doesNotContain": "not contains",
583
583
  "string_in": "in",
584
- "string_notIn": "not in"
584
+ "string_notIn": "not in",
585
+ "isNA": "is empty",
586
+ "isNotNA": "is not empty"
585
587
  }
586
588
 
587
589
 
@@ -603,6 +605,11 @@ formatFilterDescription := func(columnLabel, filter) {
603
605
  op = filter.type
604
606
  }
605
607
 
608
+
609
+ if filter.type == "isNA" || filter.type == "isNotNA" {
610
+ return columnLabel + " " + op
611
+ }
612
+
606
613
  ref := filter.reference
607
614
 
608
615
  if filter.type == "string_in" || filter.type == "string_notIn" {
Binary file
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.top-antibodies.workflow",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "Block Workflow",
6
6
  "dependencies": {
7
- "@platforma-sdk/workflow-tengo": "5.8.2",
7
+ "@platforma-sdk/workflow-tengo": "5.11.0",
8
8
  "@platforma-open/milaboratories.software-anarci": "^0.0.3",
9
- "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "2.0.0",
10
- "@platforma-open/milaboratories.top-antibodies.umap": "1.2.1",
11
9
  "@platforma-open/milaboratories.top-antibodies.spectratype": "1.8.1",
12
10
  "@platforma-open/milaboratories.top-antibodies.assembling-fasta": "1.3.0",
13
- "@platforma-open/milaboratories.top-antibodies.anarci-kabat": "1.4.0"
11
+ "@platforma-open/milaboratories.top-antibodies.umap": "1.2.1",
12
+ "@platforma-open/milaboratories.top-antibodies.anarci-kabat": "1.4.0",
13
+ "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "2.1.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@platforma-sdk/tengo-builder": "2.4.18"
16
+ "@platforma-sdk/tengo-builder": "2.5.2"
17
17
  },
18
18
  "scripts": {
19
19
  "build": "shx rm -rf dist && pl-tengo check && pl-tengo build",
@@ -581,7 +581,9 @@ filterOperatorMap := {
581
581
  "string_contains": "contains",
582
582
  "string_doesNotContain": "not contains",
583
583
  "string_in": "in",
584
- "string_notIn": "not in"
584
+ "string_notIn": "not in",
585
+ "isNA": "is empty",
586
+ "isNotNA": "is not empty"
585
587
  }
586
588
 
587
589
  /**
@@ -603,6 +605,11 @@ formatFilterDescription := func(columnLabel, filter) {
603
605
  op = filter.type
604
606
  }
605
607
 
608
+ // isNA/isNotNA have no reference value
609
+ if filter.type == "isNA" || filter.type == "isNotNA" {
610
+ return columnLabel + " " + op
611
+ }
612
+
606
613
  ref := filter.reference
607
614
  // In multiple select filters, parse JSON array and join values
608
615
  if filter.type == "string_in" || filter.type == "string_notIn" {