@platforma-open/milaboratories.top-antibodies.workflow 1.10.1 → 1.10.3

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@1.10.1 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
3
+ > @platforma-open/milaboratories.top-antibodies.workflow@1.10.3 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  Processing "src/filter-and-sample.tpl.tengo"...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @platforma-open/milaboratories.top-antibodies.workflow
2
2
 
3
+ ## 1.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e6e7c9: Label update and minor fix
8
+
9
+ ## 1.10.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 22b01ef: Updated SDK to support polars.
14
+ - Updated dependencies [22b01ef]
15
+ - @platforma-open/milaboratories.top-antibodies.sample-clonotypes@1.4.1
16
+ - @platforma-open/milaboratories.top-antibodies.spectratype@1.4.1
17
+ - @platforma-open/milaboratories.top-antibodies.umap@1.1.1
18
+
3
19
  ## 1.10.1
4
20
 
5
21
  ### Patch Changes
Binary file
Binary file
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.top-antibodies.workflow",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "type": "module",
5
5
  "description": "Block Workflow",
6
6
  "dependencies": {
7
- "@platforma-sdk/workflow-tengo": "^4.9.2",
8
- "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.4.0",
9
- "@platforma-open/milaboratories.top-antibodies.umap": "1.1.0",
10
- "@platforma-open/milaboratories.top-antibodies.spectratype": "1.4.0"
7
+ "@platforma-sdk/workflow-tengo": "^5.0.3",
8
+ "@platforma-open/milaboratories.top-antibodies.spectratype": "1.4.1",
9
+ "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.4.1",
10
+ "@platforma-open/milaboratories.top-antibodies.umap": "1.1.1"
11
11
  },
12
12
  "devDependencies": {
13
- "@platforma-sdk/tengo-builder": "^2.1.12",
14
- "@platforma-sdk/test": "^1.38.0",
13
+ "@platforma-sdk/tengo-builder": "^2.1.15",
14
+ "@platforma-sdk/test": "^1.42.20",
15
15
  "vitest": "^2.1.8"
16
16
  },
17
17
  "scripts": {
@@ -14,15 +14,18 @@ wf.prepare(func(args){
14
14
  bundleBuilder.ignoreMissingDomains() // to make query work for both bulk and single cell data
15
15
  bundleBuilder.addAnchor("main", args.inputAnchor)
16
16
 
17
+ validRanks := false
17
18
  if len(args.rankingOrder) > 0 {
18
19
  for col in args.rankingOrder {
19
20
  // For cases where the user is selecting the table to filter
20
21
  if col.value != undefined {
21
22
  bundleBuilder.addAnchor(col.value.anchorName, col.value.anchorRef)
22
23
  bundleBuilder.addSingle(col.value.column)
24
+ validRanks = true
23
25
  }
24
26
  }
25
- } else {
27
+ }
28
+ if !validRanks {
26
29
  // @TODO: this is a temporal patch for issue where rankingOrderDefault
27
30
  // are not defined by the time prerun works
28
31
  // prerun sometimes runs before this variable is ready
@@ -132,9 +135,11 @@ wf.body(func(args) {
132
135
  }
133
136
 
134
137
  // Add ranking columns to table
138
+ validRanks := false
135
139
  if len(args.rankingOrder) > 0 {
136
140
  for i, col in args.rankingOrder {
137
141
  if col.value != undefined {
142
+ validRanks = true
138
143
  cloneTable.add(columns.getColumn(col.value.column), {header: "Col" + string(i)})
139
144
  // Store ranking order for this column
140
145
  rankingMap["Col" + string(i)] = col.rankingOrder
@@ -151,7 +156,9 @@ wf.body(func(args) {
151
156
  }
152
157
  }
153
158
  }
154
- } else {
159
+ }
160
+ // If we didn't have any ranking column or all where not valid
161
+ if !validRanks {
155
162
  // @TODO: this is a temporal patch for issue where rankingOrderDefault
156
163
  // are not defined by the time prerun works
157
164
  if args.rankingOrderDefault.value != undefined {