Phase out the `when` directive
Open
Nobody has claimed this yet.
enhancement
linting
- Dominant language
- Python
- Stars
- 322
- Forks
- 255
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 5
Description
Description of feature
As the when directive will be removed in future nextflow versions, we should ensure that nf-core pipelines don't utilize it anymore. Having the pipeline linting fail if used should incentivize developers to remove it prematurely.
This was discussed on Slack.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Python code that implements pipeline linting and the existing checks for deprecated Nextflow directives. Add coverage for a pipeline using when, then verify that linting fails for that directive while existing lint checks remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100