Skip to content

Commit 158568f

Browse files
committed
Fix subject line
1 parent 75844f8 commit 158568f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.nf

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ workflow.onComplete {
149149
if (params.send_mail && params.user.email != null){
150150
sendMail{
151151
to "${params.user.email}"
152-
subject "[${params.service.name}] Job ${params.project} ${statusMessage}."
152+
subject "[${params.service.name}] Job ${params.project} ${statusMessage}"
153153
body "Dear ${params.user.name}, \n Your job has been ${statusMessage}.\n\n More details can be found at the following link: ${params.service.url}/index.html#!jobs/${params.project}"
154154
}
155155
}
@@ -174,7 +174,7 @@ workflow.onComplete {
174174
if (params.send_mail && params.user.email != null) {
175175
sendMail{
176176
to "${params.user.email}"
177-
subject "[${params.service.name}] Job ${params.project} is complete."
177+
subject "[${params.service.name}] Job ${params.project} is complete"
178178
body "Dear ${params.user.name}, \n Your imputation job has finished succesfully. The password for the imputation results is: ${params.encryption_password}\n\n You can download the results from the following link: ${params.service.url}/index.html#!jobs/${params.project}"
179179
}
180180
println "::message:: Data have been exported successfully. We have sent a notification email to <b>${params.user.email}</b>"
@@ -188,7 +188,7 @@ workflow.onComplete {
188188
if (params.send_mail && params.user.email != null) {
189189
sendMail{
190190
to "${params.user.email}"
191-
subject "[${params.service.name}] Job ${params.project} is complete."
191+
subject "[${params.service.name}] Job ${params.project} is complete"
192192
body "Dear ${params.user.name}, \n Your PGS job has finished successfully. \n\n You can download the results from the following link: ${params.service.url}/index.html#!jobs/${params.project}"
193193
}
194194
println "::message:: Data have been exported successfully. We have sent a notification email to <b>${params.user.email}</b>"

0 commit comments

Comments
 (0)