Skip to content

Commit

Permalink
Merge pull request #120 from metagenlab/nj/fix_pipeline
Browse files Browse the repository at this point in the history
Fix annotation pipeline for nextflow version > 24.03.
  • Loading branch information
njohner authored Jul 30, 2024
2 parents 8fb932b + ba58f30 commit d14dcd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ Versions are of the form MAJOR.MINOR.PATCH and this changelog tries to conform
to [Common Changelog](https://common-changelog.org)


## Unreleased

### Changed

### Added
## 1.3.2 - 2024-07-30

### Fixed

- Fix annotation pipeline for nextflow version > 24.03. ([#120](https://github.com/metagenlab/zDB/pull/120)) (Niklaus Johner)

## 1.3.1 - 2024-07-19

Expand Down
3 changes: 3 additions & 0 deletions annotation_pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def gen_arg_string_m(String name, Map m) {
// this is the only solution
def gen_arg_string(String s, Object o) {
prefix = "\"" + s + "\" : "
if(o instanceof GString){
o = o.toString()
}
if(o instanceof String){
return prefix + "\"" + (String)o + "\""
} else if(o instanceof Boolean) {
Expand Down

0 comments on commit d14dcd3

Please sign in to comment.