forked from nf-core/chipseq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nf-core#14 from SciLifeLab/master
Use input channel for output docs rendering; Updated e-mail code
- Loading branch information
Showing
4 changed files
with
59 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,62 @@ | ||
To: $email | ||
Subject: $subject | ||
Mime-Version: 1.0 | ||
Content-Type: multipart/alternative;boundary="ngimethylseqmimeboundary" | ||
Content-Type: multipart/related;boundary="ngimimeboundary" | ||
|
||
--ngimethylseqmimeboundary | ||
Content-Type: text/plain; charset=utf-8 | ||
|
||
$email_txt | ||
|
||
--ngimethylseqmimeboundary | ||
--ngimimeboundary | ||
Content-Type: text/html; charset=utf-8 | ||
|
||
$email_html | ||
|
||
--ngimethylseqmimeboundary | ||
--ngimimeboundary | ||
Content-Type: image/png;name="NGI-ChIPseq_logo.png" | ||
Content-Transfer-Encoding: base64 | ||
Content-ID: <ngipipelinelogo> | ||
Content-ID: <ngichipseqlogo> | ||
Content-Disposition: inline; filename="NGI-ChIPseq_logo.png" | ||
|
||
<% out << new File("$baseDir/assets/NGI-ChIPseq_logo.png").bytes.encodeBase64().toString() %> | ||
|
||
--ngimethylseqmimeboundary | ||
<% out << new File("$baseDir/assets/NGI-ChIPseq_logo.png"). | ||
bytes. | ||
encodeBase64(). | ||
toString(). | ||
tokenize( '\n' )*. | ||
toList()*. | ||
collate( 76 )*. | ||
collect { it.join() }. | ||
flatten(). | ||
join( '\n' ) %> | ||
|
||
--ngimimeboundary | ||
Content-Type: image/png;name="SciLifeLab_logo.png" | ||
Content-Transfer-Encoding: base64 | ||
Content-ID: <scilifelablogo> | ||
Content-Disposition: inline; filename="SciLifeLab_logo.png" | ||
|
||
<% out << new File("$baseDir/assets/SciLifeLab_logo.png").bytes.encodeBase64().toString() %> | ||
|
||
--ngimethylseqmimeboundary | ||
<% out << new File("$baseDir/assets/SciLifeLab_logo.png"). | ||
bytes. | ||
encodeBase64(). | ||
toString(). | ||
tokenize( '\n' )*. | ||
toList()*. | ||
collate( 76 )*. | ||
collect { it.join() }. | ||
flatten(). | ||
join( '\n' ) %> | ||
|
||
--ngimimeboundary | ||
Content-Type: image/png;name="NGI_logo.png" | ||
Content-Transfer-Encoding: base64 | ||
Content-ID: <ngilogo> | ||
Content-Disposition: inline; filename="NGI_logo.png" | ||
|
||
<% out << new File("$baseDir/assets/NGI_logo.png").bytes.encodeBase64().toString() %> | ||
<% out << new File("$baseDir/assets/NGI_logo.png"). | ||
bytes. | ||
encodeBase64(). | ||
toString(). | ||
tokenize( '\n' )*. | ||
toList()*. | ||
collate( 76 )*. | ||
collect { it.join() }. | ||
flatten(). | ||
join( '\n' ) %> | ||
|
||
--ngimimeboundary-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters