@platforma-open/milaboratories.top-antibodies.workflow 1.12.0 → 1.13.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.
@@ -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.12.0 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
3
+ > @platforma-open/milaboratories.top-antibodies.workflow@1.13.1 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/assembling-fasta.tpl.tengo"...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @platforma-open/milaboratories.top-antibodies.workflow
2
2
 
3
+ ## 1.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9245274: Fix filter issues related to data types
8
+ - Updated dependencies [9245274]
9
+ - @platforma-open/milaboratories.top-antibodies.sample-clonotypes@1.6.1
10
+
11
+ ## 1.13.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 3825a42: Fix errors related to numeric properties that apply only to a subset of clonotypes and to multiple clustering blocks upstream
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [3825a42]
20
+ - @platforma-open/milaboratories.top-antibodies.sample-clonotypes@1.6.0
21
+ - @platforma-open/milaboratories.top-antibodies.spectratype@1.6.0
22
+
3
23
  ## 1.12.0
4
24
 
5
25
  ### Minor Changes
Binary file
Binary file
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.top-antibodies.workflow",
3
- "version": "1.12.0",
3
+ "version": "1.13.1",
4
4
  "type": "module",
5
5
  "description": "Block Workflow",
6
6
  "dependencies": {
7
- "@platforma-sdk/workflow-tengo": "^5.5.1",
7
+ "@platforma-sdk/workflow-tengo": "^5.5.9",
8
8
  "@platforma-open/milaboratories.software-anarci": "^0.0.3",
9
- "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.5.0",
10
- "@platforma-open/milaboratories.top-antibodies.spectratype": "1.5.0",
9
+ "@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.6.1",
10
+ "@platforma-open/milaboratories.top-antibodies.spectratype": "1.6.0",
11
11
  "@platforma-open/milaboratories.top-antibodies.umap": "1.1.4",
12
12
  "@platforma-open/milaboratories.top-antibodies.assembling-fasta": "1.1.0",
13
13
  "@platforma-open/milaboratories.top-antibodies.anarci-kabat": "1.1.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@platforma-sdk/tengo-builder": "^2.3.3",
17
- "@platforma-sdk/test": "^1.45.1",
17
+ "@platforma-sdk/test": "^1.45.11",
18
18
  "vitest": "^2.1.8"
19
19
  },
20
20
  "scripts": {
@@ -127,7 +127,7 @@ wf.body(func(args) {
127
127
  ////////// Clonotype Filtering //////////
128
128
  // Build clonotype table
129
129
  cloneTable := pframes.csvFileBuilder()
130
- cloneTable.setAxisHeader(datasetSpec.axesSpec[1].name, "clonotypeKey")
130
+ cloneTable.setAxisHeader(datasetSpec.axesSpec[1], "clonotypeKey")
131
131
 
132
132
  // Add Filters to table
133
133
  addedAxes := []
@@ -143,6 +143,7 @@ wf.body(func(args) {
143
143
  addedCols = true
144
144
  // Store reference value and filter type associated to this column
145
145
  filterMap["Filter_" + string(i)] = filter.filter
146
+ filterMap["Filter_" + string(i)]["valueType"] = columns.getSpec(filter.value.column).valueType
146
147
 
147
148
  // If column does not have main anchor axis we have to include theirs
148
149
  colsSpec := columns.getSpec(filter.value.column)
@@ -150,7 +151,7 @@ wf.body(func(args) {
150
151
  if !slices.hasElement(axesNames, datasetSpec.axesSpec[1].name) {
151
152
  for na, ax in colsSpec.axesSpec {
152
153
  if ax.name != datasetSpec.axesSpec[1].name {
153
- cloneTable.setAxisHeader(ax.name, "cluster_" + string(i) + string(na))
154
+ cloneTable.setAxisHeader(ax, "cluster_" + string(i) + string(na))
154
155
  addedAxes = append(addedAxes, ax.name)
155
156
  }
156
157
  }
@@ -176,7 +177,7 @@ wf.body(func(args) {
176
177
  if !slices.hasElement(axesNames, datasetSpec.axesSpec[1].name) {
177
178
  for na, ax in colsSpec.axesSpec {
178
179
  if ax.name != datasetSpec.axesSpec[1].name && !slices.hasElement(addedAxes, ax.name) {
179
- cloneTable.setAxisHeader(ax.name, "cluster_" + string(i) + string(na))
180
+ cloneTable.setAxisHeader(ax, "cluster_" + string(i) + string(na))
180
181
  }
181
182
  }
182
183
  }
@@ -200,7 +201,7 @@ wf.body(func(args) {
200
201
  if !slices.hasElement(axesNames, datasetSpec.axesSpec[1].name) {
201
202
  for na, ax in colsSpec.axesSpec {
202
203
  if ax.name != datasetSpec.axesSpec[1].name {
203
- cloneTable.setAxisHeader(ax.name, "cluster_" + string(i) + string(na))
204
+ cloneTable.setAxisHeader(ax, "cluster_" + string(i) + string(na))
204
205
  }
205
206
  }
206
207
  }
@@ -213,11 +214,11 @@ wf.body(func(args) {
213
214
  for i, col in columns.getColumns("linkers") {
214
215
  if datasetSpec.axesSpec[1].name == col.spec.axesSpec[1].name {
215
216
  cloneTable.add(col, {header: "linker." + string(i)})
216
- cloneTable.setAxisHeader(col.spec.axesSpec[0].name, "cluster_" + string(i))
217
+ cloneTable.setAxisHeader(col.spec.axesSpec[0], "cluster_" + string(i))
217
218
  linkerAxisSpec["cluster_" + string(i)] = col.spec.axesSpec[0]
218
219
  } else if datasetSpec.axesSpec[1].name == col.spec.axesSpec[0].name {
219
220
  cloneTable.add(col, {header: "linker." + string(i)})
220
- cloneTable.setAxisHeader(col.spec.axesSpec[1].name, "cluster_" + string(i))
221
+ cloneTable.setAxisHeader(col.spec.axesSpec[1], "cluster_" + string(i))
221
222
  linkerAxisSpec["cluster_" + string(i)] = col.spec.axesSpec[1]
222
223
  }
223
224
  addedCols = true
@@ -232,7 +233,7 @@ wf.body(func(args) {
232
233
  // Add the cluster axis header
233
234
  for axisIdx, axis in col.spec.axesSpec {
234
235
  if axis.name != datasetSpec.axesSpec[1].name {
235
- cloneTable.setAxisHeader(axis.name, "clusterAxis_" + string(i) + "_" + string(axisIdx))
236
+ cloneTable.setAxisHeader(axis, "clusterAxis_" + string(i) + "_" + string(axisIdx))
236
237
  }
237
238
  }
238
239
  }