nf-core / nf-core/tools

`nf-core subworkflows lint <name> --local` does not work for subworkflows in `subworkflows/local`

Open
#4,049 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
322
Forks
255
Avg merge
2d 3h
Merged PRs (30d)
5

Description

Description of the bug

nf-core subworkflows lint --local lints all local subworkflows.
nf-core subworkflows lint <subworkflowname> --local however does not work and raises an error that the specified subworkflow cannot be found.

Command used and terminal output

System information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the nf-core subworkflows lint <subworkflowname> --local CLI path and compare it with the existing nf-core subworkflows lint --local path. Reproduce the reported not-found error, then verify that naming a subworkflow in subworkflows/local lints that subworkflow successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.