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

Fix when's

parent 0b1a56ba
Branches
Tags
2 merge requests!76Develop,!71Seqwho
Pipeline #9461 passed with stages
in 4 hours, 20 minutes, and 46 seconds
...@@ -303,7 +303,7 @@ if (fastqsForce != "") { ...@@ -303,7 +303,7 @@ if (fastqsForce != "") {
} }
Channel Channel
.fromPath(fastqsForce) .fromPath(fastqsForce)
.count().into { .count().set {
fastqCount fastqCount
} }
} else { } else {
...@@ -313,7 +313,7 @@ if (fastqsForce != "") { ...@@ -313,7 +313,7 @@ if (fastqsForce != "") {
fastqs_parseMetadata fastqs_parseMetadata
fastqs_fastqc fastqs_fastqc
} }
fastqCountTemp.into { fastqCountTemp.set {
fastqCount fastqCount
} }
} }
...@@ -1697,12 +1697,9 @@ checkMetadata_fl.splitCsv(sep: ",", header: false).separate( ...@@ -1697,12 +1697,9 @@ checkMetadata_fl.splitCsv(sep: ",", header: false).separate(
pipelineError_species pipelineError_species
) )
pipelineError.into { pipelineError.into {
pipelineError_getRef
pipelineError_alignData
pipelineError_dedupData pipelineError_dedupData
pipelineError_makeBigWig pipelineError_makeBigWig
pipelineError_countData pipelineError_countData
pipelineError_fastqc
pipelineError_dataQC pipelineError_dataQC
pipelineError_aggrQC pipelineError_aggrQC
pipelineError_uploadQC pipelineError_uploadQC
...@@ -2283,7 +2280,8 @@ process uploadExecutionRun { ...@@ -2283,7 +2280,8 @@ process uploadExecutionRun {
path ("executionRunRID.csv") into executionRunRID_fl path ("executionRunRID.csv") into executionRunRID_fl
when: when:
upload && fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false" upload
fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false"
script: script:
""" """
...@@ -2393,7 +2391,8 @@ process uploadQC { ...@@ -2393,7 +2391,8 @@ process uploadQC {
path ("qcRID.csv") into qcRID_fl path ("qcRID.csv") into qcRID_fl
when: when:
upload && fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false" upload
fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false"
script: script:
""" """
...@@ -2468,7 +2467,8 @@ process uploadProcessedFile { ...@@ -2468,7 +2467,8 @@ process uploadProcessedFile {
path ("${repRID}_Output_Bag.zip") into outputBag path ("${repRID}_Output_Bag.zip") into outputBag
when: when:
upload && fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false" upload
fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false"
script: script:
""" """
...@@ -2566,7 +2566,8 @@ process uploadOutputBag { ...@@ -2566,7 +2566,8 @@ process uploadOutputBag {
path ("outputBagRID.csv") into outputBagRID_fl path ("outputBagRID.csv") into outputBagRID_fl
when: when:
upload && fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false" upload
fastqCountError == "false" && fastqReadError == "false" && fastqFileError == "false" && seqtypeError == "false" && speciesErrorSeqwho == "false" && speciesError == "false" && pipelineError == "false"
script: script:
""" """
...@@ -2702,7 +2703,8 @@ process failPreExecutionRun { ...@@ -2702,7 +2703,8 @@ process failPreExecutionRun {
path ("executionRunRID.csv") into executionRunRID_preFail_fl path ("executionRunRID.csv") into executionRunRID_preFail_fl
when: when:
upload && fastqCountError == "true" || fastqReadError == "true" || fastqFileError == "true" || seqtypeError == "true" || speciesError == "true" upload
fastqCountError == "true" || fastqReadError == "true" || fastqFileError == "true" || seqtypeError == "true" || speciesError == "true"
script: script:
""" """
...@@ -2817,7 +2819,8 @@ process failExecutionRun { ...@@ -2817,7 +2819,8 @@ process failExecutionRun {
val pipelineError_species val pipelineError_species
when: when:
upload && pipelineError == 'true' upload
pipelineError == "true"
script: script:
""" """
...@@ -2899,7 +2902,7 @@ process uploadQC_fail { ...@@ -2899,7 +2902,7 @@ process uploadQC_fail {
when: when:
upload upload
fastqCountError == "true" || fastqReadError == "true" || fastqFileError == "true" || seqtypeError == "true" || speciesErrorSeqwho == "true" || speciesError == "true" || pipelineError == 'true' fastqCountError == "true" || fastqReadError == "true" || fastqFileError == "true" || seqtypeError == "true" || speciesErrorSeqwho == "true" || speciesError == "true" || pipelineError == "true"
script: script:
""" """
......
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