@platforma-open/milaboratories.tcrdisco-enrichment.workflow 1.1.0 → 1.1.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/tcr-disco/tcr-disco/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.tcrdisco-enrichment.workflow@1.1.0 build /home/runner/work/tcr-disco/tcr-disco/workflow
3
+ > @platforma-open/milaboratories.tcrdisco-enrichment.workflow@1.1.1 build /home/runner/work/tcr-disco/tcr-disco/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  info: Skipping unknown file type: wf.test.ts
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @platforma-open/milaboratories.tcrdisco-enrichment.workflow
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c4d0ead: Allow empty inputs
8
+ - Updated dependencies [c4d0ead]
9
+ - @platforma-open/milaboratories.run-tcrdisco-enrichment.software@1.1.1
10
+
3
11
  ## 1.1.0
4
12
 
5
13
  ### Minor Changes
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.tcrdisco-enrichment.workflow",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "description": "Block Workflow",
6
6
  "dependencies": {
7
- "@platforma-sdk/workflow-tengo": "^5.6.4",
8
- "@platforma-open/milaboratories.run-tcrdisco-enrichment.software": "1.1.0"
7
+ "@platforma-sdk/workflow-tengo": "^5.8.1",
8
+ "@platforma-open/milaboratories.run-tcrdisco-enrichment.software": "1.1.1"
9
9
  },
10
10
  "devDependencies": {
11
- "@platforma-sdk/tengo-builder": "^2.3.14",
12
- "@platforma-sdk/test": "^1.46.3",
11
+ "@platforma-sdk/tengo-builder": "^2.4.13",
12
+ "@platforma-sdk/test": "^1.53.4",
13
13
  "vitest": "~2.1.9"
14
14
  },
15
15
  "scripts": {
@@ -402,6 +402,7 @@ wf.body(func(args) {
402
402
  clonotypeToSubsetBeta := tcrAnalysis.output("clonotypeToSubsetBeta")
403
403
  robustEnrichmentPFAlpha_clonotype := tcrAnalysis.output("robustEnrichmentPFAlpha_clonotype")
404
404
  robustEnrichmentPFBeta_clonotype := tcrAnalysis.output("robustEnrichmentPFBeta_clonotype")
405
+ reportContent := tcrAnalysis.output("reportContent")
405
406
 
406
407
  ////////////////// Spec preparation ////////////////
407
408
  topDegPframeBuilderAlpha := pframes.pFrameBuilder()
@@ -567,6 +568,9 @@ wf.body(func(args) {
567
568
  }
568
569
  }
569
570
 
571
+ // Report file indicating empty inputs or too much filtering
572
+ outputs.reportContent = reportContent
573
+
570
574
  return {
571
575
  outputs: outputs,
572
576
  exports: {
@@ -40,7 +40,7 @@ self.validateInputs({
40
40
  self.defineOutputs("topTableFileAlpha","topTableFileBeta","daFileAlpha",
41
41
  "daFileBeta","contrastMap","mainAlphaFrequenciesTsv","mainBetaFrequenciesTsv",
42
42
  "clonotypeToSubsetAlpha","clonotypeToSubsetBeta",
43
- "robustEnrichmentPFAlpha_clonotype","robustEnrichmentPFBeta_clonotype")
43
+ "robustEnrichmentPFAlpha_clonotype","robustEnrichmentPFBeta_clonotype","reportContent")
44
44
 
45
45
  self.body(func(inputs) {
46
46
 
@@ -126,7 +126,8 @@ self.body(func(inputs) {
126
126
  saveFile("DA_alpha.csv").
127
127
  saveFile("topTable_alpha.csv").
128
128
  saveFile("DA_beta.csv").
129
- saveFile("topTable_beta.csv")
129
+ saveFile("topTable_beta.csv").
130
+ saveFileContent("report.txt")
130
131
 
131
132
  for numerator in inputs.numerators {
132
133
  numerator = string(numerator)
@@ -220,7 +221,8 @@ self.body(func(inputs) {
220
221
  clonotypeToSubsetAlpha: clonotypeToSubsetAlpha,
221
222
  clonotypeToSubsetBeta: clonotypeToSubsetBeta,
222
223
  robustEnrichmentPFAlpha_clonotype: robustEnrichmentPFAlpha_clonotype,
223
- robustEnrichmentPFBeta_clonotype: robustEnrichmentPFBeta_clonotype
224
+ robustEnrichmentPFBeta_clonotype: robustEnrichmentPFBeta_clonotype,
225
+ reportContent: diffExec.getFileContent("report.txt")
224
226
  }
225
227
  })
226
228