nextflow-io / nextflow-io/nf-schema

Idea: Validate parameters when the parameter has been changed

Open
#51 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Groovy
Stars
57
Forks
31
Avg merge
3d 17h
Merged PRs (30d)
1

Description

A nice feature for nf-schema would be some kind of option to make the plugin automatically check a parameter again when it has been changed.

Ideally this feature could completely replace the validateParameters function to work out of the box, but not sure if this is possible as a nextflow plugin without making the code extremely slow. This would need some testing :)

Contributor guide

No contributing guide indexed for this repository

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 reading the existing validateParameters function and the nf-schema Nextflow plugin context. Determine whether parameters can be revalidated automatically after changes without unacceptable performance costs, then add tests covering the proposed behavior and confirm that validation works without requiring validateParameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.