-
Notifications
You must be signed in to change notification settings - Fork 192
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
Simplify charliecloud profile #867
Conversation
with charliecloud 0.22, docker ENV layers are supported. Nextflow supports this feature since v21.03.0-edge. This means we don't have to explicitly pass set the PATH variable within the container, greatly simplifying the config
This reverts commit 995b8ed. We don't need this anymore
Codecov Report
@@ Coverage Diff @@
## dev #867 +/- ##
==========================================
+ Coverage 73.20% 74.52% +1.31%
==========================================
Files 22 29 +7
Lines 2784 3183 +399
==========================================
+ Hits 2038 2372 +334
- Misses 746 811 +65
Continue to review full report at Codecov.
|
The downside of modifying this in the profile is that when it gets out of date, this will clobber anything specified by the pipeline author in the |
nf_core/pipeline-template/{{cookiecutter.name_noslash}}/nextflow.config
Outdated
Show resolved
Hide resolved
Agreed, it is not going to affect a lot of users so we're probably good in leaving it out. |
Could maybe open a new issue to think about the question of multiple minimum required versions 👍🏻 Can't think of anything obvious now except manually adding checks for this in a boilerplate library file. That shouldn't be too difficult in the new DSL2 template structure I think. |
With charliecloud
v0.22
, dockerENV
layers are supported. Nextflow supports this feature sincev21.03.0-edge
(nextflow-io/nextflow@4553648).This means we don't have to explicitly set the PATH variable within the container anymore, greatly simplifying the config.
I included a nag that this requires
v21.03.0-edge
tools/nf_core/pipeline-template/{{cookiecutter.name_noslash}}/nextflow.config
Lines 81 to 84 in 7261ebd
but I don't think this will work because the manifest is set after the profile config:
tools/nf_core/pipeline-template/{{cookiecutter.name_noslash}}/nextflow.config
Lines 121 to 129 in 7261ebd
So either we move that up or remove the override in the charliecloud profile entirely, assuming that there will be no tools release before
21.04.0
?