-
Notifications
You must be signed in to change notification settings - Fork 193
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
Add warning block to readme about singularity image downloads #2338
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #2338 +/- ##
=======================================
Coverage 73.09% 73.09%
=======================================
Files 78 78
Lines 8780 8780
=======================================
Hits 6418 6418
Misses 2362 2362
|
Can you please elaborate which module/pipeline/revision prompted your PR? Furthermore, I believe that the README is not really the place to change anything, really. Don't you think that the module template or the |
Thanks for your contribution. For newer pipelines this should already be taken care of with Maybe we should have this as a note in the readme that for older pipeline version there might be an issue and give some troubleshooting advice (but I am afraid it is mostly up to pipeline developers to fix this) |
Hi, thanks for the comments. I was using But, I realise this might be an edge case, and the README already states how the containers are scraped, so I absolutely understand if this addition is not necessary. I think the modules template with single quotes surrounding the actual adress, compared to the need of using double quotes around the whole thing is what confused me when only a docker container is available. A minimal example:
While on the subject, how can I use |
Thanks for linking the Slack thread. I now got a better idea how, why and what the reason for this PR is. I am still inclined to disagree with Phil on this issue, because in my perception Hence, I fear that even the current level of technical peculiarities stated in the Readme rather adds to the confusion that helps to clarify it. I think a pipeline/module developer will very rarely consult the Readme of Download to understand how a container needs to be specified.
That is quite unfortunate. Maybe we should then have another look at the regexes? In the current Lines 725 to 743 in 4f32c07
In the new regex, I already accounted for both notations Line 705 in 4f32c07
But it could also cause prematurely abridged matches? If you like, you could test that: Install the dev version into a virtual environment with |
@fellen31: We noticed that a bigger refactor of the container detection was anyway required, so I have rewritten those parts of the code. In the course of this, I have also included the proposed regex changes. I would highly appreciate it, if you could test this code with your custom module asap, since there will likely be a tools release still this week! |
Closing as this seems to be resolved. Please open a new issue if this isn't the case 👍🏻 |
@MatthiasZepper I can't seem to get it working with the updated code, but I'm not 100% sure I've installed the correct version. If you want to double check, see if you can download the fastqc container with |
If you change
to
it does work, but then as you said it causes the other matches to stop prematurely (like Don't know if it's possible to find a way here, but I'm fine with just using |
Thanks for testing and pointing out this regression! I have wasted many hours today, but I think I got you covered now... |
Awesome! I think so too, everything seems to work! |
Since this only affects nf-core download it can give a person headache when everything else works.
PR checklist
CHANGELOG.md
is updateddocs
is updated