Skip to content

Missing documentation for ordering of config loading #3057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
harper357 opened this issue Feb 10, 2025 · 0 comments
Open

Missing documentation for ordering of config loading #3057

harper357 opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@harper357
Copy link

Describe the bug
See Slack thread. In short, nf-core pipelines tend to load conf/modules AFTER profiles conf files. This means if you add a custom profile and add it to the list of profiles, you can't change any of the options in conf/modules. The easiest way to get around this is to load a config file (-c) on the command line. This is not very intuitive (in my opinion)

To Reproduce
Steps to reproduce the behavior:

Add a custom profile to the profiles section of a nextflow.config with some options that are also in a conf/modules config. The options in the custom profile will get overwritten.

Expected behavior
A clear and concise description of what you expected to happen.

Ideally, a custom profile will take priority. Minimally, it would be great to add this loading ordering into the documentation.

@harper357 harper357 added the bug Something isn't working label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant