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

Fix pre error details format

parent 0a986962
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8838 passed with stages
in 2 minutes and 34 seconds
......@@ -360,15 +360,15 @@ process parseMetadata {
if [ "${fastqCount}" -gt "2" ]
then
fastqCountError=true
fastqCountError_details="Too many fastqs detected (>2)"
fastqCountError_details="**Too many fastqs detected (>2)**"
elif [ "\${endsMeta}" == "se" ] && [ "${fastqCount}" -ne "1" ]
then
fastqCountError=true
fastqCountError_details="Number of fastqs detected does not match submitted endness"
fastqCountError_details="**Number of fastqs detected does not match submitted endness**"
elif [ "\${endsMeta}" == "pe" ] && [ "${fastqCount}" -ne "2" ]
then
fastqCountError=true
fastqCountError_details="Number of fastqs detected does not match submitted endness"
fastqCountError_details="**Number of fastqs detected does not match submitted endness**"
fi
# check read counts match for fastqs
......@@ -381,7 +381,7 @@ process parseMetadata {
if [ "\${r1Count}" -ne "\${r2Count}" ]
then
fastqReadError=true
fastqReadError_details="Number of reads do not match for R1 or R2, there may be a trunkation or mismatch of fastq files"
fastqReadError_details="**Number of reads do not match for R1 and R2:** there may be a trunkation or mismatch of fastq files"
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