Skip to content
Snippets Groups Projects
Commit 8dd59f38 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Add rounding to numbers in multiqc table

parent 66da5252
Branches
Tags
2 merge requests!37v0.0.1,!36Metadata output update
Pipeline #7824 failed with stages
in 3 hours, 10 minutes, and 4 seconds
...@@ -74,6 +74,7 @@ custom_data: ...@@ -74,6 +74,7 @@ custom_data:
plot_type: 'table' plot_type: 'table'
pconfig: pconfig:
id: 'meta' id: 'meta'
format: '{:,.0f}'
headers: headers:
Source Source
Species Species
......
...@@ -239,7 +239,7 @@ process parseMetadata { ...@@ -239,7 +239,7 @@ process parseMetadata {
# get read length metadata # get read length metadata
readLength=\$(python3 ${script_parseMeta} -r ${repRID} -m "${experimentSettings}" -p readLength) readLength=\$(python3 ${script_parseMeta} -r ${repRID} -m "${experimentSettings}" -p readLength)
if [ "\${readLength}" == "nan"] if [ "\${readLength}" = "nan"]
then then
readLength="NA" readLength="NA"
fi fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment