@platforma-open/milaboratories.mixcr-library-builder.workflow 1.2.0 → 1.3.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-library-builder/mixcr-library-builder/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-library-builder.workflow@1.2.0 build /home/runner/work/mixcr-library-builder/mixcr-library-builder/workflow
3
+ > @platforma-open/milaboratories.mixcr-library-builder.workflow@1.3.0 build /home/runner/work/mixcr-library-builder/mixcr-library-builder/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  Processing "src/formatText.lib.tengo"...
@@ -9,5 +9,5 @@ No syntax errors found.
9
9
  info: Compiling 'dist'...
10
10
  info: - writing /home/runner/work/mixcr-library-builder/mixcr-library-builder/workflow/dist/tengo/lib/formatText.lib.tengo
11
11
  info: - writing /home/runner/work/mixcr-library-builder/mixcr-library-builder/workflow/dist/tengo/tpl/main.plj.gz
12
- info:
12
+ info: Template Pack build done.
13
13
  info: Template Pack build done.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @platforma-open/milaboratories.mixcr-library-builder.workflow
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2f47cb1: New detailed library specs
8
+ - 2f47cb1: SDK upgrade
9
+
3
10
  ## 1.2.0
4
11
 
5
12
  ### Minor Changes
Binary file
package/package.json CHANGED
@@ -1,20 +1,17 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-library-builder.workflow",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "description": "Block Workflow",
6
- "dependencies": {},
6
+ "dependencies": {
7
+ "@platforma-sdk/workflow-tengo": "^4.1.4"
8
+ },
7
9
  "devDependencies": {
8
- "@platforma-sdk/tengo-builder": "^1.17.7",
9
- "@platforma-sdk/workflow-tengo": "^2.12.1",
10
- "@platforma-open/milaboratories.software-small-binaries": "^1.15.6",
11
- "@platforma-open/milaboratories.software-mixcr": "4.7.0-139-develop",
12
- "@platforma-sdk/test": "^1.22.49",
13
- "vitest": "^3.0.5"
10
+ "@platforma-sdk/tengo-builder": "^2.1.3",
11
+ "@platforma-open/milaboratories.software-mixcr": "4.7.0-139-develop"
14
12
  },
15
13
  "scripts": {
16
14
  "build": "rm -rf dist && pl-tengo check && pl-tengo build",
17
- "test": "vitest",
18
15
  "format": "/usr/bin/env emacs --script ./format.el"
19
16
  }
20
17
  }
@@ -15,13 +15,13 @@ toCamelCase := import(":formatText")
15
15
 
16
16
  wf.body(func(args) {
17
17
 
18
+ blockId := wf.blockId().getDataAsJson()
19
+
18
20
  if is_undefined(args.vFastaFile) && is_undefined(args.vSpecies) {
19
-
20
21
  ll.panic("expected to have either `fastaFile` or `built in`; provided no any")
21
22
  }
22
23
 
23
24
  if is_undefined(args.jFastaFile) && is_undefined(args.jSpecies) {
24
-
25
25
  ll.panic("expected to have either `fastaFile` or `built in`; provided no any")
26
26
  }
27
27
 
@@ -82,7 +82,7 @@ wf.body(func(args) {
82
82
  saveFile("library.json").
83
83
  printErrStreamToStdout()
84
84
  libraryBuilderCmd := libraryBuilderCmdBuilder.run()
85
-
85
+
86
86
  debugOutput := libraryBuilderCmd.getStdoutStream()
87
87
  library := libraryBuilderCmd.getFile("library.json")
88
88
 
@@ -93,16 +93,21 @@ wf.body(func(args) {
93
93
  data: library,
94
94
  spec: {
95
95
  kind: "File",
96
+ name: "pl7.app/vdj/library",
97
+ domain: {
98
+ "pl7.app/vdj/libraryId": blockId
99
+ },
96
100
  annotations: {
97
101
  "pl7.app/species": cmdSpecies,
98
102
  "pl7.app/vdj/chain": chain,
99
103
  "pl7.app/vdj/isLibrary": "true",
104
+ "pl7.app/vdj/libraryFormat": "repseqio.json",
100
105
  "pl7.app/label": text.split(species, "_custom")[0] + " " + chain + " library"
101
106
  }
102
- }
107
+ }
103
108
  }
104
109
  }
105
-
110
+
106
111
  return {
107
112
  outputs: outputs,
108
113
  exports: exports
package/src/wf.test.ts DELETED
@@ -1,13 +0,0 @@
1
- import { tplTest } from "@platforma-sdk/test";
2
-
3
- tplTest(
4
- 'should return a concatenated string',
5
- async ({ helper, expect }) => {
6
- const results = await helper.renderWorkflow("main", false, {
7
- name: 'World'
8
- });
9
-
10
- const tengoMessage = results.output("tengoMessage", (a) => a?.getDataAsJson<string>());
11
- expect(await tengoMessage.awaitStableValue()).eq('Hello from Tengo, World!');
12
- }
13
- );
package/vitest.config.mts DELETED
@@ -1,9 +0,0 @@
1
- import { defineConfig } from 'vitest/config';
2
-
3
- export default defineConfig({
4
- test: {
5
- watch: false,
6
- maxConcurrency: 3,
7
- testTimeout: 5000
8
- }
9
- });