diff --git a/CHANGELOG.md b/CHANGELOG.md index 1feda591e54e241a26f75ad56dfa8d1195dd183b..a85a844ae1fbdc299eb175ab14449bf9e20d40e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ * Add test for DNAnexus env * Add test for AWS env * Fix fetch fastq count +* Fix failPreExecutionRun error collection *Known Bugs* * Override params (inputBag, fastq, species) aren't checked for integrity diff --git a/rna-seq.nf b/rna-seq.nf index 4df4c6ffc893a91c925c23b453fbda61a3430134..bc43ee5b272de00cdb4f5c7f0e5f7230c12fb33e 100644 --- a/rna-seq.nf +++ b/rna-seq.nf @@ -2715,19 +2715,19 @@ process failPreExecutionRun { errorDetails="" if [ ${fastqCountError} == true ] then - errorDetails=\$(echo ${fastqCountError_details}"\\n") + errorDetails=\$(echo "${fastqCountError_details}\\n") elif [ ${fastqReadError} == true ] then - errorDetails=\$(echo \${errorDetails}${fastqReadError_details}"\\n") + errorDetails=\$(echo "\${errorDetails}${fastqReadError_details}\\n") elif [ ${fastqFileError} == true ] then - errorDetails=\$(echo \${errorDetails}${fastqFileError_details}"\\n") + errorDetails=\$(echo "\${errorDetails}${fastqFileError_details}\\n") elif [ ${seqtypeError} == true ] then - errorDetails=\$(echo \${errorDetails}${seqtypeError_details}"\\n") + errorDetails=\$(echo "\${errorDetails}${seqtypeError_details}\\n") elif [ ${speciesError} == true ] then - errorDetails=\$(echo \${errorDetails}${speciesError_details}"\\n") + errorDetails=\$(echo "\${errorDetails}${speciesError_details}\\n") fi echo LOG: searching for workflow RID - BICF mRNA ${workflow.manifest.version} >> ${repRID}.failPreExecutionRun.log