+
Skip to content

Linting incorrectly parses the output path if it has options (like arity) #3530

@Gullumluvl

Description

@Gullumluvl

Description of the bug

I am defining a process output like:

    output:
    tuple val(meta), path("*.bin", arity: 1), emit: db

My meta.yaml output section:

output:
  - db:
      - meta:
          # ...
      - "*.bin":
          # ...

Then the linting fails, telling me that my meta.yaml output section is incorrect (see output below).

It works fine if I remove the arity option. Could the output parsing be updated?

Best,

Command used and terminal output

$ nf-core modules lint sometool/somecommand

...

[✗] 1 Module Test Failed

... | Test message
──────────────────────────────────────────────────────────────────────────────────────
... | Module meta.yml does not match main.nf. Outputs should contain: {'db': ['meta', ".bin', arity: 1", '.cache*'], 'versions': ['versions.yml']} Run nf-core modules lint --fix to update the meta.yml file.

System information

  • nf-core/tools version 3.2.0
  • Nextflow 24.10.4 build 5934

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载