epi2me-labs/wf-artic

[Bug]: WARNING due to undefined param.threads

ammaraziz opened this issue · 1 comments

What happened?

When running the pipeline I get this warning:

WARN: Access to undefined parameter `threads` -- Initialise it to a default value eg. `params.threads = some_value`

I believe this is due to the following code:

label params.process_label

Which uses params.threads which is not specified in the config:

wf-artic/nextflow.config

Lines 12 to 18 in 428300f

params {
help = false
version = false
out_dir = "output"
artic_threads = 4
pangolin_threads = 4
analyse_unclassified = false

Operating System

ubuntu 20.04

Workflow Execution

Command line

Workflow Execution - EPI2ME Labs Versions

No response

Workflow Execution - CLI Execution Profile

Docker

Workflow Version

v0.3.28

Relevant log output

WARN: Access to undefined parameter `threads` -- Initialise it to a default value eg. `params.threads = some_value`

Hi @ammaraziz,

Thanks for this... we'll implement a fix.

Thanks

Matt