@platforma-open/milaboratories.mixcr-shm-trees.workflow 3.6.1 → 3.7.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/dist/tengo/tpl/process.plj.gz +0 -0
- package/dist/tengo/tpl/reconstruct-shm-trees.plj.gz +0 -0
- package/dist/tengo/tpl/request-library.plj.gz +0 -0
- package/dist/tengo/tpl/soi.plj.gz +0 -0
- package/package.json +4 -4
- package/src/main.tpl.tengo +0 -3
- package/src/process.tpl.tengo +8 -2
- package/src/request-library.tpl.tengo +4 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/mixcr-shm-trees/mixcr-shm-trees/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.mixcr-shm-trees.workflow@3.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-shm-trees.workflow@3.7.0 build /home/runner/work/mixcr-shm-trees/mixcr-shm-trees/workflow
|
|
4
4
|
> rm -rf dist && pl-tengo check && pl-tengo build
|
|
5
5
|
|
|
6
6
|
Processing "src/export-settings.lib.tengo"...
|
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-shm-trees.workflow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tengo-based template",
|
|
6
6
|
"//": {
|
|
7
7
|
"build": "node ./scripts/build-static.mjs src/pfconv_params.json src/pfconv_params.lib.tengo && rm -rf dist && pl-tengo check && pl-tengo build && ./create_tags.sh"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@platforma-sdk/workflow-tengo": "^4.2.
|
|
10
|
+
"@platforma-sdk/workflow-tengo": "^4.2.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@platforma-sdk/tengo-builder": "^2.1.3",
|
|
14
|
-
"@platforma-open/milaboratories.software-mixcr": "4.7.0-
|
|
14
|
+
"@platforma-open/milaboratories.software-mixcr": "4.7.0-165-develop",
|
|
15
15
|
"@platforma-open/milaboratories.software-mitool": "2.3.1-5-main",
|
|
16
16
|
"@platforma-open/milaboratories.software-ptransform": "^1.3.1",
|
|
17
|
-
"@platforma-sdk/test": "^1.30.
|
|
17
|
+
"@platforma-sdk/test": "^1.30.9",
|
|
18
18
|
"vitest": "~2.1.8",
|
|
19
19
|
"typescript": "~5.6.3"
|
|
20
20
|
},
|
package/src/main.tpl.tengo
CHANGED
|
@@ -31,9 +31,6 @@ wf.body(func(args) {
|
|
|
31
31
|
|
|
32
32
|
donorColumn := wf.resolve(args.donorColumn)
|
|
33
33
|
|
|
34
|
-
// The problem is that refs for data is not resolved.
|
|
35
|
-
// To deal with it, we should call resolve resolve that will return feature.
|
|
36
|
-
// Then to resolve feature we should call another templete where we will describe what's to wait
|
|
37
34
|
results := render.createEphemeral(processTpl, {
|
|
38
35
|
datasets: datasets,
|
|
39
36
|
donorColumn: donorColumn,
|
package/src/process.tpl.tengo
CHANGED
|
@@ -21,8 +21,14 @@ self.awaitState("datasets", { wildcard: "*" }, "AllInputsSet")
|
|
|
21
21
|
self.awaitState("datasets", { wildcard: "*" }, "data", "InputsLocked")
|
|
22
22
|
// but we need spec already
|
|
23
23
|
self.awaitState("datasets", { wildcard: "*" }, "spec", "ResourceReady")
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
|
|
25
|
+
// Using match instead of exact name to make fields effectively optional,
|
|
26
|
+
// in cases where built-in library is used, null resource is passed as library.
|
|
27
|
+
// Match don't throw error if no fields matched, opposite to exact name.
|
|
28
|
+
self.awaitState("library", { match: "^spec$" }, "ResourceReady")
|
|
29
|
+
self.awaitState("library", { match: "^data$" }, "AllInputsSet") // change to InputsLocked after fix
|
|
30
|
+
// self.awaitState({ match: "^library$" }, "BQueryResultMulti")
|
|
31
|
+
|
|
26
32
|
self.awaitState("donorColumn", "ResourceReady")
|
|
27
33
|
self.awaitState("params", "ResourceReady")
|
|
28
34
|
|
|
@@ -17,8 +17,11 @@ self.body(func(args) {
|
|
|
17
17
|
|
|
18
18
|
for _, dataset in datasets {
|
|
19
19
|
dsLibraryId := dataset.spec.annotations["pl7.app/vdj/libraryId"]
|
|
20
|
+
if is_undefined(dsLibraryId) {
|
|
21
|
+
dsLibraryId = ""
|
|
22
|
+
}
|
|
20
23
|
if is_undefined(libraryId) {
|
|
21
|
-
libraryId =
|
|
24
|
+
libraryId = dsLibraryId
|
|
22
25
|
} else {
|
|
23
26
|
if libraryId != dsLibraryId {
|
|
24
27
|
ll.panic("All datasets should have the same libraryId. Got " + libraryId + " and " + dsLibraryId)
|