The template feature "nf-test" is not a valid jinja variable
Open
Nobody has claimed this yet.
bug
template
- Dominant language
- Python
- Stars
- 322
- Forks
- 255
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 5
Description
The variable to use is nf-test for that currently, however jinja doesn't like when there are - in its variables.
Meaning the nf-test var should be renamed to nf_test but this is not the scope of this PR.
Originally posted by @Joon-Klaps in https://github.com/nf-core/tools/issues/3776#issuecomment-3337731621
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
Search the template feature for uses of the nf-test variable and inspect how those values are passed to Jinja. Confirm the variable is exposed under a Jinja-compatible name such as nf_test, then render the affected template or run the existing template tests to verify it works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100