nf-core / nf-core/tools

Schema: Conditional show / hide of parameters

Open
#3,320 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

From Slack:

It would be helpful to have the ability to dynamically reveal or hide certain parameters based on the value of another parameter.
For instance, if we enable a flag like "align" to run the alignment stage of a QC pipeline, only the alignment-specific parameters would become visible, while they remain hidden otherwise.
This approach would make the interface cleaner and focus only on the parameters relevant to the current pipeline configuration.

Related to https://github.com/nf-core/tools/issues/2428 but only affects the launch UI.

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 reviewing the launch UI and the related nf-core/tools issue #2428 to understand the existing parameter model. Done means parameters can be conditionally shown or hidden based on another parameter's value, while unrelated parameters remain hidden when the condition is not met.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.