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

Fix debug output for genomes

parent ed43083f
Branches
Tags
No related merge requests found
Pipeline #2343 failed with stage
......@@ -12,13 +12,17 @@ params.ref = params.genome ? params.genomes[ params.genome ].ref ?: false : fals
params.expectCells = 10000
params.forceCells = 0
println params.genome
println params.genomes[ params.genome ].ref
println params.ref
// Check inputs
if( params.ref ){
refLocation = Channel
.fromPath(params.ref)
.ifEmpty { exit 1, "referene not found: ${params.ref}" }
} else {
exit 1, "No reference genome specified. ${params.genome} ${params.ref} ${params.genomes[ ${params.genome} ].ref}"
exit 1, "No reference genome specified."
}
// Define List of Files
......
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