diff --git a/CHANGELOG.md b/CHANGELOG.md index 749d7926..0ce92b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 2. Updated nf-core/template to 3.0.1 [#149](https://github.com/Plant-Food-Research-Open/assemblyqc/issues/149) 3. Updated `samtools faidx` to 1.21 4. Now using nf-test for pipeline level testing [#153](https://github.com/Plant-Food-Research-Open/assemblyqc/issues/153) +5. Added `text/html` as content mime type for the report file [#146](https://github.com/Plant-Food-Research-Open/assemblyqc/issues/146) ### `Fixed` diff --git a/conf/modules.config b/conf/modules.config index 24722302..817e6f0c 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -387,9 +387,18 @@ process { withName: '.*:ASSEMBLYQC:CREATEREPORT' { publishDir = [ - path: { "$params.outdir" }, - mode: params.publish_dir_mode, - saveAs: { filename -> filename.equals("versions.yml") ? null : filename } + [ + path: { "$params.outdir" }, + mode: params.publish_dir_mode, + pattern: 'report.json', + contentType: 'application/json' + ], + [ + path: { "$params.outdir" }, + mode: params.publish_dir_mode, + pattern: 'report.html', + contentType: 'text/html' + ] ] } }