Test cases for configuration parsing#2498
Merged
bentsherman merged 7 commits intonextflow-io:masterfrom Nov 22, 2025
Merged
Conversation
Signed-off-by: Lehmann-Fabian <fabian.lehmann@informatik.hu-berlin.de>
Signed-off-by: Lehmann-Fabian <fabian.lehmann@informatik.hu-berlin.de>
Signed-off-by: Lehmann-Fabian <fabian.lehmann@informatik.hu-berlin.de>
Signed-off-by: Lehmann-Fabian <fabian.lehmann@informatik.hu-berlin.de>
2c461f8 to
23432f3
Compare
e2b4a93 to
f32ea0b
Compare
cefb067 to
e523afd
Compare
0d59b4c to
b93634e
Compare
81f7cb7 to
8a43489
Compare
b4b321e to
069653d
Compare
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
bentsherman
approved these changes
Nov 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds two tests for yet not working cases. However, I was unable to fix them.
The first issue occurs if you define a method in a configuration file. The method is forgotten in the output.
Input:
nextflow.config
$ nextflow config nextflow.configOutput:
The second issue is more complex. I broke down the configuration of nf-core/eager. If you have a three-level configuration structure, the third level ignores the
renderClosureAsString.Inputs:
nextflow.config
nextflow2.config
nextflow3.config
$ nextflow config nextflow.config -profile testOutput:
Both issues cause problems with the execution of some nf-core workflows.