Skip to content

Commit 7ed4d8a

Browse files
authored
Test parsing actions tbprofiler version for proper provenance output (#59)
* test parsing actions tbprofiler version for provenance * fix syntax * test raw version outputs in github actions * remove 2>&1 from the version command that causes bad output in github actions testing * test removing mamba * remove use mamba comment
1 parent 968a0c8 commit 7ed4d8a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/tbprofiler.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ process tbprofiler {
9292
printf -- "- process_name: tbprofiler\\n" >> ${sample_id}_tbprofiler_provenance.yml
9393
printf -- " tools:\\n" >> ${sample_id}_tbprofiler_provenance.yml
9494
printf -- " - tool_name: tb-profiler\\n" >> ${sample_id}_tbprofiler_provenance.yml
95-
printf -- " tool_version: \$(tb-profiler profile --version 2>&1 | cut -d ' ' -f 3)\\n" >> ${sample_id}_tbprofiler_provenance.yml
95+
printf -- " tool_version: \$(tb-profiler profile --version | cut -d ' ' -f 3)\\n" >> ${sample_id}_tbprofiler_provenance.yml
9696
printf -- " subcommand: profile\\n" >> ${sample_id}_tbprofiler_provenance.yml
9797
printf -- " parameters:\\n" >> ${sample_id}_tbprofiler_provenance.yml
9898
printf -- " - parameter: --platform\\n" >> ${sample_id}_tbprofiler_provenance.yml

nextflow.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def parsePipelineName(name) {
5454
profiles {
5555
conda {
5656
conda.enabled = true
57-
conda.useMamba = true
5857
process.conda = "$baseDir/environments/environment.yml"
5958
if (params.cache){
6059
conda.cacheDir = params.cache

0 commit comments

Comments
 (0)