Skip to content

Fix generation of resolvedConfig when params included in the configuration #7072

Merged
bentsherman merged 2 commits intomasterfrom
7002-fix-config-with-params
Apr 24, 2026
Merged

Fix generation of resolvedConfig when params included in the configuration #7072
bentsherman merged 2 commits intomasterfrom
7002-fix-config-with-params

Conversation

@jorgee
Copy link
Copy Markdown
Contributor

@jorgee jorgee commented Apr 24, 2026

close #7002

This pull request updates the configuration resolution in the Nextflow CLI to allow command-line parameters to be passed and correctly injected into the resolved configuration. This ensures that parameters provided via the CLI are reflected in the generated config and adds a corresponding test to verify this behavior.

Enhancements to configuration resolution:

  • Updated ConfigBuilder.resolveConfig to accept a cliParams map, allowing command-line parameters to be injected into the resolved configuration (ConfigBuilder.groovy, CmdRun.groovy). [1] [2]

Testing improvements:

  • Enhanced the test in ConfigBuilderTest.groovy to verify that CLI parameters override config values and are correctly reflected in the resolved configuration output. [1] [2]

Signed-off-by: jorgee <jorge.ejarque@seqera.io>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit f3089c4
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/69eb998ba3facc00083b0d2a

@bentsherman bentsherman merged commit cb7133d into master Apr 24, 2026
23 checks passed
@bentsherman bentsherman deleted the 7002-fix-config-with-params branch April 24, 2026 16:48
bentsherman pushed a commit that referenced this pull request Apr 28, 2026
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling trace logging and -with-tower change config parsing behavior

2 participants