-
Notifications
You must be signed in to change notification settings - Fork 187
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Relative path set up for params.custom_config_base is not working properly #608
Comments
And I'm guessing we noticed that only with Sarek, because of the institutional pipeline specific config file that adds an extra level of config files-ception. |
After being initially a little suspicious, I have now replicated this locally: $ nf-core download sarek --compress none
,--./,-.
___ __ __ __ ___ /,-._.--~\
|\ | |__ __ / ` / \ |__) |__ } {
| \| | \__, \__/ | \ |___ \`-._,-`-,
`._,._,'
INFO: Saving sarek
Pipeline release: 2.5.2
Pull singularity containers: No
Output directory: nf-core-sarek-2.5.2
INFO: Downloading workflow files from GitHub
INFO: Downloading centralised configs from GitHub
$ nextflow run nf-core-sarek-2.5.2/workflow/ -profile uppmax --help
N E X T F L O W ~ version 20.02.0-edge
Launching `nf-core-sarek-2.5.2/workflow/main.nf` [serene_hopper] - revision: e2a5b5f697
WARNING: Could not load nf-core/config/sarek profiles: ../configs//pipeline/sarek.config
No such file: Config file does not exist: /Users/philewels/testing/nf-core-sarek-2.5.2/workflow/../configs/pipeline/conf/igenomes.config |
This path does seem to exist, if indeed it is properly looking for files relative to the workflow directory and not the running directory.
This is super odd - |
So the What's weird is that the first config file import for The iGenomes error still makes no sense to me at all. |
For the iGenomes error, I guess Nextflow is trying to load |
Note that running the But what that is, I have no idea. Full nextflow log when failing with
Confirms that the |
I think it must be due to this line, but I haven't figure out exactly why yet: This config file is in a different location to the main pipeline Note that the imports in the |
Is this issue a duplicate of https://github.com/nf-core/tools/issues/528 ? |
Closing as I think that this is unfixable. |
Hi,
We noticed this issue with @aanil
The params
custom_config_base
is automatically set up with a relative path, and it make Sarek fails while looking for theigenomes.config
file, even if said file is at the correct location.But when setting it this params manually with the absolute
/path/to/configs
, the issue is no longer here:(
/path/to/configs
being/path/to/sarek/../configs
but without the../
relative part of the path).The text was updated successfully, but these errors were encountered: