diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf index 54874a63b081ce42dd56c09b2136ed61c56e533d..97f946247fdc4731b5e04d5b86329ac75992fab6 100644 --- a/workflow/rna-seq.nf +++ b/workflow/rna-seq.nf @@ -892,10 +892,9 @@ process checkMetadata { then pipelineError=true pipelineError_stranded=true - echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log if [ "${strandedMeta}" == "stranded" ] then - if [ "${strandedInfer}" == "forward"] || [ "${strandedInfer}" == "reverse" ] + if [ "${strandedInfer}" == "forward"] | [ "${strandedInfer}" == "reverse" ] then pipelineError=false pipelineError_stranded=false @@ -907,6 +906,7 @@ process checkMetadata { echo -e "LOG: stranded does not match: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log fi else + pipelineError=false pipelineError_stranded=false echo -e "LOG: stranded matches: Submitted=${strandedMeta}; Infered=${strandedInfer}" >> ${repRID}.checkMetadata.log fi