Skip to content

Commit

Permalink
fix for #115
Browse files Browse the repository at this point in the history
  • Loading branch information
replikation authored May 17, 2021
1 parent efb0398 commit 821b5c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflows/basecalling.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ workflow basecalling_wf {
// nanopore sequencing summary
pycoqc(guppy_summary)

if (!params.single) { guppy_gpu.out.reads.ifEmpty{ log.info "\033[0;33 Could not retrieve reads for any barcode!\033[0m" } }
if (!params.single && !params.guppy_cpu) { guppy_gpu.out.reads.ifEmpty{ log.info "\033[0;33 Could not retrieve reads for any barcode!\033[0m" } }
if (!params.single && params.guppy_cpu) { guppy_cpu.out.reads.ifEmpty{ log.info "\033[0;33 Could not retrieve reads for any barcode!\033[0m" } }

// adjust channels to a clean val(name), path(reads) channel
if (params.single) { fastq_channel = guppy_basecalls }
Expand All @@ -34,4 +35,4 @@ workflow basecalling_wf {
emit:
fastq_channel
guppy_summary
}
}

0 comments on commit 821b5c5

Please sign in to comment.