Skip to content

Commit

Permalink
Merge branch 'report-name-fix' into 'dev'
Browse files Browse the repository at this point in the history
fix report name

See merge request epi2melabs/workflow-containers/wf-bacterial-genomes!27
  • Loading branch information
sarahjeeeze committed May 12, 2022
2 parents 929b36f + d9e93ee commit 96c1541
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.2.4]
### Fixed
- Amend report name.

## [v0.2.3]
### Added
- Add read me docs.
Expand Down
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ process makeReport {
path "rev/*"
path "total_depth/*"
output:
path "wf-hap-snps-*.html"
path "wf-bacterial-genomes-*.html"
script:
report_name = "wf-hap-snps-" + params.report_name + '.html'
report_name = "wf-bacterial-genomes-" + params.report_name + '.html'
prokka = params.run_prokka as Boolean ? "--prokka prokka/*" : ""
"""
report.py --bcf_stats variants/* \
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ params {
chunk_size = 1000000
run_prokka = true
prokka_opts = ""
wfversion = "v0.2.3"
wfversion = "v0.2.4"
prokka_version = "1.14.5"
aws_image_prefix = null
aws_queue = null
Expand Down
2 changes: 1 addition & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
},
"wfversion": {
"type": "string",
"default": "v0.2.3",
"default": "v0.2.4",
"hidden": true
},
"help": {
Expand Down

0 comments on commit 96c1541

Please sign in to comment.