Skip to content

Commit 6620a29

Browse files
authored
Bump modules (#161)
* bump modules * update subwf, include nf-teams * fix errors
1 parent 75d9460 commit 6620a29

11 files changed

Lines changed: 22 additions & 188 deletions

File tree

assets/adaptivecard.json

Lines changed: 0 additions & 67 deletions
This file was deleted.

assets/slackreport.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

main.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ workflow {
6262
params.plaintext_email,
6363
params.outdir,
6464
params.monochrome_logs,
65-
params.hook_url,
6665
PREPROCESSING.out.multiqc_report,
6766
)
6867

modules.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
},
104104
"samtools/coverage": {
105105
"branch": "master",
106-
"git_sha": "b2e78932ef01165fd85829513eaca29eff8e640a",
106+
"git_sha": "440edf75d8782913115a7b72a88392a227f72cc1",
107107
"installed_by": ["modules"],
108108
"patch": "modules/nf-core/samtools/coverage/samtools-coverage.diff"
109109
},
@@ -170,7 +170,7 @@
170170
},
171171
"utils_nfcore_pipeline": {
172172
"branch": "master",
173-
"git_sha": "65f5e638d901a51534c68fd5c1c19e8112fb4df1",
173+
"git_sha": "f0b535b3ae20080f8db03dd5388876ad1ec29d70",
174174
"installed_by": ["subworkflows"]
175175
},
176176
"utils_nfschema_plugin": {

modules/nf-core/samtools/coverage/main.nf

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

modules/nf-core/samtools/coverage/tests/main.nf.test.snap

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

nextflow.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,23 @@ manifest {
269269
// Nextflow plugins
270270
plugins {
271271
id 'nf-schema@2.6.1'
272+
id 'nf-teams@0.1.0'
272273
}
273274

274275
validation {
275276
defaultIgnoreParams = ["genomes"]
276277
monochromeLogs = params.monochrome_logs
277278
}
278279

280+
// TODO remove this once minimal nf-version is 26.0X with strict syntax.
281+
teams {
282+
enabled = true
283+
webHook {
284+
url = params.hook_url ? params.hook_url : System.getenv('TEAMS_WEBHOOK_URL')
285+
}
286+
onComplete.enabled = true
287+
}
288+
279289
// Load modules.config for DSL2 module specific options
280290
includeConfig 'conf/modules.config'
281291

subworkflows/local/utils_nfcore_preprocessing_pipeline/main.nf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ include { samplesheetToList } from 'plugin/nf-schema'
1414
include { paramsHelp } from 'plugin/nf-schema'
1515
include { completionEmail } from '../../nf-core/utils_nfcore_pipeline'
1616
include { completionSummary } from '../../nf-core/utils_nfcore_pipeline'
17-
include { imNotification } from '../../nf-core/utils_nfcore_pipeline'
1817
include { UTILS_NFCORE_PIPELINE } from '../../nf-core/utils_nfcore_pipeline'
1918
include { UTILS_NEXTFLOW_PIPELINE } from '../../nf-core/utils_nextflow_pipeline'
2019

@@ -99,7 +98,6 @@ workflow PIPELINE_COMPLETION {
9998
plaintext_email // boolean: Send plain-text email instead of HTML
10099
outdir // path: Path to output directory where results will be published
101100
monochrome_logs // boolean: Disable ANSI colour codes in log output
102-
hook_url // string: hook URL for notifications
103101
multiqc_report // string: Path to MultiQC report
104102

105103
main:
@@ -123,9 +121,6 @@ workflow PIPELINE_COMPLETION {
123121
}
124122

125123
completionSummary(monochrome_logs)
126-
if (hook_url) {
127-
imNotification(summary_params, hook_url)
128-
}
129124
}
130125

131126
workflow.onError {

subworkflows/nf-core/utils_nfcore_pipeline/main.nf

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

subworkflows/nf-core/utils_nfcore_pipeline/tests/main.workflow.nf.test renamed to subworkflows/nf-core/utils_nfcore_pipeline/tests/main.nf.test

File renamed without changes.

0 commit comments

Comments
 (0)