Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a 'withName' selector with a pattern gives a warning about an unknown process #905

Closed
emi80 opened this issue Oct 24, 2018 · 0 comments
Labels
Milestone

Comments

@emi80
Copy link
Contributor

emi80 commented Oct 24, 2018

Bug report

Expected behavior and actual behavior

A warning is reported when a withName selector is used with a pattern. The pattern matching seems to work though.

Program output

N E X T F L O W  ~  version 0.32.0
Launching `./main.nf` [mighty_koch] - revision: df33739027
WARN: The config file defines settings for an unknown process: a|b
[warm up] executor > local
[8e/040181] Submitted process > a
[93/d0d11c] Submitted process > b

Steps to reproduce the problem

main.nf file:

process a {
    """
    echo a
    """
}

process b {
    """
    echo b
    """
}

nextflow.config file:

process {
    withName: 'a|b' {
        cpus = 2
    }
}

command:

nextflow run .

Environment

  • Nextflow version: 0.32.0
  • Java version: 1.8
  • Operating system: macOS, Linux
@pditommaso pditommaso added the bug label Oct 29, 2018
@pditommaso pditommaso added this to the v19.1.0 milestone Oct 29, 2018
pditommaso added a commit that referenced this issue Nov 10, 2018
This commit fixes an invalid warning message reported when using a
pattern rule in config withName selector.
olifly pushed a commit to wuxi-nextcode/nextflow-public that referenced this issue Nov 13, 2018
This commit fixes an invalid warning message reported when using a
pattern rule in config withName selector.

Signed-off-by: Ólafur Haukur Flygenring <olafurh@wuxinextcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants