Skip to content

Commit

Permalink
Update to add default to flag
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Nov 15, 2024
1 parent 10f0508 commit 382f7f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ params {
input = null
outdir = "./results"
juicer = false
steps = ""
steps = "NONE"
tracedir = "${params.outdir}/pipeline_info"
publish_dir_mode = 'copy'
email = null
Expand Down
4 changes: 2 additions & 2 deletions workflows/treeval.nf
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ workflow TREEVAL {
//
ch_versions = Channel.empty()

exclude_workflow_steps = params.steps ? params.steps.split(",") : ""
exclude_workflow_steps = params.steps ? params.steps.split(",") : "NONE"

full_list = ["insilico_digest", "gene_alignments", "repeat_density", "gap_finder", "selfcomp", "synteny", "read_coverage", "telo_finder", "busco", "kmer", "hic_mapping", ""]
full_list = ["insilico_digest", "gene_alignments", "repeat_density", "gap_finder", "selfcomp", "synteny", "read_coverage", "telo_finder", "busco", "kmer", "hic_mapping", "NONE"]

if (!full_list.containsAll(exclude_workflow_steps)) {
exit 1, "There is an extra argument given on Command Line: \n Check contents of --exclude: $exclude_workflow_steps\nMaster list is: $full_list"
Expand Down

0 comments on commit 382f7f4

Please sign in to comment.