Skip to content

Commit 3e4c213

Browse files
authored
Merge pull request #872 from d4straub/strict-nextflow
Update to nextflow strict syntax
2 parents 9598f1b + 4bc9ba7 commit 3e4c213

File tree

99 files changed

+271
-514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+271
-514
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121

2222
### `Fixed`
2323

24-
- [#876](https://github.com/nf-core/ampliseq/pull/876) Pulled the updated vsearch/clusters module from nf-core to fix a bug where a wildcard expansion trigging an arguments-too-long error.
24+
- [#872](https://github.com/nf-core/ampliseq/pull/872) - Follow nextflow's strict syntax
25+
- [#876](https://github.com/nf-core/ampliseq/pull/876) - Pulled the updated vsearch/clusters module from nf-core to fix a bug where a wildcard expansion trigging an arguments-too-long error.
2526

2627
### `Dependencies`
2728

modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
"vsearch/usearchglobal": {
101101
"branch": "master",
102-
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
102+
"git_sha": "087a2003d9709be9cd580b432a799805777794be",
103103
"installed_by": ["modules"]
104104
}
105105
}

modules/local/assignsh.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ process ASSIGNSH {
1717
path outtable , emit: tsv
1818
path "versions.yml" , emit: versions
1919

20-
when:
21-
task.ext.when == null || task.ext.when
2220

2321
script:
2422
def args = task.ext.args ?: ''

modules/local/barrnap.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ process BARRNAP {
1515
path( "rrna.*.gff" ) , emit: gff
1616
path "versions.yml" , emit: versions
1717

18-
when:
19-
task.ext.when == null || task.ext.when
2018

2119
script:
2220
def args = task.ext.args ?: ''

modules/local/barrnapsummary.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ process BARRNAPSUMMARY {
1414
path "*warning.txt", emit: warning
1515
path "versions.yml", emit: versions
1616

17-
when:
18-
task.ext.when == null || task.ext.when
1917

2018
script:
2119
def args = task.ext.args ?: ''

modules/local/combine_table.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ process COMBINE_TABLE {
1616
path("${outfile}") , emit: tsv
1717
path "versions.yml" , emit: versions
1818

19-
when:
20-
task.ext.when == null || task.ext.when
2119

2220
script:
2321
"""

modules/local/cutadapt_summary.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ process CUTADAPT_SUMMARY {
1515
path("*_summary.tsv") , emit: tsv
1616
path "versions.yml" , emit: versions
1717

18-
when:
19-
task.ext.when == null || task.ext.when
2018

2119
script:
2220
def mode = meta.single_end ? "single_end" : "paired_end"

modules/local/cutadapt_summary_merge.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ process CUTADAPT_SUMMARY_MERGE {
1515
path("cutadapt_summary.tsv") , emit: tsv
1616
path "versions.yml", optional:true, emit: versions
1717

18-
when:
19-
task.ext.when == null || task.ext.when
2018

2119
script:
2220
if (action == "merge") {

modules/local/dada2_addspecies.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ process DADA2_ADDSPECIES {
1818
path "versions.yml" , emit: versions
1919
path "*.args.txt" , emit: args
2020

21-
when:
22-
task.ext.when == null || task.ext.when
2321

2422
script:
2523
def args = task.ext.args ?: ''

modules/local/dada2_denoising.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ process DADA2_DENOISING {
1919
path "versions.yml" , emit: versions
2020
path "*.args.txt" , emit: args
2121

22-
when:
23-
task.ext.when == null || task.ext.when
2422

2523
script:
2624
def prefix = task.ext.prefix ?: "prefix"

0 commit comments

Comments
 (0)