Skip to content

Commit

Permalink
Don't require index template file if in count_only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmero committed May 31, 2024
1 parent 48e8f8b commit c5e5eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (params.use_db) {
workflow {

// check that index template file is valid if not using db
if (!params.use_db) {
if (!params.use_db && !params.count_only) {
new File(params.index_template_file).readLines().each { line ->
if (line.split(",").size() < 3) {
error("""
Expand Down

0 comments on commit c5e5eb4

Please sign in to comment.