Skip to content

Commit 89df601

Browse files
committed
Template update for nf-core/tools version 2.7.2
1 parent e8d1627 commit 89df601

File tree

12 files changed

+82
-88
lines changed

12 files changed

+82
-88
lines changed

.github/workflows/fix-linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
id: prettier_status
3535
run: |
3636
if prettier --check ${GITHUB_WORKSPACE}; then
37-
echo "name=result::pass" >> $GITHUB_OUTPUT
37+
echo "result=pass" >> $GITHUB_OUTPUT
3838
else
39-
echo "name=result::fail" >> $GITHUB_OUTPUT
39+
echo "result=fail" >> $GITHUB_OUTPUT
4040
fi
4141
4242
- name: Run 'prettier --write'

.github/workflows/linting_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Get PR number
2020
id: pr_number
21-
run: echo "name=pr_number::$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT
21+
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT
2222

2323
- name: Post PR comment
2424
uses: marocchino/sticky-pull-request-comment@v2

lib/WorkflowMain.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class WorkflowMain {
7272
NfcoreTemplate.checkConfigProvided(workflow, log)
7373

7474
// Check that conda channels are set-up correctly
75-
if (params.enable_conda) {
75+
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
7676
Utils.checkCondaChannels(log)
7777
}
7878

modules.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
"nf-core": {
88
"custom/dumpsoftwareversions": {
99
"branch": "master",
10-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
10+
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
1111
"installed_by": ["modules"]
1212
},
1313
"fastqc": {
1414
"branch": "master",
15-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
15+
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
1616
"installed_by": ["modules"]
1717
},
1818
"multiqc": {
1919
"branch": "master",
20-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
20+
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
2121
"installed_by": ["modules"]
2222
}
2323
}

modules/local/samplesheet_check.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ process SAMPLESHEET_CHECK {
22
tag "$samplesheet"
33
label 'process_single'
44

5-
conda (params.enable_conda ? "conda-forge::python=3.8.3" : null)
5+
conda "conda-forge::python=3.8.3"
66
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
77
'https://depot.galaxyproject.org/singularity/python:3.8.3' :
88
'quay.io/biocontainers/python:3.8.3' }"

modules/nf-core/custom/dumpsoftwareversions/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/custom/dumpsoftwareversions/templates/dumpsoftwareversions.py

100644100755
Lines changed: 55 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/fastqc/main.nf

Lines changed: 16 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/multiqc/main.nf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextflow.config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ params {
3939
validate_params = true
4040
show_hidden_params = false
4141
schema_ignore_params = 'genomes'
42-
enable_conda = false
4342

4443

4544
// Config options
@@ -81,7 +80,6 @@ try {
8180
profiles {
8281
debug { process.beforeScript = 'echo $HOSTNAME' }
8382
conda {
84-
params.enable_conda = true
8583
conda.enabled = true
8684
docker.enabled = false
8785
singularity.enabled = false
@@ -90,7 +88,6 @@ profiles {
9088
charliecloud.enabled = false
9189
}
9290
mamba {
93-
params.enable_conda = true
9491
conda.enabled = true
9592
conda.useMamba = true
9693
docker.enabled = false

0 commit comments

Comments
 (0)