* Resolve suggests after PR review

* add newline to functions

* need variable interpolation using double quotes; remove unnecessary tag

* add a more resilient link to raw github files

* remove trailing slash

* Update software/iqtree/main.nf

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
Anthony Underwood 2021-04-12 17:01:26 +01:00 committed by GitHub
parent 3ac21ff0dc
commit df8910de4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ params.options = [:]
options = initOptions(params.options)
process IQTREE {
tag "$variant_alignment"
tag "$alignment"
label 'process_medium'
publishDir "${params.outdir}",
mode: params.publish_dir_mode,
@ -28,7 +28,7 @@ process IQTREE {
script:
def software = getSoftwareName(task.process)
def fconst_args = constant_sites ? '-fconst $constant_sites' : ''
def fconst_args = constant_sites ? "-fconst $constant_sites" : ''
def memory = task.memory.toString().replaceAll(' ', '')
"""
iqtree \\

View file

@ -1,5 +1,5 @@
// Base directory for test data
def test_data_dir = "https://github.com/nf-core/test-datasets/raw/modules/data/"
def test_data_dir = "https://raw.githubusercontent.com/nf-core/test-datasets/modules/data"
params {
test_data {