-
Notifications
You must be signed in to change notification settings - Fork 191
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
nf-core download has wrong name for singularity converted containers #2751
Comments
In a way, this is a feature and not a bug. In PRs #2336 and #2403 we implemented a dynamic registry resolution that allows to provide multiple, also custom or private, registries to pull containers from. The corresponding issue was #2311. Hence, it is that the resulting container name need to be agnostic to the registry from which it was pulled. I assumed this feature request was part of a larger coordinated effort by Seqera and that Nextflow would receive corresponding updates to its container resolution to ensure container images are always found. So far I can't recall ever having had issues with that and assumed this was due to Nextflow's versatile resolution, but maybe it also always worked, because we just happen to maintain a completely cluttered |
We can reproduce this problem with this repo which just contains the module in question: https://github.com/adamrtalbot/nf-experiments/tree/nf-core-download-fails
Downloaded image:
Image that is ran: When we run nf-core download for different modules, it generally downloads the Singularity version which includes the full URI. For a quick solution, we might need to stick on the registry to match |
A quick workaround might be trying:
Which works on my mini test case. |
I believe I ran into the same problem some time ago: https://nfcore.slack.com/archives/CGFUX04HZ/p1701112794985919 |
I have written a fix. Not polished, but should work. Tests and reviews (later next week) welcome. |
Should be fixed with the nf-core tools release 2.13.1 today! 👌🎉 (I would still appreciate seeing an update to Nextflow as well at some point) |
Description of the bug
nf-core download sarek produces
nf-core-gatk-4.4.0.0.img
nextflow run nf-core/sarek produces
quay.io-nf-core-gatk-4.4.0.0.img
Command used and terminal output
No response
System information
No response
The text was updated successfully, but these errors were encountered: