Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added text/html as content mime type for the report file #155

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
15 changes: 12 additions & 3 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
]
}
}
Loading