-
Notifications
You must be signed in to change notification settings - Fork 609
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
nextflow.config not detected when pulling from repository #1032
Comments
After some digging in nextflow's code, I saw that by default the IncludeConfigs are not included in the validation of the pipeline before the pull (
|
Not 100% sure, maybe the |
I can confirm this is a bug. Here I made a minimum example, that defines a dictionary in the Note that this breaks the nf-core pipelines, since they are written with this kind of configuration. Also, respectfully, I'd set this one higher than Steps to reproduce the problem
Program output
|
@huguesfontenelle your script is wrong because it's using
|
@cimendes I'm unable to replicate the problem (tho is failing for an apparent application issue):
|
Yes, I had not managed to make a minimal example... The new one should work: remote run
local run
(as expected for the local run) But then it doesn't have to do with EDIT I created a new bug report, since this seems different. #1053 |
Apologizes, I added the manifest field to the nextflow.config file in the master branch of my repository and the problem that you bumped into is unrelated to this issue. Here's the corrected steps to reproduce my problem: Steps to reproduce the problem
Program outputPulling assemblerflow/DEN-IM ... Environment
Additional contextPipelines with only one config file pull without any issue for me, so my idea is that this is related to the multiple config file approach. The manifest information, including the mainScript field, is included in the manifest.config file. |
Still getting
Closing this because I'm not able to replicate the problem. Please report a self-contained issue if you continue to experience the problem. |
I am facing same issue. How did you fix this? |
Hello. You need to have the manifest scope in your nextflow.config file :) it can't be imported from an external config file through the includeConfig |
Bug report
Expected behavior and actual behavior
My nextflow pipeline (https://github.com/assemblerflow/DEN-IM) contains various config files included in the nextflow.config through the "includeConfig" parameter. This pipeline works fine when cloned. When pulled directly through nextflow, it fails with the following error:
Steps to reproduce the problem
nextflow run assemblerflow/DEN-IM
Program output
Pulling assemblerflow/DEN-IM ...
Not a valid Nextflow project -- The repository
https://github.com/assemblerflow/DEN-IM
must contain a the scriptmain.nf
or the filenextflow.config
nextflow.log
Environment
Additional context
Pipelines with only one config file pull without any issue for me, so my idea is that this is related to the multiple config file approach. The manifest information, including the mainScript field, is included in the manifest.config file.
The text was updated successfully, but these errors were encountered: